9e4a215a25
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>
103 lines
4.5 KiB
XML
103 lines
4.5 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<testsuite errors="28" failures="8" tests="15" name="tst_Counting">
|
|
<properties>
|
|
<property value="@INSERT_QT_VERSION_HERE@" name="QTestVersion"/>
|
|
<property value="@INSERT_QT_VERSION_HERE@" name="QtVersion"/>
|
|
<property value="" name="QtBuild"/>
|
|
</properties>
|
|
<testcase result="pass" name="initTestCase"/>
|
|
<testcase result="pass" name="testPassPass">
|
|
<!-- tag="row 1" message="QVERIFY(true)" type="info" -->
|
|
<!-- tag="row 1" message="QCOMPARE(2 + 1, 3)" type="info" -->
|
|
<!-- tag="row 2" message="QVERIFY(true)" type="info" -->
|
|
<!-- tag="row 2" message="QCOMPARE(2 + 1, 3)" type="info" -->
|
|
</testcase>
|
|
<testcase result="pass" name="testPassSkip">
|
|
<!-- tag="row 1" message="QVERIFY(true)" type="info" -->
|
|
<!-- tag="row 1" message="QCOMPARE(2 + 1, 3)" type="info" -->
|
|
<!-- tag="row 2" message="Skipping" type="skip" -->
|
|
</testcase>
|
|
<testcase result="fail" name="testPassFail">
|
|
<!-- tag="row 1" message="QVERIFY(true)" type="info" -->
|
|
<!-- tag="row 1" message="QCOMPARE(2 + 1, 3)" type="info" -->
|
|
<!-- 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" -->
|
|
<!-- tag="row 2" message="QCOMPARE(2 + 1, 3)" type="info" -->
|
|
</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" -->
|
|
<!-- tag="row 2" message="QCOMPARE(2 + 1, 3)" type="info" -->
|
|
</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">
|
|
<!-- tag="fail" message="This test function should execute and then QFAIL in cleanup()" type="qdebug" -->
|
|
<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">
|
|
<!-- tag="skip" message="This test function should execute and then QSKIP in cleanup()" type="qdebug" -->
|
|
<!-- tag="skip" message="Skip in cleanup()" type="skip" -->
|
|
</testcase>
|
|
<testcase result="pass" name="cleanupTestCase"/>
|
|
<system-err>
|
|
<![CDATA[QVERIFY(true)]]>
|
|
<![CDATA[QCOMPARE(2 + 1, 3)]]>
|
|
<![CDATA[QVERIFY(true)]]>
|
|
<![CDATA[QCOMPARE(2 + 1, 3)]]>
|
|
<![CDATA[QVERIFY(true)]]>
|
|
<![CDATA[QCOMPARE(2 + 1, 3)]]>
|
|
<![CDATA[Skipping]]>
|
|
<![CDATA[QVERIFY(true)]]>
|
|
<![CDATA[QCOMPARE(2 + 1, 3)]]>
|
|
<![CDATA[QVERIFY(false)]]>
|
|
<![CDATA[Skipping]]>
|
|
<![CDATA[QVERIFY(true)]]>
|
|
<![CDATA[QCOMPARE(2 + 1, 3)]]>
|
|
<![CDATA[Skipping]]>
|
|
<![CDATA[Skipping]]>
|
|
<![CDATA[Skipping]]>
|
|
<![CDATA[QVERIFY(false)]]>
|
|
<![CDATA[QVERIFY(false)]]>
|
|
<![CDATA[QVERIFY(true)]]>
|
|
<![CDATA[QCOMPARE(2 + 1, 3)]]>
|
|
<![CDATA[QVERIFY(false)]]>
|
|
<![CDATA[Skipping]]>
|
|
<![CDATA[QVERIFY(false)]]>
|
|
<![CDATA[QVERIFY(false)]]>
|
|
<![CDATA[This test function should execute and then QFAIL in cleanup()]]>
|
|
<![CDATA[Skip in init()]]>
|
|
<![CDATA[This test function should execute and then QSKIP in cleanup()]]>
|
|
<![CDATA[Skip in cleanup()]]>
|
|
</system-err>
|
|
</testsuite>
|