2011-04-27 10:05:43 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2011-09-20 01:56:31 +00:00
|
|
|
<testsuite errors="31" failures="2" tests="5" name="tst_Subtest">
|
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>
|
2011-09-20 01:56:31 +00:00
|
|
|
<testcase result="pass" name="initTestCase">
|
2013-10-16 13:59:27 +00:00
|
|
|
<!-- message="initTestCase initTestCase (null)" type="qdebug" -->
|
2011-09-20 01:56:31 +00:00
|
|
|
</testcase>
|
|
|
|
<testcase result="pass" name="test1">
|
2013-10-16 13:59:27 +00:00
|
|
|
<!-- message="init test1 (null)" type="qdebug" -->
|
|
|
|
<!-- message="test1 test1 (null)" type="qdebug" -->
|
|
|
|
<!-- message="cleanup test1 (null)" type="qdebug" -->
|
2011-09-20 01:56:31 +00:00
|
|
|
</testcase>
|
|
|
|
<testcase result="pass" name="test2">
|
2013-10-16 13:59:27 +00:00
|
|
|
<!-- message="test2_data test2 (null)" type="qdebug" -->
|
|
|
|
<!-- message="test2_data end" type="qdebug" -->
|
|
|
|
<!-- tag="data0" message="init test2 data0" type="qdebug" -->
|
|
|
|
<!-- tag="data0" message="test2 test2 data0" type="qdebug" -->
|
|
|
|
<!-- tag="data0" message="test2 end" type="qdebug" -->
|
|
|
|
<!-- tag="data0" message="cleanup test2 data0" type="qdebug" -->
|
|
|
|
<!-- tag="data1" message="init test2 data1" type="qdebug" -->
|
|
|
|
<!-- tag="data1" message="test2 test2 data1" type="qdebug" -->
|
|
|
|
<!-- tag="data1" message="test2 end" type="qdebug" -->
|
|
|
|
<!-- tag="data1" message="cleanup test2 data1" type="qdebug" -->
|
|
|
|
<!-- tag="data2" message="init test2 data2" type="qdebug" -->
|
|
|
|
<!-- tag="data2" message="test2 test2 data2" type="qdebug" -->
|
|
|
|
<!-- tag="data2" message="test2 end" type="qdebug" -->
|
|
|
|
<!-- tag="data2" message="cleanup test2 data2" type="qdebug" -->
|
2011-09-20 01:56:31 +00:00
|
|
|
</testcase>
|
2011-04-27 10:05:43 +00:00
|
|
|
<testcase result="fail" name="test3">
|
2013-10-16 13:59:27 +00:00
|
|
|
<!-- message="test3_data test3 (null)" type="qdebug" -->
|
|
|
|
<!-- message="test3_data end" type="qdebug" -->
|
|
|
|
<!-- tag="data0" message="init test3 data0" type="qdebug" -->
|
|
|
|
<!-- tag="data0" message="test2 test3 data0" type="qdebug" -->
|
|
|
|
<!-- tag="data0" message="test2 end" type="qdebug" -->
|
|
|
|
<!-- tag="data0" message="cleanup test3 data0" type="qdebug" -->
|
|
|
|
<!-- tag="data1" message="init test3 data1" type="qdebug" -->
|
|
|
|
<!-- tag="data1" message="test2 test3 data1" type="qdebug" -->
|
2011-04-27 10:05:43 +00:00
|
|
|
<failure tag="data1" message="Compared values are not the same
|
2014-01-21 00:03:30 +00:00
|
|
|
Actual (str) : "hello1"
|
|
|
|
Expected (QString("hello0")): "hello0"" result="fail"/>
|
2013-10-16 13:59:27 +00:00
|
|
|
<!-- tag="data1" message="cleanup test3 data1" type="qdebug" -->
|
|
|
|
<!-- tag="data2" message="init test3 data2" type="qdebug" -->
|
|
|
|
<!-- tag="data2" message="test2 test3 data2" type="qdebug" -->
|
2011-04-27 10:05:43 +00:00
|
|
|
<failure tag="data2" message="Compared values are not the same
|
2014-01-21 00:03:30 +00:00
|
|
|
Actual (str) : "hello2"
|
|
|
|
Expected (QString("hello0")): "hello0"" result="fail"/>
|
2013-10-16 13:59:27 +00:00
|
|
|
<!-- tag="data2" message="cleanup test3 data2" type="qdebug" -->
|
2011-04-27 10:05:43 +00:00
|
|
|
</testcase>
|
2011-09-20 01:56:31 +00:00
|
|
|
<testcase result="pass" name="cleanupTestCase">
|
2013-10-16 13:59:27 +00:00
|
|
|
<!-- message="cleanupTestCase cleanupTestCase (null)" type="qdebug" -->
|
2011-04-27 10:05:43 +00:00
|
|
|
</testcase>
|
2011-09-20 01:56:31 +00:00
|
|
|
<system-err>
|
2013-10-16 13:59:27 +00:00
|
|
|
<![CDATA[initTestCase initTestCase (null)]]>
|
|
|
|
<![CDATA[init test1 (null)]]>
|
|
|
|
<![CDATA[test1 test1 (null)]]>
|
|
|
|
<![CDATA[cleanup test1 (null)]]>
|
|
|
|
<![CDATA[test2_data test2 (null)]]>
|
|
|
|
<![CDATA[test2_data end]]>
|
|
|
|
<![CDATA[init test2 data0]]>
|
|
|
|
<![CDATA[test2 test2 data0]]>
|
|
|
|
<![CDATA[test2 end]]>
|
|
|
|
<![CDATA[cleanup test2 data0]]>
|
|
|
|
<![CDATA[init test2 data1]]>
|
|
|
|
<![CDATA[test2 test2 data1]]>
|
|
|
|
<![CDATA[test2 end]]>
|
|
|
|
<![CDATA[cleanup test2 data1]]>
|
|
|
|
<![CDATA[init test2 data2]]>
|
|
|
|
<![CDATA[test2 test2 data2]]>
|
|
|
|
<![CDATA[test2 end]]>
|
|
|
|
<![CDATA[cleanup test2 data2]]>
|
|
|
|
<![CDATA[test3_data test3 (null)]]>
|
|
|
|
<![CDATA[test3_data end]]>
|
|
|
|
<![CDATA[init test3 data0]]>
|
|
|
|
<![CDATA[test2 test3 data0]]>
|
|
|
|
<![CDATA[test2 end]]>
|
|
|
|
<![CDATA[cleanup test3 data0]]>
|
|
|
|
<![CDATA[init test3 data1]]>
|
|
|
|
<![CDATA[test2 test3 data1]]>
|
|
|
|
<![CDATA[cleanup test3 data1]]>
|
|
|
|
<![CDATA[init test3 data2]]>
|
|
|
|
<![CDATA[test2 test3 data2]]>
|
|
|
|
<![CDATA[cleanup test3 data2]]>
|
|
|
|
<![CDATA[cleanupTestCase cleanupTestCase (null)]]>
|
2011-09-20 01:56:31 +00:00
|
|
|
</system-err>
|
2011-04-27 10:05:43 +00:00
|
|
|
</testsuite>
|