2012-05-02 12:49:31 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2012-03-01 01:01:49 +00:00
|
|
|
<TestCase name="tst_Counting">
|
2021-11-29 09:47:55 +00:00
|
|
|
<Environment>
|
2012-03-01 01:01:49 +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/>
|
2012-03-01 01:01:49 +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" />
|
2016-07-29 11:18:24 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testPassPass">
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
|
|
</Incident>
|
2016-07-29 11:18:24 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testPassSkip">
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="skip" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
|
|
<Description><![CDATA[Skipping]]></Description>
|
|
|
|
</Incident>
|
2016-07-29 11:18:24 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testPassFail">
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
|
|
<Description><![CDATA['false' returned FALSE. ()]]></Description>
|
|
|
|
</Incident>
|
2016-07-29 11:18:24 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testSkipPass">
|
|
|
|
<Incident type="skip" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
|
|
<Description><![CDATA[Skipping]]></Description>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
|
|
</Incident>
|
2016-07-29 11:18:24 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testSkipSkip">
|
|
|
|
<Incident type="skip" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
|
|
<Description><![CDATA[Skipping]]></Description>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="skip" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
|
|
<Description><![CDATA[Skipping]]></Description>
|
|
|
|
</Incident>
|
2016-07-29 11:18:24 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testSkipFail">
|
|
|
|
<Incident type="skip" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
|
|
<Description><![CDATA[Skipping]]></Description>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
|
|
<Description><![CDATA['false' returned FALSE. ()]]></Description>
|
|
|
|
</Incident>
|
2016-07-29 11:18:24 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testFailPass">
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
|
|
<Description><![CDATA['false' returned FALSE. ()]]></Description>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
|
|
</Incident>
|
2016-07-29 11:18:24 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testFailSkip">
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
|
|
<Description><![CDATA['false' returned FALSE. ()]]></Description>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="skip" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
|
|
<Description><![CDATA[Skipping]]></Description>
|
|
|
|
</Incident>
|
2016-07-29 11:18:24 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testFailFail">
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
|
|
<Description><![CDATA['false' returned FALSE. ()]]></Description>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
|
|
<Description><![CDATA['false' returned FALSE. ()]]></Description>
|
|
|
|
</Incident>
|
2016-07-29 11:18:24 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testFailInInit">
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[before]]></DataTag>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[fail]]></DataTag>
|
|
|
|
<Description><![CDATA[Fail in init()]]></Description>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[after]]></DataTag>
|
|
|
|
</Incident>
|
2016-07-29 11:18:24 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testFailInCleanup">
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[before]]></DataTag>
|
|
|
|
</Incident>
|
|
|
|
<Message type="qdebug" file="" line="0">
|
2012-03-01 01:01:49 +00:00
|
|
|
<DataTag><![CDATA[fail]]></DataTag>
|
2013-10-16 13:59:27 +00:00
|
|
|
<Description><![CDATA[This test function should execute and then QFAIL in cleanup()]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Message>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[fail]]></DataTag>
|
|
|
|
<Description><![CDATA[Fail in cleanup()]]></Description>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[after]]></DataTag>
|
|
|
|
</Incident>
|
2016-07-29 11:18:24 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testSkipInInit">
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[before]]></DataTag>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="skip" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[skip]]></DataTag>
|
|
|
|
<Description><![CDATA[Skip in init()]]></Description>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[after]]></DataTag>
|
|
|
|
</Incident>
|
2016-07-29 11:18:24 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testSkipInCleanup">
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[before]]></DataTag>
|
|
|
|
</Incident>
|
|
|
|
<Message type="qdebug" file="" line="0">
|
2012-03-01 01:01:49 +00:00
|
|
|
<DataTag><![CDATA[skip]]></DataTag>
|
2013-10-16 13:59:27 +00:00
|
|
|
<Description><![CDATA[This test function should execute and then QSKIP in cleanup()]]></Description>
|
2021-11-29 09:47:55 +00:00
|
|
|
</Message>
|
|
|
|
<Incident type="skip" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[skip]]></DataTag>
|
|
|
|
<Description><![CDATA[Skip in cleanup()]]></Description>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[after]]></DataTag>
|
|
|
|
</Incident>
|
2016-07-29 11:18:24 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="cleanupTestCase">
|
|
|
|
<Incident type="pass" file="" line="0" />
|
2016-07-29 11:18:24 +00:00
|
|
|
<Duration msecs="0"/>
|
2021-11-29 09:47:55 +00:00
|
|
|
</TestFunction>
|
|
|
|
<Duration msecs="0"/>
|
2012-03-01 01:01:49 +00:00
|
|
|
</TestCase>
|