2011-04-27 10:05:43 +00:00
|
|
|
<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/>
|
2011-04-27 10:05:43 +00:00
|
|
|
<QTestVersion>@INSERT_QT_VERSION_HERE@</QTestVersion>
|
|
|
|
</Environment>
|
|
|
|
<TestFunction name="initTestCase">
|
2011-08-30 09:54:32 +00:00
|
|
|
<Incident type="pass" file="" line="0" />
|
2016-07-29 11:18:24 +00:00
|
|
|
<Duration msecs="0"/>
|
2011-04-27 10:05:43 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testFunc1">
|
2016-07-29 11:18:24 +00:00
|
|
|
<Message type="warn" file="qtbase/tests/auto/testlib/selftests/xunit/tst_xunit.cpp" line="0">
|
2011-04-27 10:05:43 +00:00
|
|
|
<Description><![CDATA[just a QWARN() !]]></Description>
|
|
|
|
</Message>
|
2011-08-31 02:52:27 +00:00
|
|
|
<Incident type="pass" file="" line="0" />
|
2016-07-29 11:18:24 +00:00
|
|
|
<Duration msecs="0"/>
|
2011-04-27 10:05:43 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testFunc2">
|
|
|
|
<Message type="qdebug" file="" line="0">
|
|
|
|
<Description><![CDATA[a qDebug() call with comment-ending stuff -->]]></Description>
|
|
|
|
</Message>
|
2016-07-29 11:18:24 +00:00
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/xunit/tst_xunit.cpp" line="0">
|
2011-04-27 10:05:43 +00:00
|
|
|
<Description><![CDATA[Compared values are not the same
|
2012-03-08 01:30:10 +00:00
|
|
|
Actual (2): 2
|
2011-04-27 10:05:43 +00:00
|
|
|
Expected (3): 3]]></Description>
|
|
|
|
</Incident>
|
2016-07-29 11:18:24 +00:00
|
|
|
<Duration msecs="0"/>
|
2011-04-27 10:05:43 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testFunc3">
|
2016-07-29 11:18:24 +00:00
|
|
|
<Message type="skip" file="qtbase/tests/auto/testlib/selftests/xunit/tst_xunit.cpp" line="0">
|
2011-04-27 10:05:43 +00:00
|
|
|
<Description><![CDATA[skipping this function!]]></Description>
|
|
|
|
</Message>
|
2016-07-29 11:18:24 +00:00
|
|
|
<Duration msecs="0"/>
|
2011-04-27 10:05:43 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testFunc4">
|
2016-07-29 11:18:24 +00:00
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/xunit/tst_xunit.cpp" line="0">
|
2011-04-27 10:05:43 +00:00
|
|
|
<Description><![CDATA[a forced failure!]]></Description>
|
|
|
|
</Incident>
|
2016-07-29 11:18:24 +00:00
|
|
|
<Duration msecs="0"/>
|
2011-04-27 10:05:43 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testFunc5">
|
2016-07-29 11:18:24 +00:00
|
|
|
<Incident type="xfail" file="qtbase/tests/auto/testlib/selftests/xunit/tst_xunit.cpp" line="0">
|
2011-04-27 10:05:43 +00:00
|
|
|
<Description><![CDATA[this failure is expected]]></Description>
|
|
|
|
</Incident>
|
2011-08-31 02:52:27 +00:00
|
|
|
<Incident type="pass" file="" line="0" />
|
2016-07-29 11:18:24 +00:00
|
|
|
<Duration msecs="0"/>
|
2011-04-27 10:05:43 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testFunc6">
|
2016-07-29 11:18:24 +00:00
|
|
|
<Incident type="xfail" file="qtbase/tests/auto/testlib/selftests/xunit/tst_xunit.cpp" line="0">
|
2011-04-27 10:05:43 +00:00
|
|
|
<Description><![CDATA[this failure is also expected]]></Description>
|
|
|
|
</Incident>
|
2011-08-31 02:52:27 +00:00
|
|
|
<Incident type="pass" file="" line="0" />
|
2016-07-29 11:18:24 +00:00
|
|
|
<Duration msecs="0"/>
|
2011-04-27 10:05:43 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testFunc7">
|
2016-07-29 11:18:24 +00:00
|
|
|
<Incident type="xpass" file="qtbase/tests/auto/testlib/selftests/xunit/tst_xunit.cpp" line="0">
|
2012-02-17 05:11:20 +00:00
|
|
|
<Description><![CDATA['true' returned TRUE unexpectedly. ()]]></Description>
|
2011-04-27 10:05:43 +00:00
|
|
|
</Incident>
|
2016-07-29 11:18:24 +00:00
|
|
|
<Duration msecs="0"/>
|
2011-04-27 10:05:43 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="cleanupTestCase">
|
2011-08-30 09:54:32 +00:00
|
|
|
<Incident type="pass" file="" line="0" />
|
2016-07-29 11:18:24 +00:00
|
|
|
<Duration msecs="0"/>
|
2011-04-27 10:05:43 +00:00
|
|
|
</TestFunction>
|
2013-10-24 18:10:37 +00:00
|
|
|
<Duration msecs="0"/>
|