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

54 lines
2.2 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_Warnings" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="7" failures="4" 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_Warnings" time="@TEST_DURATION@"/>
<testcase name="testWarnings" classname="tst_Warnings" time="@TEST_DURATION@">
<system-out>
<![CDATA[Debug]]>
<![CDATA[Debug]]>
<![CDATA[Info]]>
<![CDATA[Info]]>
<![CDATA[Baba]]>
<![CDATA[Baba]]>
<![CDATA[Bubublabla]]>
</system-out>
<system-err>
<![CDATA[Warning]]>
<![CDATA[Warning]]>
<![CDATA[Babablabla]]>
</system-err>
</testcase>
<testcase name="testMissingWarnings" classname="tst_Warnings" time="@TEST_DURATION@">
<failure type="fail" message="Not all expected messages were received"/>
<system-out>
<![CDATA[Did not receive message: "Warning0"]]>
<![CDATA[Did not receive message: "Warning1"]]>
</system-out>
</testcase>
<testcase name="testMissingWarningsRegularExpression" classname="tst_Warnings" time="@TEST_DURATION@">
<failure type="fail" message="Not all expected messages were received"/>
<system-out>
<![CDATA[Did not receive any message matching: "Warning\s\d"]]>
</system-out>
</testcase>
<testcase name="testMissingWarningsWithData(first row)" classname="tst_Warnings" time="@TEST_DURATION@">
<failure type="fail" message="Not all expected messages were received"/>
<system-out>
<![CDATA[Did not receive message: "Warning0"]]>
<![CDATA[Did not receive message: "Warning1"]]>
</system-out>
</testcase>
<testcase name="testMissingWarningsWithData(second row)" classname="tst_Warnings" time="@TEST_DURATION@">
<failure type="fail" message="Not all expected messages were received"/>
<system-out>
<![CDATA[Did not receive message: "Warning0"]]>
<![CDATA[Did not receive message: "Warning1"]]>
</system-out>
</testcase>
<testcase name="cleanupTestCase" classname="tst_Warnings" time="@TEST_DURATION@"/>
</testsuite>