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

83 lines
3.6 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_BadXml" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="16" failures="5" 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_BadXml" time="@TEST_DURATION@"/>
<testcase name="badDataTag(fail end cdata ]]&gt; text ]]&gt; more text)" classname="tst_BadXml" time="@TEST_DURATION@">
<failure type="fail" message="a failure"/>
<system-out>
<![CDATA[a message]]>
</system-out>
</testcase>
<testcase name="badDataTag(pass end cdata ]]&gt; text ]]&gt; more text)" classname="tst_BadXml" time="@TEST_DURATION@">
<system-out>
<![CDATA[a message]]>
</system-out>
</testcase>
<testcase name="badDataTag(fail quotes &quot; text&quot; more text)" classname="tst_BadXml" time="@TEST_DURATION@">
<failure type="fail" message="a failure"/>
<system-out>
<![CDATA[a message]]>
</system-out>
</testcase>
<testcase name="badDataTag(pass quotes &quot; text&quot; more text)" classname="tst_BadXml" time="@TEST_DURATION@">
<system-out>
<![CDATA[a message]]>
</system-out>
</testcase>
<testcase name="badDataTag(fail xml close &gt; open &lt; tags &lt; text)" classname="tst_BadXml" time="@TEST_DURATION@">
<failure type="fail" message="a failure"/>
<system-out>
<![CDATA[a message]]>
</system-out>
</testcase>
<testcase name="badDataTag(pass xml close &gt; open &lt; tags &lt; text)" classname="tst_BadXml" time="@TEST_DURATION@">
<system-out>
<![CDATA[a message]]>
</system-out>
</testcase>
<testcase name="badDataTag(fail all &gt; &quot; mixed ]]&gt; up &gt; &quot; in &lt; the ]]&gt; hopes &lt; of triggering &quot;&lt; ]]&gt; bugs)" classname="tst_BadXml" time="@TEST_DURATION@">
<failure type="fail" message="a failure"/>
<system-out>
<![CDATA[a message]]>
</system-out>
</testcase>
<testcase name="badDataTag(pass all &gt; &quot; mixed ]]&gt; up &gt; &quot; in &lt; the ]]&gt; hopes &lt; of triggering &quot;&lt; ]]&gt; bugs)" classname="tst_BadXml" time="@TEST_DURATION@">
<system-out>
<![CDATA[a message]]>
</system-out>
</testcase>
<testcase name="badMessage(string 0)" classname="tst_BadXml" time="@TEST_DURATION@">
<system-out>
<![CDATA[end cdata ]]]><![CDATA[]> text ]]]><![CDATA[]> more text]]>
</system-out>
</testcase>
<testcase name="badMessage(string 1)" classname="tst_BadXml" time="@TEST_DURATION@">
<system-out>
<![CDATA[quotes " text" more text]]>
</system-out>
</testcase>
<testcase name="badMessage(string 2)" classname="tst_BadXml" time="@TEST_DURATION@">
<system-out>
<![CDATA[xml close > open < tags < text]]>
</system-out>
</testcase>
<testcase name="badMessage(string 3)" classname="tst_BadXml" time="@TEST_DURATION@">
<system-out>
<![CDATA[all > " mixed ]]]><![CDATA[]> up > " in < the ]]]><![CDATA[]> hopes < of triggering "< ]]]><![CDATA[]> bugs]]>
</system-out>
</testcase>
<testcase name="failWithNoFile" classname="tst_BadXml" time="@TEST_DURATION@">
<failure type="fail" message="failure message"/>
</testcase>
<testcase name="encoding" classname="tst_BadXml" time="@TEST_DURATION@">
<system-out>
<![CDATA["Ülrich Ümläut"]]>
</system-out>
</testcase>
<testcase name="cleanupTestCase" classname="tst_BadXml" time="@TEST_DURATION@"/>
</testsuite>