qt5base-lts/tests/auto/testlib/selftests/expected_subtest.junitxml
Tor Arne Vestbø a2026e4116 testlib: Write failure details as <failure> content in JUnit reporter
Pick-to: 6.2
Change-Id: Ica48769e7dfcabdc4bc8f0ed058bc22e29a0b632
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2021-08-06 17:00:22 +02:00

100 lines
4.4 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@">
<!-- type="qdebug" message="initTestCase initTestCase (null)" -->
</testcase>
<testcase name="test1" classname="tst_Subtest" time="@TEST_DURATION@">
<!-- type="qdebug" message="init test1 (null)" -->
<!-- type="qdebug" message="test1 test1 (null)" -->
<!-- type="qdebug" message="cleanup test1 (null)" -->
</testcase>
<testcase name="test2(data0)" classname="tst_Subtest" time="@TEST_DURATION@">
<!-- type="qdebug" message="test2_data test2 (null)" -->
<!-- type="qdebug" message="test2_data end" -->
<!-- type="qdebug" message="init test2 data0" -->
<!-- type="qdebug" message="test2 test2 data0" -->
<!-- type="qdebug" message="test2 end" -->
<!-- type="qdebug" message="cleanup test2 data0" -->
</testcase>
<testcase name="test2(data1)" classname="tst_Subtest" time="@TEST_DURATION@">
<!-- type="qdebug" message="init test2 data1" -->
<!-- type="qdebug" message="test2 test2 data1" -->
<!-- type="qdebug" message="test2 end" -->
<!-- type="qdebug" message="cleanup test2 data1" -->
</testcase>
<testcase name="test2(data2)" classname="tst_Subtest" time="@TEST_DURATION@">
<!-- type="qdebug" message="init test2 data2" -->
<!-- type="qdebug" message="test2 test2 data2" -->
<!-- type="qdebug" message="test2 end" -->
<!-- type="qdebug" message="cleanup test2 data2" -->
</testcase>
<testcase name="test3(data0)" classname="tst_Subtest" time="@TEST_DURATION@">
<!-- type="qdebug" message="test3_data test3 (null)" -->
<!-- type="qdebug" message="test3_data end" -->
<!-- type="qdebug" message="init test3 data0" -->
<!-- type="qdebug" message="test2 test3 data0" -->
<!-- type="qdebug" message="test2 end" -->
<!-- type="qdebug" message="cleanup test3 data0" -->
</testcase>
<testcase name="test3(data1)" classname="tst_Subtest" time="@TEST_DURATION@">
<!-- type="qdebug" message="init test3 data1" -->
<!-- type="qdebug" message="test2 test3 data1" -->
<failure type="fail" message="Compared values are not the same">
<![CDATA[ Actual (str) : "hello1"
Expected (QString("hello0")): "hello0"]]>
</failure>
<!-- type="qdebug" message="cleanup test3 data1" -->
</testcase>
<testcase name="test3(data2)" classname="tst_Subtest" time="@TEST_DURATION@">
<!-- type="qdebug" message="init test3 data2" -->
<!-- type="qdebug" message="test2 test3 data2" -->
<failure type="fail" message="Compared values are not the same">
<![CDATA[ Actual (str) : "hello2"
Expected (QString("hello0")): "hello0"]]>
</failure>
<!-- type="qdebug" message="cleanup test3 data2" -->
</testcase>
<testcase name="cleanupTestCase" classname="tst_Subtest" time="@TEST_DURATION@">
<!-- type="qdebug" message="cleanupTestCase cleanupTestCase (null)" -->
</testcase>
<system-out>
<![CDATA[initTestCase initTestCase (null)]]>
<![CDATA[init test1 (null)]]>
<![CDATA[test1 test1 (null)]]>
<![CDATA[cleanup test1 (null)]]>
<![CDATA[test2_data test2 (null)]]>
<![CDATA[test2_data end]]>
<![CDATA[init test2 data0]]>
<![CDATA[test2 test2 data0]]>
<![CDATA[test2 end]]>
<![CDATA[cleanup test2 data0]]>
<![CDATA[init test2 data1]]>
<![CDATA[test2 test2 data1]]>
<![CDATA[test2 end]]>
<![CDATA[cleanup test2 data1]]>
<![CDATA[init test2 data2]]>
<![CDATA[test2 test2 data2]]>
<![CDATA[test2 end]]>
<![CDATA[cleanup test2 data2]]>
<![CDATA[test3_data test3 (null)]]>
<![CDATA[test3_data end]]>
<![CDATA[init test3 data0]]>
<![CDATA[test2 test3 data0]]>
<![CDATA[test2 end]]>
<![CDATA[cleanup test3 data0]]>
<![CDATA[init test3 data1]]>
<![CDATA[test2 test3 data1]]>
<![CDATA[cleanup test3 data1]]>
<![CDATA[init test3 data2]]>
<![CDATA[test2 test3 data2]]>
<![CDATA[cleanup test3 data2]]>
<![CDATA[cleanupTestCase cleanupTestCase (null)]]>
</system-out>
<system-err/>
</testsuite>