qt5base-lts/tests/auto/testlib/selftests/expected_subtest.junitxml
Tor Arne Vestbø 4632be1b4d testlib: Don't write redundant log message information in JUnit reporter
The separation between <system-out> and <system-err> is sufficient, and
we can't expect consumers to interpret our custom comment format.

The type of the text node has been renamed to more accurately identify
its purpose.

Pick-to: 6.2
Change-Id: I63c8ff17529fc087e1b695698350a6711eb5e68d
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2021-08-10 18:06:36 +02:00

84 lines
3.0 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_Subtest" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="9" failures="2" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtBuild" value=""/>
</properties>
<testcase name="initTestCase" classname="tst_Subtest" time="@TEST_DURATION@">
<system-out>
<![CDATA[initTestCase initTestCase (null)]]>
</system-out>
</testcase>
<testcase name="test1" classname="tst_Subtest" time="@TEST_DURATION@">
<system-out>
<![CDATA[init test1 (null)]]>
<![CDATA[test1 test1 (null)]]>
<![CDATA[cleanup test1 (null)]]>
</system-out>
</testcase>
<testcase name="test2(data0)" classname="tst_Subtest" time="@TEST_DURATION@">
<system-out>
<![CDATA[test2_data test2 (null)]]>
<![CDATA[test2_data end]]>
<![CDATA[init test2 data0]]>
<![CDATA[test2 test2 data0]]>
<![CDATA[test2 end]]>
<![CDATA[cleanup test2 data0]]>
</system-out>
</testcase>
<testcase name="test2(data1)" classname="tst_Subtest" time="@TEST_DURATION@">
<system-out>
<![CDATA[init test2 data1]]>
<![CDATA[test2 test2 data1]]>
<![CDATA[test2 end]]>
<![CDATA[cleanup test2 data1]]>
</system-out>
</testcase>
<testcase name="test2(data2)" classname="tst_Subtest" time="@TEST_DURATION@">
<system-out>
<![CDATA[init test2 data2]]>
<![CDATA[test2 test2 data2]]>
<![CDATA[test2 end]]>
<![CDATA[cleanup test2 data2]]>
</system-out>
</testcase>
<testcase name="test3(data0)" classname="tst_Subtest" time="@TEST_DURATION@">
<system-out>
<![CDATA[test3_data test3 (null)]]>
<![CDATA[test3_data end]]>
<![CDATA[init test3 data0]]>
<![CDATA[test2 test3 data0]]>
<![CDATA[test2 end]]>
<![CDATA[cleanup test3 data0]]>
</system-out>
</testcase>
<testcase name="test3(data1)" classname="tst_Subtest" time="@TEST_DURATION@">
<failure type="fail" message="Compared values are not the same">
<![CDATA[ Actual (str) : "hello1"
Expected (QString("hello0")): "hello0"]]>
</failure>
<system-out>
<![CDATA[init test3 data1]]>
<![CDATA[test2 test3 data1]]>
<![CDATA[cleanup test3 data1]]>
</system-out>
</testcase>
<testcase name="test3(data2)" classname="tst_Subtest" time="@TEST_DURATION@">
<failure type="fail" message="Compared values are not the same">
<![CDATA[ Actual (str) : "hello2"
Expected (QString("hello0")): "hello0"]]>
</failure>
<system-out>
<![CDATA[init test3 data2]]>
<![CDATA[test2 test3 data2]]>
<![CDATA[cleanup test3 data2]]>
</system-out>
</testcase>
<testcase name="cleanupTestCase" classname="tst_Subtest" time="@TEST_DURATION@">
<system-out>
<![CDATA[cleanupTestCase cleanupTestCase (null)]]>
</system-out>
</testcase>
</testsuite>