qt5base-lts/tests/auto/testlib/selftests/expected_verbose2.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

103 lines
4.8 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_Counting" timestamp="@TEST_START_TIME@" tests="15" failures="8" errors="28" 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@"/>
<testcase name="testPassPass" result="pass" time="@TEST_DURATION@">
<!-- type="info" message="QVERIFY(true)" tag="row 1" -->
<!-- type="info" message="QCOMPARE(2 + 1, 3)" tag="row 1" -->
<!-- type="info" message="QVERIFY(true)" tag="row 2" -->
<!-- type="info" message="QCOMPARE(2 + 1, 3)" tag="row 2" -->
</testcase>
<testcase name="testPassSkip" result="pass" time="@TEST_DURATION@">
<!-- type="info" message="QVERIFY(true)" tag="row 1" -->
<!-- type="info" message="QCOMPARE(2 + 1, 3)" tag="row 1" -->
<!-- type="skip" message="Skipping" tag="row 2" -->
</testcase>
<testcase name="testPassFail" result="fail" time="@TEST_DURATION@">
<!-- type="info" message="QVERIFY(true)" tag="row 1" -->
<!-- type="info" message="QCOMPARE(2 + 1, 3)" tag="row 1" -->
<!-- type="info" message="QVERIFY(false)" tag="row 2" -->
<failure result="fail" message="&apos;false&apos; returned FALSE. ()" tag="row 2"/>
</testcase>
<testcase name="testSkipPass" result="pass" time="@TEST_DURATION@">
<!-- type="skip" message="Skipping" tag="row 1" -->
<!-- type="info" message="QVERIFY(true)" tag="row 2" -->
<!-- type="info" message="QCOMPARE(2 + 1, 3)" tag="row 2" -->
</testcase>
<testcase name="testSkipSkip" time="@TEST_DURATION@">
<!-- type="skip" message="Skipping" tag="row 1" -->
<!-- type="skip" message="Skipping" tag="row 2" -->
</testcase>
<testcase name="testSkipFail" result="fail" time="@TEST_DURATION@">
<!-- type="skip" message="Skipping" tag="row 1" -->
<!-- type="info" message="QVERIFY(false)" tag="row 2" -->
<failure result="fail" message="&apos;false&apos; returned FALSE. ()" tag="row 2"/>
</testcase>
<testcase name="testFailPass" result="fail" time="@TEST_DURATION@">
<!-- type="info" message="QVERIFY(false)" tag="row 1" -->
<failure result="fail" message="&apos;false&apos; returned FALSE. ()" tag="row 1"/>
<!-- type="info" message="QVERIFY(true)" tag="row 2" -->
<!-- type="info" message="QCOMPARE(2 + 1, 3)" tag="row 2" -->
</testcase>
<testcase name="testFailSkip" result="fail" time="@TEST_DURATION@">
<!-- type="info" message="QVERIFY(false)" tag="row 1" -->
<failure result="fail" message="&apos;false&apos; returned FALSE. ()" tag="row 1"/>
<!-- type="skip" message="Skipping" tag="row 2" -->
</testcase>
<testcase name="testFailFail" result="fail" time="@TEST_DURATION@">
<!-- type="info" message="QVERIFY(false)" tag="row 1" -->
<failure result="fail" message="&apos;false&apos; returned FALSE. ()" tag="row 1"/>
<!-- type="info" message="QVERIFY(false)" tag="row 2" -->
<failure result="fail" message="&apos;false&apos; returned FALSE. ()" tag="row 2"/>
</testcase>
<testcase name="testFailInInit" result="fail" time="@TEST_DURATION@">
<failure result="fail" message="Fail in init()" tag="fail"/>
</testcase>
<testcase name="testFailInCleanup" result="fail" time="@TEST_DURATION@">
<!-- type="qdebug" message="This test function should execute and then QFAIL in cleanup()" tag="fail" -->
<failure result="fail" message="Fail in cleanup()" tag="fail"/>
</testcase>
<testcase name="testSkipInInit" result="pass" time="@TEST_DURATION@">
<!-- type="skip" message="Skip in init()" tag="skip" -->
</testcase>
<testcase name="testSkipInCleanup" result="pass" time="@TEST_DURATION@">
<!-- type="qdebug" message="This test function should execute and then QSKIP in cleanup()" tag="skip" -->
<!-- type="skip" message="Skip in cleanup()" tag="skip" -->
</testcase>
<testcase name="cleanupTestCase" result="pass" time="@TEST_DURATION@"/>
<system-err>
<![CDATA[QVERIFY(true)]]>
<![CDATA[QCOMPARE(2 + 1, 3)]]>
<![CDATA[QVERIFY(true)]]>
<![CDATA[QCOMPARE(2 + 1, 3)]]>
<![CDATA[QVERIFY(true)]]>
<![CDATA[QCOMPARE(2 + 1, 3)]]>
<![CDATA[Skipping]]>
<![CDATA[QVERIFY(true)]]>
<![CDATA[QCOMPARE(2 + 1, 3)]]>
<![CDATA[QVERIFY(false)]]>
<![CDATA[Skipping]]>
<![CDATA[QVERIFY(true)]]>
<![CDATA[QCOMPARE(2 + 1, 3)]]>
<![CDATA[Skipping]]>
<![CDATA[Skipping]]>
<![CDATA[Skipping]]>
<![CDATA[QVERIFY(false)]]>
<![CDATA[QVERIFY(false)]]>
<![CDATA[QVERIFY(true)]]>
<![CDATA[QCOMPARE(2 + 1, 3)]]>
<![CDATA[QVERIFY(false)]]>
<![CDATA[Skipping]]>
<![CDATA[QVERIFY(false)]]>
<![CDATA[QVERIFY(false)]]>
<![CDATA[This test function should execute and then QFAIL in cleanup()]]>
<![CDATA[Skip in init()]]>
<![CDATA[This test function should execute and then QSKIP in cleanup()]]>
<![CDATA[Skip in cleanup()]]>
</system-err>
</testsuite>