2011-04-27 10:05:43 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2015-07-21 08:55:17 +00:00
|
|
|
<testsuite errors="0" failures="26" tests="16" name="tst_Cmptest">
|
2011-04-27 10:05:43 +00:00
|
|
|
<properties>
|
|
|
|
<property value="@INSERT_QT_VERSION_HERE@" name="QTestVersion"/>
|
|
|
|
<property value="@INSERT_QT_VERSION_HERE@" name="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
|
|
|
<property value="" name="QtBuild"/>
|
2011-04-27 10:05:43 +00:00
|
|
|
</properties>
|
|
|
|
<testcase result="pass" name="initTestCase"/>
|
2015-06-08 10:21:30 +00:00
|
|
|
<testcase result="fail" name="compare_unregistered_enums">
|
|
|
|
<failure message="Compared values are not the same" result="fail"/>
|
|
|
|
</testcase>
|
|
|
|
<testcase result="fail" name="compare_registered_enums">
|
|
|
|
<failure message="Compared values are not the same
|
|
|
|
Actual (Qt::ArrowCursor): ArrowCursor
|
|
|
|
Expected (Qt::BusyCursor) : BusyCursor" result="fail"/>
|
|
|
|
</testcase>
|
2011-04-27 10:05:43 +00:00
|
|
|
<testcase result="pass" name="compare_boolfuncs"/>
|
|
|
|
<testcase result="pass" name="compare_pointerfuncs"/>
|
|
|
|
<testcase result="fail" name="compare_tostring">
|
|
|
|
<failure tag="int, string" message="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)" result="fail"/>
|
|
|
|
<failure tag="null hash, invalid" message="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()" result="fail"/>
|
|
|
|
<failure tag="string, null user type" message="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)" result="fail"/>
|
|
|
|
<failure tag="both non-null user type" message="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>)" result="fail"/>
|
|
|
|
</testcase>
|
2011-12-13 07:26:36 +00:00
|
|
|
<testcase result="fail" name="compareQStringLists">
|
2013-01-19 10:52:03 +00:00
|
|
|
<failure tag="last item different" message="Compared lists differ at index 2.
|
2014-01-21 00:03:30 +00:00
|
|
|
Actual (opA): "string3"
|
|
|
|
Expected (opB): "DIFFERS"" result="fail"/>
|
2013-01-19 10:52:03 +00:00
|
|
|
<failure tag="second-last item different" message="Compared lists differ at index 2.
|
2014-01-21 00:03:30 +00:00
|
|
|
Actual (opA): "string3"
|
|
|
|
Expected (opB): "DIFFERS"" result="fail"/>
|
2013-01-19 10:52:03 +00:00
|
|
|
<failure tag="prefix" message="Compared lists have different sizes.
|
2014-01-21 00:03:30 +00:00
|
|
|
Actual (opA) size: 2
|
|
|
|
Expected (opB) size: 1" result="fail"/>
|
2013-01-19 10:52:03 +00:00
|
|
|
<failure tag="short list second" message="Compared lists have different sizes.
|
2014-01-21 00:03:30 +00:00
|
|
|
Actual (opA) size: 12
|
|
|
|
Expected (opB) size: 1" result="fail"/>
|
2013-01-19 10:52:03 +00:00
|
|
|
<failure tag="short list first" message="Compared lists have different sizes.
|
2014-01-21 00:03:30 +00:00
|
|
|
Actual (opA) size: 1
|
|
|
|
Expected (opB) size: 12" result="fail"/>
|
2011-12-13 07:26:36 +00:00
|
|
|
</testcase>
|
2013-01-19 10:52:03 +00:00
|
|
|
<testcase result="fail" name="compareQListInt">
|
|
|
|
<failure message="Compared lists differ at index 2.
|
2014-01-21 00:03:30 +00:00
|
|
|
Actual (int1): 3
|
|
|
|
Expected (int2): 4" result="fail"/>
|
2013-01-19 10:52:03 +00:00
|
|
|
</testcase>
|
|
|
|
<testcase result="fail" name="compareQListDouble">
|
|
|
|
<failure message="Compared lists differ at index 0.
|
2014-01-21 00:03:30 +00:00
|
|
|
Actual (double1): 1.5
|
|
|
|
Expected (double2): 1" result="fail"/>
|
2013-01-19 10:52:03 +00:00
|
|
|
</testcase>
|
2011-12-19 10:33:07 +00:00
|
|
|
<testcase result="fail" name="compareQPixmaps">
|
|
|
|
<failure tag="one null" message="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" result="fail"/>
|
|
|
|
<failure tag="other null" message="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" result="fail"/>
|
|
|
|
<failure tag="different size" message="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" result="fail"/>
|
|
|
|
<failure tag="different pixels" message="Compared values are not the same" result="fail"/>
|
|
|
|
</testcase>
|
|
|
|
<testcase result="fail" name="compareQImages">
|
|
|
|
<failure tag="one null" message="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" result="fail"/>
|
|
|
|
<failure tag="other null" message="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" result="fail"/>
|
|
|
|
<failure tag="different size" message="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" result="fail"/>
|
|
|
|
<failure tag="different format" message="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" result="fail"/>
|
|
|
|
<failure tag="different pixels" message="Compared values are not the same" result="fail"/>
|
|
|
|
</testcase>
|
2015-07-21 08:55:17 +00:00
|
|
|
<testcase result="fail" name="verify">
|
|
|
|
<failure message="'opaqueFunc() < 2' returned FALSE. ()" result="fail"/>
|
|
|
|
</testcase>
|
|
|
|
<testcase result="fail" name="verify2">
|
|
|
|
<failure message="'opaqueFunc() < 2' returned FALSE. (42)" result="fail"/>
|
|
|
|
</testcase>
|
|
|
|
<testcase result="fail" name="tryVerify">
|
|
|
|
<failure message="'opaqueFunc() < 2' returned FALSE. ()" result="fail"/>
|
|
|
|
</testcase>
|
|
|
|
<testcase result="fail" name="tryVerify2">
|
|
|
|
<failure message="'opaqueFunc() < 2' returned FALSE. (42)" result="fail"/>
|
|
|
|
</testcase>
|
2011-04-27 10:05:43 +00:00
|
|
|
<testcase result="pass" name="cleanupTestCase"/>
|
|
|
|
<system-err/>
|
|
|
|
</testsuite>
|