2012-05-02 12:49:31 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2011-04-27 10:05:43 +00:00
|
|
|
<TestCase name="tst_Cmptest">
|
2021-11-29 09:47:55 +00:00
|
|
|
<Environment>
|
2011-04-27 10:05:43 +00:00
|
|
|
<QtVersion>@INSERT_QT_VERSION_HERE@</QtVersion>
|
Use new QLibraryInfo::build() in testlib to log build information.
This produces:
********* Start testing of tst_QtJson *********
Config: Using QtTest library 5.3.0, Qt 5.3.0 (Feb 13 2014, GCC 4.6.3, 64 bit, debug build)
PASS : tst_QtJson::initTestCase()
<?xml version="1.0" encoding="UTF-8"?>
<TestCase name="tst_QtJson">
<Environment>
<QtVersion>5.3.0</QtVersion>
<QtBuild>Qt 5.3.0 (Feb 13 2014, GCC 4.6.3, 64 bit, debug build)</QtBuild>
<QTestVersion>5.3.0</QTestVersion>
</Environment>
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite errors="1" failures="1" tests="42" name="tst_QtJson">
<properties>
<property value="5.3.0" name="QTestVersion"/>
<property value="5.3.0" name="QtVersion"/>
<property value="Qt 5.3.0 (Feb 13 2014, GCC 4.6.3, 64 bit, debug build)" name="QtBuild"/>
</properties>
<Environment>
<QtVersion>5.3.0</QtVersion>
<QtBuild>Qt 5.3.0 (Feb 13 2014, GCC 4.6.3, 64 bit, debug build)</QtBuild>
<QTestVersion>5.3.0</QTestVersion>
</Environment>
[ChangeLog][QtTest] Tests now output build information.
Change-Id: I0ab473371575f2b807db725256805b8bffea3454
Reviewed-by: Sergio Ahumada <sahumada@blackberry.com>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
2014-02-26 16:12:45 +00:00
|
|
|
<QtBuild/>
|
2011-04-27 10:05:43 +00:00
|
|
|
<QTestVersion>@INSERT_QT_VERSION_HERE@</QTestVersion>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Environment>
|
|
|
|
<TestFunction name="initTestCase">
|
|
|
|
<Incident type="pass" file="" line="0" />
|
2015-06-08 10:21:30 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="compare_unregistered_enums">
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<Description><![CDATA[Compared values are not the same
|
2020-12-15 12:18:39 +00:00
|
|
|
Actual (MyUnregisteredEnumValue1): 0
|
|
|
|
Expected (MyUnregisteredEnumValue2): 1]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
2015-06-08 10:21:30 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="compare_registered_enums">
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<Description><![CDATA[Compared values are not the same
|
2015-12-02 01:44:34 +00:00
|
|
|
Actual (Qt::Monday): Monday
|
|
|
|
Expected (Qt::Sunday): Sunday]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
2015-06-08 10:21:30 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="compare_class_enums">
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<Description><![CDATA[Compared values are not the same
|
2015-11-01 15:41:25 +00:00
|
|
|
Actual (MyClassEnum::MyClassEnumValue1): MyClassEnumValue1
|
|
|
|
Expected (MyClassEnum::MyClassEnumValue2): MyClassEnumValue2]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
2015-11-01 15:41:25 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="test_windowflags">
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[pass]]></DataTag>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[fail1]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared values are not the same
|
2018-01-18 16:10:03 +00:00
|
|
|
Actual (actualWindowFlags) : Window|WindowSystemMenuHint|WindowStaysOnBottomHint
|
|
|
|
Expected (expectedWindowFlags): Window|FramelessWindowHint|WindowSystemMenuHint|WindowStaysOnBottomHint]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[fail2]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared values are not the same
|
2018-01-18 16:10:03 +00:00
|
|
|
Actual (actualWindowFlags) : Window
|
|
|
|
Expected (expectedWindowFlags): Window|FramelessWindowHint]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
2018-01-18 16:10:03 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="test_unregistered_flags">
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[pass]]></DataTag>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[fail1]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared values are not the same
|
2018-01-18 16:10:03 +00:00
|
|
|
Actual (actualFlags) : 0x3
|
|
|
|
Expected (expectedFlags): 0x5]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[fail2]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared values are not the same
|
2018-01-18 16:10:03 +00:00
|
|
|
Actual (actualFlags) : 0x1
|
|
|
|
Expected (expectedFlags): 0x5]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
2018-01-18 16:10:03 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="compare_boolfuncs">
|
|
|
|
<Incident type="pass" file="" line="0" />
|
2015-06-08 10:21:30 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="compare_to_nullptr">
|
|
|
|
<Incident type="pass" file="" line="0" />
|
2016-02-22 19:29:32 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="compare_pointerfuncs">
|
|
|
|
<Incident type="pass" file="" line="0" />
|
2015-06-08 10:21:30 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="compare_tostring">
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[int, string]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared values are not the same
|
2013-07-01 22:58:40 +00:00
|
|
|
Actual (actual) : QVariant(int,123)
|
2011-04-27 10:05:43 +00:00
|
|
|
Expected (expected): QVariant(QString,hi)]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[both invalid]]></DataTag>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[null hash, invalid]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared values are not the same
|
2013-07-01 22:58:40 +00:00
|
|
|
Actual (actual) : QVariant(QVariantHash)
|
2011-04-27 10:05:43 +00:00
|
|
|
Expected (expected): QVariant()]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[string, null user type]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared values are not the same
|
2013-07-01 22:58:40 +00:00
|
|
|
Actual (actual) : QVariant(QString,A simple string)
|
2011-04-27 10:05:43 +00:00
|
|
|
Expected (expected): QVariant(PhonyClass)]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[both non-null user type]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared values are not the same
|
2013-07-01 22:58:40 +00:00
|
|
|
Actual (actual) : QVariant(PhonyClass,<value not representable as string>)
|
2011-04-27 10:05:43 +00:00
|
|
|
Expected (expected): QVariant(PhonyClass,<value not representable as string>)]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
2015-06-08 10:21:30 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
2022-07-09 14:12:40 +00:00
|
|
|
<TestFunction name="compare_unknown">
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<Description><![CDATA[Compared values are not the same
|
|
|
|
Actual : a
|
|
|
|
Expected : b]]></Description>
|
|
|
|
</Incident>
|
|
|
|
<Duration msecs="0"/>
|
|
|
|
</TestFunction>
|
2022-07-09 15:01:38 +00:00
|
|
|
<TestFunction name="compare_textFromDebug">
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<Description><![CDATA[Compared values are not the same
|
|
|
|
Actual (a): QDebug stream: 0
|
|
|
|
Expected (b): QDebug stream: 1]]></Description>
|
|
|
|
</Incident>
|
|
|
|
<Duration msecs="0"/>
|
|
|
|
</TestFunction>
|
2021-11-29 09:47:55 +00:00
|
|
|
<TestFunction name="compareQObjects">
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<Description><![CDATA[Compared QObject pointers are not the same
|
2021-05-19 08:25:45 +00:00
|
|
|
Actual (&object1): QObject/"object1"
|
|
|
|
Expected (&object2): QObject/"object2"]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
2021-05-19 08:25:45 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="compareQStringLists">
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[empty lists]]></DataTag>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[equal lists]]></DataTag>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[last item different]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared lists differ at index 2.
|
2014-01-21 00:03:30 +00:00
|
|
|
Actual (opA): "string3"
|
|
|
|
Expected (opB): "DIFFERS"]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[second-last item different]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared lists differ at index 2.
|
2014-01-21 00:03:30 +00:00
|
|
|
Actual (opA): "string3"
|
|
|
|
Expected (opB): "DIFFERS"]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[prefix]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared lists have different sizes.
|
2014-01-21 00:03:30 +00:00
|
|
|
Actual (opA) size: 2
|
|
|
|
Expected (opB) size: 1]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[short list second]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared lists have different sizes.
|
2014-01-21 00:03:30 +00:00
|
|
|
Actual (opA) size: 12
|
|
|
|
Expected (opB) size: 1]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[short list first]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared lists have different sizes.
|
2014-01-21 00:03:30 +00:00
|
|
|
Actual (opA) size: 1
|
|
|
|
Expected (opB) size: 12]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
2015-06-08 10:21:30 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="compareQListInt">
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[match]]></DataTag>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[size mismatch]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared lists have different sizes.
|
2020-07-10 09:41:33 +00:00
|
|
|
Actual (actual) size: 2
|
|
|
|
Expected (expected) size: 3]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[value mismatch]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared lists differ at index 2.
|
2020-07-10 09:41:33 +00:00
|
|
|
Actual (actual): 4
|
|
|
|
Expected (expected): 3]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
2020-07-10 09:41:33 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="compareQListIntToArray">
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[match]]></DataTag>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[size mismatch]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared lists have different sizes.
|
2020-07-10 09:41:33 +00:00
|
|
|
Actual (actual) size: 2
|
|
|
|
Expected (expected) size: 3]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[value mismatch]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared lists differ at index 2.
|
2020-07-10 09:41:33 +00:00
|
|
|
Actual (actual): 4
|
|
|
|
Expected (expected): 3]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
2020-07-10 09:41:33 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="compareQListIntToInitializerList">
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[match]]></DataTag>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[size mismatch]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared lists have different sizes.
|
2020-07-10 09:41:33 +00:00
|
|
|
Actual (actual) size: 2
|
|
|
|
Expected (ARG({1, 2, 3})) size: 3]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[value mismatch]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared lists differ at index 2.
|
2020-07-10 09:41:33 +00:00
|
|
|
Actual (actual): 4
|
|
|
|
Expected (ARG({1, 2, 3})): 3]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
2015-06-08 10:21:30 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="compareQListDouble">
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<Description><![CDATA[Compared lists differ at index 0.
|
2014-01-21 00:03:30 +00:00
|
|
|
Actual (double1): 1.5
|
|
|
|
Expected (double2): 1]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
2015-06-08 10:21:30 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="compareQColor">
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[Qt::yellow vs "yellow"]]></DataTag>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[Qt::yellow vs Qt::green]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared values are not the same
|
2017-10-03 08:10:46 +00:00
|
|
|
Actual (colorA): #ffffff00
|
|
|
|
Expected (colorB): #ff00ff00]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[0x88ff0000 vs 0xffff0000]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared values are not the same
|
2017-10-03 08:10:46 +00:00
|
|
|
Actual (colorA): #88ff0000
|
|
|
|
Expected (colorB): #ffff0000]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
2016-03-17 09:01:55 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="compareQPixmaps">
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[both null]]></DataTag>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[one null]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared QPixmaps differ.
|
2012-03-08 01:30:10 +00:00
|
|
|
Actual (opA).isNull(): 1
|
2011-12-19 10:33:07 +00:00
|
|
|
Expected (opB).isNull(): 0]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[other null]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared QPixmaps differ.
|
2012-03-08 01:30:10 +00:00
|
|
|
Actual (opA).isNull(): 0
|
2011-12-19 10:33:07 +00:00
|
|
|
Expected (opB).isNull(): 1]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[equal]]></DataTag>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[different size]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared QPixmaps differ in size.
|
2012-03-08 01:30:10 +00:00
|
|
|
Actual (opA): 11x20
|
2011-12-19 10:33:07 +00:00
|
|
|
Expected (opB): 20x20]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[different pixels]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared values are not the same]]></Description>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[different dpr]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared QPixmaps differ in device pixel ratio.
|
2019-05-29 11:18:14 +00:00
|
|
|
Actual (opA): 1
|
|
|
|
Expected (opB): 2]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
2015-06-08 10:21:30 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="compareQImages">
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[both null]]></DataTag>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[one null]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared QImages differ.
|
2012-03-08 01:30:10 +00:00
|
|
|
Actual (opA).isNull(): 1
|
2011-12-19 10:33:07 +00:00
|
|
|
Expected (opB).isNull(): 0]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[other null]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared QImages differ.
|
2012-03-08 01:30:10 +00:00
|
|
|
Actual (opA).isNull(): 0
|
2011-12-19 10:33:07 +00:00
|
|
|
Expected (opB).isNull(): 1]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[equal]]></DataTag>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[different size]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared QImages differ in size.
|
2012-03-08 01:30:10 +00:00
|
|
|
Actual (opA): 11x20
|
2011-12-19 10:33:07 +00:00
|
|
|
Expected (opB): 20x20]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[different format]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared QImages differ in format.
|
2012-03-08 01:30:10 +00:00
|
|
|
Actual (opA): 6
|
2011-12-19 10:33:07 +00:00
|
|
|
Expected (opB): 3]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[different pixels]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared values are not the same]]></Description>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[different dpr]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared QImages differ in device pixel ratio.
|
2019-05-29 11:18:14 +00:00
|
|
|
Actual (opA): 1
|
|
|
|
Expected (opB): 2]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
2015-06-08 10:21:30 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="compareQRegion">
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[equal-empty]]></DataTag>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[1-empty]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared values are not the same
|
2016-07-05 07:41:15 +00:00
|
|
|
Actual (rA): QRegion(200x50+10+10)
|
|
|
|
Expected (rB): QRegion(null)]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[equal]]></DataTag>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[different lists]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared values are not the same
|
2016-07-05 07:41:15 +00:00
|
|
|
Actual (rA): QRegion(200x50+10+10)
|
|
|
|
Expected (rB): QRegion(2 rectangles, 50x200+100+200, 200x50+10+10)]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
2016-07-05 07:41:15 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="compareQVector2D">
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<Description><![CDATA[Compared values are not the same
|
2017-07-31 12:57:02 +00:00
|
|
|
Actual (v2a): QVector2D(1, 2)
|
|
|
|
Expected (v2b): QVector2D(1, 3)]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
2017-07-31 12:57:02 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="compareQVector3D">
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<Description><![CDATA[Compared values are not the same
|
2017-07-31 12:57:02 +00:00
|
|
|
Actual (v3a): QVector3D(1, 2, 3)
|
|
|
|
Expected (v3b): QVector3D(1, 3, 3)]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
2017-07-31 12:57:02 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="compareQVector4D">
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<Description><![CDATA[Compared values are not the same
|
2017-07-31 12:57:02 +00:00
|
|
|
Actual (v4a): QVector4D(1, 2, 3, 4)
|
|
|
|
Expected (v4b): QVector4D(1, 3, 3, 4)]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
2017-07-31 12:57:02 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
2022-07-11 14:51:26 +00:00
|
|
|
<TestFunction name="tryCompare">
|
|
|
|
<Message type="qinfo" file="" line="0">
|
|
|
|
<Description><![CDATA[Should now time out and fail]]></Description>
|
|
|
|
</Message>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<Description><![CDATA[Compared values are not the same
|
|
|
|
Actual (c) : DeferredFlag(true)
|
|
|
|
Expected (DeferredFlag()): DeferredFlag(false)]]></Description>
|
|
|
|
</Incident>
|
|
|
|
<Duration msecs="0"/>
|
|
|
|
</TestFunction>
|
2021-11-29 09:47:55 +00:00
|
|
|
<TestFunction name="verify">
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
|
|
|
<Description><![CDATA['opaqueFunc() < 2' returned FALSE. ()]]></Description>
|
|
|
|
</Incident>
|
2015-07-21 08:55:17 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="verify2">
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
2022-08-01 15:10:44 +00:00
|
|
|
<Description><![CDATA['opaqueFunc() < 2' returned FALSE. (42 >= 2 (as expected, in fact))]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
2015-07-21 08:55:17 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="tryVerify">
|
2022-07-11 14:51:26 +00:00
|
|
|
<Message type="qinfo" file="" line="0">
|
|
|
|
<Description><![CDATA[Should now time out and fail]]></Description>
|
|
|
|
</Message>
|
2021-11-29 09:47:55 +00:00
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
2022-07-11 14:51:26 +00:00
|
|
|
<Description><![CDATA['!c' returned FALSE. ()]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
2015-07-21 08:55:17 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="tryVerify2">
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp" line="0">
|
2022-07-11 14:51:26 +00:00
|
|
|
<Description><![CDATA['!c' returned FALSE. (Should time out and fail)]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Incident>
|
2015-07-21 08:55:17 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="verifyExplicitOperatorBool">
|
|
|
|
<Incident type="pass" file="" line="0" />
|
2016-05-03 21:04:28 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="cleanupTestCase">
|
|
|
|
<Incident type="pass" file="" line="0" />
|
2015-06-08 10:21:30 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<Duration msecs="0"/>
|
2011-04-27 10:05:43 +00:00
|
|
|
</TestCase>
|