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">
|
|
|
|
<Environment>
|
|
|
|
<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>
|
|
|
|
</Environment>
|
|
|
|
<TestFunction name="initTestCase">
|
|
|
|
<Incident type="pass" file="" line="0" />
|
2013-10-24 18:10:37 +00:00
|
|
|
<Duration msecs="0"/>
|
2012-03-01 01:01:49 +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>
|
2013-10-24 18:10:37 +00:00
|
|
|
<Duration msecs="0"/>
|
2012-03-01 01:01:49 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testPassSkip">
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
|
|
</Incident>
|
2014-01-02 13:58:22 +00:00
|
|
|
<Message type="skip" file="../counting/tst_counting.cpp" line="118">
|
2012-03-01 01:01:49 +00:00
|
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
|
|
<Description><![CDATA[Skipping]]></Description>
|
|
|
|
</Message>
|
2013-10-24 18:10:37 +00:00
|
|
|
<Duration msecs="0"/>
|
2012-03-01 01:01:49 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testPassFail">
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
|
|
</Incident>
|
2014-01-02 13:58:22 +00:00
|
|
|
<Incident type="fail" file="../counting/tst_counting.cpp" line="115">
|
2012-03-01 01:01:49 +00:00
|
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
|
|
<Description><![CDATA['false' returned FALSE. ()]]></Description>
|
|
|
|
</Incident>
|
2013-10-24 18:10:37 +00:00
|
|
|
<Duration msecs="0"/>
|
2012-03-01 01:01:49 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testSkipPass">
|
2014-01-02 13:58:22 +00:00
|
|
|
<Message type="skip" file="../counting/tst_counting.cpp" line="118">
|
2012-03-01 01:01:49 +00:00
|
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
|
|
<Description><![CDATA[Skipping]]></Description>
|
|
|
|
</Message>
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
|
|
</Incident>
|
2013-10-24 18:10:37 +00:00
|
|
|
<Duration msecs="0"/>
|
2012-03-01 01:01:49 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testSkipSkip">
|
2014-01-02 13:58:22 +00:00
|
|
|
<Message type="skip" file="../counting/tst_counting.cpp" line="118">
|
2012-03-01 01:01:49 +00:00
|
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
|
|
<Description><![CDATA[Skipping]]></Description>
|
|
|
|
</Message>
|
2014-01-02 13:58:22 +00:00
|
|
|
<Message type="skip" file="../counting/tst_counting.cpp" line="118">
|
2012-03-01 01:01:49 +00:00
|
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
|
|
<Description><![CDATA[Skipping]]></Description>
|
|
|
|
</Message>
|
2013-10-24 18:10:37 +00:00
|
|
|
<Duration msecs="0"/>
|
2012-03-01 01:01:49 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testSkipFail">
|
2014-01-02 13:58:22 +00:00
|
|
|
<Message type="skip" file="../counting/tst_counting.cpp" line="118">
|
2012-03-01 01:01:49 +00:00
|
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
|
|
<Description><![CDATA[Skipping]]></Description>
|
|
|
|
</Message>
|
2014-01-02 13:58:22 +00:00
|
|
|
<Incident type="fail" file="../counting/tst_counting.cpp" line="115">
|
2012-03-01 01:01:49 +00:00
|
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
|
|
<Description><![CDATA['false' returned FALSE. ()]]></Description>
|
|
|
|
</Incident>
|
2013-10-24 18:10:37 +00:00
|
|
|
<Duration msecs="0"/>
|
2012-03-01 01:01:49 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testFailPass">
|
2014-01-02 13:58:22 +00:00
|
|
|
<Incident type="fail" file="../counting/tst_counting.cpp" line="115">
|
2012-03-01 01:01:49 +00:00
|
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
|
|
<Description><![CDATA['false' returned FALSE. ()]]></Description>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
|
|
</Incident>
|
2013-10-24 18:10:37 +00:00
|
|
|
<Duration msecs="0"/>
|
2012-03-01 01:01:49 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testFailSkip">
|
2014-01-02 13:58:22 +00:00
|
|
|
<Incident type="fail" file="../counting/tst_counting.cpp" line="115">
|
2012-03-01 01:01:49 +00:00
|
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
|
|
<Description><![CDATA['false' returned FALSE. ()]]></Description>
|
|
|
|
</Incident>
|
2014-01-02 13:58:22 +00:00
|
|
|
<Message type="skip" file="../counting/tst_counting.cpp" line="118">
|
2012-03-01 01:01:49 +00:00
|
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
|
|
<Description><![CDATA[Skipping]]></Description>
|
|
|
|
</Message>
|
2013-10-24 18:10:37 +00:00
|
|
|
<Duration msecs="0"/>
|
2012-03-01 01:01:49 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testFailFail">
|
2014-01-02 13:58:22 +00:00
|
|
|
<Incident type="fail" file="../counting/tst_counting.cpp" line="115">
|
2012-03-01 01:01:49 +00:00
|
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
|
|
<Description><![CDATA['false' returned FALSE. ()]]></Description>
|
|
|
|
</Incident>
|
2014-01-02 13:58:22 +00:00
|
|
|
<Incident type="fail" file="../counting/tst_counting.cpp" line="115">
|
2012-03-01 01:01:49 +00:00
|
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
|
|
<Description><![CDATA['false' returned FALSE. ()]]></Description>
|
|
|
|
</Incident>
|
2013-10-24 18:10:37 +00:00
|
|
|
<Duration msecs="0"/>
|
2012-03-01 01:01:49 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testFailInInit">
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[before]]></DataTag>
|
|
|
|
</Incident>
|
2014-01-02 13:58:22 +00:00
|
|
|
<Incident type="fail" file="../counting/tst_counting.cpp" line="234">
|
2012-03-01 01:01:49 +00:00
|
|
|
<DataTag><![CDATA[fail]]></DataTag>
|
|
|
|
<Description><![CDATA[Fail in init()]]></Description>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[after]]></DataTag>
|
|
|
|
</Incident>
|
2013-10-24 18:10:37 +00:00
|
|
|
<Duration msecs="0"/>
|
2012-03-01 01:01:49 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testFailInCleanup">
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[before]]></DataTag>
|
|
|
|
</Incident>
|
|
|
|
<Message type="qdebug" file="" line="0">
|
|
|
|
<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>
|
2012-03-01 01:01:49 +00:00
|
|
|
</Message>
|
2014-01-02 13:58:22 +00:00
|
|
|
<Incident type="fail" file="../counting/tst_counting.cpp" line="242">
|
2012-03-01 01:01:49 +00:00
|
|
|
<DataTag><![CDATA[fail]]></DataTag>
|
|
|
|
<Description><![CDATA[Fail in cleanup()]]></Description>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[after]]></DataTag>
|
|
|
|
</Incident>
|
2013-10-24 18:10:37 +00:00
|
|
|
<Duration msecs="0"/>
|
2012-03-01 01:01:49 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testSkipInInit">
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[before]]></DataTag>
|
|
|
|
</Incident>
|
2014-01-02 13:58:22 +00:00
|
|
|
<Message type="skip" file="../counting/tst_counting.cpp" line="236">
|
2012-03-01 01:01:49 +00:00
|
|
|
<DataTag><![CDATA[skip]]></DataTag>
|
|
|
|
<Description><![CDATA[Skip in init()]]></Description>
|
|
|
|
</Message>
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[after]]></DataTag>
|
|
|
|
</Incident>
|
2013-10-24 18:10:37 +00:00
|
|
|
<Duration msecs="0"/>
|
2012-03-01 01:01:49 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testSkipInCleanup">
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[before]]></DataTag>
|
|
|
|
</Incident>
|
|
|
|
<Message type="qdebug" file="" line="0">
|
|
|
|
<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>
|
2012-03-01 01:01:49 +00:00
|
|
|
</Message>
|
2014-01-02 13:58:22 +00:00
|
|
|
<Message type="skip" file="../counting/tst_counting.cpp" line="244">
|
2012-03-01 01:01:49 +00:00
|
|
|
<DataTag><![CDATA[skip]]></DataTag>
|
|
|
|
<Description><![CDATA[Skip in cleanup()]]></Description>
|
|
|
|
</Message>
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[after]]></DataTag>
|
|
|
|
</Incident>
|
2013-10-24 18:10:37 +00:00
|
|
|
<Duration msecs="0"/>
|
2012-03-01 01:01:49 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="cleanupTestCase">
|
|
|
|
<Incident type="pass" file="" line="0" />
|
2013-10-24 18:10:37 +00:00
|
|
|
<Duration msecs="0"/>
|
2012-03-01 01:01:49 +00:00
|
|
|
</TestFunction>
|
2013-10-24 18:10:37 +00:00
|
|
|
<Duration msecs="0"/>
|
2012-03-01 01:01:49 +00:00
|
|
|
</TestCase>
|