539553a572
Add an enumeration for system-out and alog element for it. Redirect the messages types that are not warnings/errors to this element. For compatibility, write it out only if it is not empty. Rename enumerations and members accordingly. [ChangeLog][QtTestLib] In JUnit XML, output that is not a warning/error is now logged under <system-out> instead of <system-err>. Fixes: QTBUG-86540 Change-Id: I55598eafa7dafa486ac5a8221029c332ff47413b Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
110 lines
6.0 KiB
XML
110 lines
6.0 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<testsuite name="tst_globaldata" timestamp="@TEST_START_TIME@" tests="6" failures="0" errors="43" 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@">
|
|
<!-- type="qdebug" message="initTestCase initTestCase (null)" -->
|
|
</testcase>
|
|
<testcase name="testGlobal" result="pass" time="@TEST_DURATION@">
|
|
<!-- type="qdebug" message="init testGlobal local=false" tag="global=false:local=false" -->
|
|
<!-- type="qdebug" message="global: false" tag="global=false:local=false" -->
|
|
<!-- type="qdebug" message="local: false" tag="global=false:local=false" -->
|
|
<!-- type="qdebug" message="cleanup testGlobal local=false" tag="global=false:local=false" -->
|
|
<!-- type="qdebug" message="init testGlobal local=true" tag="global=false:local=true" -->
|
|
<!-- type="qdebug" message="global: false" tag="global=false:local=true" -->
|
|
<!-- type="qdebug" message="local: true" tag="global=false:local=true" -->
|
|
<!-- type="qdebug" message="cleanup testGlobal local=true" tag="global=false:local=true" -->
|
|
<!-- type="qdebug" message="init testGlobal local=false" tag="global=true:local=false" -->
|
|
<!-- type="qdebug" message="global: true" tag="global=true:local=false" -->
|
|
<!-- type="qdebug" message="local: false" tag="global=true:local=false" -->
|
|
<!-- type="qdebug" message="cleanup testGlobal local=false" tag="global=true:local=false" -->
|
|
<!-- type="qdebug" message="init testGlobal local=true" tag="global=true:local=true" -->
|
|
<!-- type="qdebug" message="global: true" tag="global=true:local=true" -->
|
|
<!-- type="qdebug" message="local: true" tag="global=true:local=true" -->
|
|
<!-- type="qdebug" message="cleanup testGlobal local=true" tag="global=true:local=true" -->
|
|
</testcase>
|
|
<testcase name="skip" time="@TEST_DURATION@">
|
|
<!-- type="skip" message="skipping" tag="global=false" -->
|
|
</testcase>
|
|
<testcase name="skipLocal" time="@TEST_DURATION@">
|
|
<!-- type="qdebug" message="init skipLocal local=false" tag="global=false:local=false" -->
|
|
<!-- type="skip" message="skipping" tag="global=false:local=false" -->
|
|
<!-- type="qdebug" message="cleanup skipLocal local=false" tag="global=false:local=false" -->
|
|
<!-- type="qdebug" message="init skipLocal local=true" tag="global=false:local=true" -->
|
|
<!-- type="skip" message="skipping" tag="global=false:local=true" -->
|
|
<!-- type="qdebug" message="cleanup skipLocal local=true" tag="global=false:local=true" -->
|
|
<!-- type="qdebug" message="init skipLocal local=false" tag="global=true:local=false" -->
|
|
<!-- type="skip" message="skipping" tag="global=true:local=false" -->
|
|
<!-- type="qdebug" message="cleanup skipLocal local=false" tag="global=true:local=false" -->
|
|
<!-- type="qdebug" message="init skipLocal local=true" tag="global=true:local=true" -->
|
|
<!-- type="skip" message="skipping" tag="global=true:local=true" -->
|
|
<!-- type="qdebug" message="cleanup skipLocal local=true" tag="global=true:local=true" -->
|
|
</testcase>
|
|
<testcase name="skipSingle" result="pass" time="@TEST_DURATION@">
|
|
<!-- type="qdebug" message="init skipSingle local=false" tag="global=false:local=false" -->
|
|
<!-- type="qdebug" message="global: false local: false" tag="global=false:local=false" -->
|
|
<!-- type="qdebug" message="cleanup skipSingle local=false" tag="global=false:local=false" -->
|
|
<!-- type="qdebug" message="init skipSingle local=true" tag="global=false:local=true" -->
|
|
<!-- type="skip" message="Skipping" tag="global=false:local=true" -->
|
|
<!-- type="qdebug" message="cleanup skipSingle local=true" tag="global=false:local=true" -->
|
|
<!-- type="qdebug" message="init skipSingle local=false" tag="global=true:local=false" -->
|
|
<!-- type="skip" message="Skipping" tag="global=true:local=false" -->
|
|
<!-- type="qdebug" message="cleanup skipSingle local=false" tag="global=true:local=false" -->
|
|
<!-- type="qdebug" message="init skipSingle local=true" tag="global=true:local=true" -->
|
|
<!-- type="qdebug" message="global: true local: true" tag="global=true:local=true" -->
|
|
<!-- type="qdebug" message="cleanup skipSingle local=true" tag="global=true:local=true" -->
|
|
</testcase>
|
|
<testcase name="cleanupTestCase" result="pass" time="@TEST_DURATION@">
|
|
<!-- type="qdebug" message="cleanupTestCase cleanupTestCase (null)" -->
|
|
</testcase>
|
|
<system-out>
|
|
<![CDATA[initTestCase initTestCase (null)]]>
|
|
<![CDATA[init testGlobal local=false]]>
|
|
<![CDATA[global: false]]>
|
|
<![CDATA[local: false]]>
|
|
<![CDATA[cleanup testGlobal local=false]]>
|
|
<![CDATA[init testGlobal local=true]]>
|
|
<![CDATA[global: false]]>
|
|
<![CDATA[local: true]]>
|
|
<![CDATA[cleanup testGlobal local=true]]>
|
|
<![CDATA[init testGlobal local=false]]>
|
|
<![CDATA[global: true]]>
|
|
<![CDATA[local: false]]>
|
|
<![CDATA[cleanup testGlobal local=false]]>
|
|
<![CDATA[init testGlobal local=true]]>
|
|
<![CDATA[global: true]]>
|
|
<![CDATA[local: true]]>
|
|
<![CDATA[cleanup testGlobal local=true]]>
|
|
<![CDATA[skipping]]>
|
|
<![CDATA[init skipLocal local=false]]>
|
|
<![CDATA[skipping]]>
|
|
<![CDATA[cleanup skipLocal local=false]]>
|
|
<![CDATA[init skipLocal local=true]]>
|
|
<![CDATA[skipping]]>
|
|
<![CDATA[cleanup skipLocal local=true]]>
|
|
<![CDATA[init skipLocal local=false]]>
|
|
<![CDATA[skipping]]>
|
|
<![CDATA[cleanup skipLocal local=false]]>
|
|
<![CDATA[init skipLocal local=true]]>
|
|
<![CDATA[skipping]]>
|
|
<![CDATA[cleanup skipLocal local=true]]>
|
|
<![CDATA[init skipSingle local=false]]>
|
|
<![CDATA[global: false local: false]]>
|
|
<![CDATA[cleanup skipSingle local=false]]>
|
|
<![CDATA[init skipSingle local=true]]>
|
|
<![CDATA[Skipping]]>
|
|
<![CDATA[cleanup skipSingle local=true]]>
|
|
<![CDATA[init skipSingle local=false]]>
|
|
<![CDATA[Skipping]]>
|
|
<![CDATA[cleanup skipSingle local=false]]>
|
|
<![CDATA[init skipSingle local=true]]>
|
|
<![CDATA[global: true local: true]]>
|
|
<![CDATA[cleanup skipSingle local=true]]>
|
|
<![CDATA[cleanupTestCase cleanupTestCase (null)]]>
|
|
</system-out>
|
|
<system-err/>
|
|
</testsuite>
|