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

52 lines
3.2 KiB
XML

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