qt5base-lts/tests/auto/testlib/selftests/expected_subtest.junitxml
Tor Arne Vestbø af7a3430ed testlib: Add start time and test duration to JUnit XML
As defined by https://llg.cubic.org/docs/junit/

Change-Id: Ic7683f3d49c529674f8467d591528d4a65d3add8
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
2020-07-24 00:52:01 +02:00

89 lines
4.0 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_Subtest" timestamp="@TEST_START_TIME@" tests="5" failures="2" errors="31" 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" result="pass" time="@TEST_DURATION@">
<!-- type="qdebug" message="initTestCase initTestCase (null)" -->
</testcase>
<testcase name="test1" result="pass" 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" result="pass" time="@TEST_DURATION@">
<!-- type="qdebug" message="test2_data test2 (null)" -->
<!-- type="qdebug" message="test2_data end" -->
<!-- type="qdebug" message="init test2 data0" tag="data0" -->
<!-- type="qdebug" message="test2 test2 data0" tag="data0" -->
<!-- type="qdebug" message="test2 end" tag="data0" -->
<!-- type="qdebug" message="cleanup test2 data0" tag="data0" -->
<!-- type="qdebug" message="init test2 data1" tag="data1" -->
<!-- type="qdebug" message="test2 test2 data1" tag="data1" -->
<!-- type="qdebug" message="test2 end" tag="data1" -->
<!-- type="qdebug" message="cleanup test2 data1" tag="data1" -->
<!-- type="qdebug" message="init test2 data2" tag="data2" -->
<!-- type="qdebug" message="test2 test2 data2" tag="data2" -->
<!-- type="qdebug" message="test2 end" tag="data2" -->
<!-- type="qdebug" message="cleanup test2 data2" tag="data2" -->
</testcase>
<testcase name="test3" result="fail" time="@TEST_DURATION@">
<!-- type="qdebug" message="test3_data test3 (null)" -->
<!-- type="qdebug" message="test3_data end" -->
<!-- type="qdebug" message="init test3 data0" tag="data0" -->
<!-- type="qdebug" message="test2 test3 data0" tag="data0" -->
<!-- type="qdebug" message="test2 end" tag="data0" -->
<!-- type="qdebug" message="cleanup test3 data0" tag="data0" -->
<!-- type="qdebug" message="init test3 data1" tag="data1" -->
<!-- type="qdebug" message="test2 test3 data1" tag="data1" -->
<failure result="fail" message="Compared values are not the same
Actual (str) : &quot;hello1&quot;
Expected (QString(&quot;hello0&quot;)): &quot;hello0&quot;" tag="data1"/>
<!-- type="qdebug" message="cleanup test3 data1" tag="data1" -->
<!-- type="qdebug" message="init test3 data2" tag="data2" -->
<!-- type="qdebug" message="test2 test3 data2" tag="data2" -->
<failure result="fail" message="Compared values are not the same
Actual (str) : &quot;hello2&quot;
Expected (QString(&quot;hello0&quot;)): &quot;hello0&quot;" tag="data2"/>
<!-- type="qdebug" message="cleanup test3 data2" tag="data2" -->
</testcase>
<testcase name="cleanupTestCase" result="pass" time="@TEST_DURATION@">
<!-- type="qdebug" message="cleanupTestCase cleanupTestCase (null)" -->
</testcase>
<system-err>
<![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-err>
</testsuite>