2012-03-01 01:01:49 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2012-03-01 05:14:18 +00:00
|
|
|
<testsuite errors="28" failures="8" tests="15" name="tst_Counting">
|
2012-03-01 01:01:49 +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"/>
|
2012-03-01 01:01:49 +00:00
|
|
|
</properties>
|
|
|
|
<testcase result="pass" name="initTestCase"/>
|
|
|
|
<testcase result="pass" name="testPassPass">
|
|
|
|
<!-- tag="row 1" message="QVERIFY(true)" type="info" -->
|
2012-02-29 05:43:42 +00:00
|
|
|
<!-- tag="row 1" message="QCOMPARE(2 + 1, 3)" type="info" -->
|
2012-03-01 01:01:49 +00:00
|
|
|
<!-- tag="row 2" message="QVERIFY(true)" type="info" -->
|
2012-02-29 05:43:42 +00:00
|
|
|
<!-- tag="row 2" message="QCOMPARE(2 + 1, 3)" type="info" -->
|
2012-03-01 01:01:49 +00:00
|
|
|
</testcase>
|
|
|
|
<testcase result="pass" name="testPassSkip">
|
|
|
|
<!-- tag="row 1" message="QVERIFY(true)" type="info" -->
|
2012-02-29 05:43:42 +00:00
|
|
|
<!-- tag="row 1" message="QCOMPARE(2 + 1, 3)" type="info" -->
|
2012-03-01 01:01:49 +00:00
|
|
|
<!-- tag="row 2" message="Skipping" type="skip" -->
|
|
|
|
</testcase>
|
|
|
|
<testcase result="fail" name="testPassFail">
|
|
|
|
<!-- tag="row 1" message="QVERIFY(true)" type="info" -->
|
2012-02-29 05:43:42 +00:00
|
|
|
<!-- tag="row 1" message="QCOMPARE(2 + 1, 3)" type="info" -->
|
2012-03-01 01:01:49 +00:00
|
|
|
<!-- tag="row 2" message="QVERIFY(false)" type="info" -->
|
|
|
|
<failure tag="row 2" message="'false' returned FALSE. ()" result="fail"/>
|
|
|
|
</testcase>
|
|
|
|
<testcase result="pass" name="testSkipPass">
|
|
|
|
<!-- tag="row 1" message="Skipping" type="skip" -->
|
|
|
|
<!-- tag="row 2" message="QVERIFY(true)" type="info" -->
|
2012-02-29 05:43:42 +00:00
|
|
|
<!-- tag="row 2" message="QCOMPARE(2 + 1, 3)" type="info" -->
|
2012-03-01 01:01:49 +00:00
|
|
|
</testcase>
|
|
|
|
<testcase name="testSkipSkip">
|
|
|
|
<!-- tag="row 1" message="Skipping" type="skip" -->
|
|
|
|
<!-- tag="row 2" message="Skipping" type="skip" -->
|
|
|
|
</testcase>
|
|
|
|
<testcase result="fail" name="testSkipFail">
|
|
|
|
<!-- tag="row 1" message="Skipping" type="skip" -->
|
|
|
|
<!-- tag="row 2" message="QVERIFY(false)" type="info" -->
|
|
|
|
<failure tag="row 2" message="'false' returned FALSE. ()" result="fail"/>
|
|
|
|
</testcase>
|
|
|
|
<testcase result="fail" name="testFailPass">
|
|
|
|
<!-- tag="row 1" message="QVERIFY(false)" type="info" -->
|
|
|
|
<failure tag="row 1" message="'false' returned FALSE. ()" result="fail"/>
|
|
|
|
<!-- tag="row 2" message="QVERIFY(true)" type="info" -->
|
2012-02-29 05:43:42 +00:00
|
|
|
<!-- tag="row 2" message="QCOMPARE(2 + 1, 3)" type="info" -->
|
2012-03-01 01:01:49 +00:00
|
|
|
</testcase>
|
|
|
|
<testcase result="fail" name="testFailSkip">
|
|
|
|
<!-- tag="row 1" message="QVERIFY(false)" type="info" -->
|
|
|
|
<failure tag="row 1" message="'false' returned FALSE. ()" result="fail"/>
|
|
|
|
<!-- tag="row 2" message="Skipping" type="skip" -->
|
|
|
|
</testcase>
|
|
|
|
<testcase result="fail" name="testFailFail">
|
|
|
|
<!-- tag="row 1" message="QVERIFY(false)" type="info" -->
|
|
|
|
<failure tag="row 1" message="'false' returned FALSE. ()" result="fail"/>
|
|
|
|
<!-- tag="row 2" message="QVERIFY(false)" type="info" -->
|
|
|
|
<failure tag="row 2" message="'false' returned FALSE. ()" result="fail"/>
|
|
|
|
</testcase>
|
|
|
|
<testcase result="fail" name="testFailInInit">
|
|
|
|
<failure tag="fail" message="Fail in init()" result="fail"/>
|
|
|
|
</testcase>
|
|
|
|
<testcase result="fail" name="testFailInCleanup">
|
2013-10-16 13:59:27 +00:00
|
|
|
<!-- tag="fail" message="This test function should execute and then QFAIL in cleanup()" type="qdebug" -->
|
2012-03-01 01:01:49 +00:00
|
|
|
<failure tag="fail" message="Fail in cleanup()" result="fail"/>
|
|
|
|
</testcase>
|
|
|
|
<testcase result="pass" name="testSkipInInit">
|
|
|
|
<!-- tag="skip" message="Skip in init()" type="skip" -->
|
|
|
|
</testcase>
|
|
|
|
<testcase result="pass" name="testSkipInCleanup">
|
2013-10-16 13:59:27 +00:00
|
|
|
<!-- tag="skip" message="This test function should execute and then QSKIP in cleanup()" type="qdebug" -->
|
2012-03-01 01:01:49 +00:00
|
|
|
<!-- tag="skip" message="Skip in cleanup()" type="skip" -->
|
|
|
|
</testcase>
|
|
|
|
<testcase result="pass" name="cleanupTestCase"/>
|
|
|
|
<system-err>
|
|
|
|
<![CDATA[QVERIFY(true)]]>
|
2012-02-29 05:43:42 +00:00
|
|
|
<![CDATA[QCOMPARE(2 + 1, 3)]]>
|
2012-03-01 01:01:49 +00:00
|
|
|
<![CDATA[QVERIFY(true)]]>
|
2012-02-29 05:43:42 +00:00
|
|
|
<![CDATA[QCOMPARE(2 + 1, 3)]]>
|
2012-03-01 01:01:49 +00:00
|
|
|
<![CDATA[QVERIFY(true)]]>
|
2012-02-29 05:43:42 +00:00
|
|
|
<![CDATA[QCOMPARE(2 + 1, 3)]]>
|
2012-03-01 01:01:49 +00:00
|
|
|
<![CDATA[Skipping]]>
|
|
|
|
<![CDATA[QVERIFY(true)]]>
|
2012-02-29 05:43:42 +00:00
|
|
|
<![CDATA[QCOMPARE(2 + 1, 3)]]>
|
2012-03-01 01:01:49 +00:00
|
|
|
<![CDATA[QVERIFY(false)]]>
|
|
|
|
<![CDATA[Skipping]]>
|
|
|
|
<![CDATA[QVERIFY(true)]]>
|
2012-02-29 05:43:42 +00:00
|
|
|
<![CDATA[QCOMPARE(2 + 1, 3)]]>
|
2012-03-01 01:01:49 +00:00
|
|
|
<![CDATA[Skipping]]>
|
|
|
|
<![CDATA[Skipping]]>
|
|
|
|
<![CDATA[Skipping]]>
|
|
|
|
<![CDATA[QVERIFY(false)]]>
|
|
|
|
<![CDATA[QVERIFY(false)]]>
|
|
|
|
<![CDATA[QVERIFY(true)]]>
|
2012-02-29 05:43:42 +00:00
|
|
|
<![CDATA[QCOMPARE(2 + 1, 3)]]>
|
2012-03-01 01:01:49 +00:00
|
|
|
<![CDATA[QVERIFY(false)]]>
|
|
|
|
<![CDATA[Skipping]]>
|
|
|
|
<![CDATA[QVERIFY(false)]]>
|
|
|
|
<![CDATA[QVERIFY(false)]]>
|
2013-10-16 13:59:27 +00:00
|
|
|
<![CDATA[This test function should execute and then QFAIL in cleanup()]]>
|
2012-03-01 01:01:49 +00:00
|
|
|
<![CDATA[Skip in init()]]>
|
2013-10-16 13:59:27 +00:00
|
|
|
<![CDATA[This test function should execute and then QSKIP in cleanup()]]>
|
2012-03-01 01:01:49 +00:00
|
|
|
<![CDATA[Skip in cleanup()]]>
|
|
|
|
</system-err>
|
|
|
|
</testsuite>
|