qt5base-lts/tests/auto/testlib/selftests/expected_verbose2.junitxml
Tor Arne Vestbø 58f1c0c146 testlib: Don't report JUnit errors attribute without any <error> elements
The errors attribute on the <testsuite> element represents the number of
<error> elements, but we do not produce any at the moment.

Pick-to: 6.2
Task-number: QTBUG-95424
Change-Id: I7196d622a9a6bbb7e79ed2c2886984d539abb1da
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2021-08-05 03:58:50 +02:00

130 lines
6.3 KiB
XML

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