qt5base-lts/tests/auto/testlib/selftests/expected_globaldata.junitxml
Tor Arne Vestbø 27db9e458c testlib: Clarify that our XUnit reporter is actually a JUnit reporter
The reporter was probably named 'xunit' based on the historical use of
xUnit to refer to testing frameworks derived from Smalltalk's SUnit.
These frameworks typically added their own prefix, e.g. JUnit for Java,
RUnit for R, etc.

The most popular of these was the JUnit framework, and the corresponding
XML output produced by the Ant built tool became somewhat of a de facto
standard, which is probably why we chose to model our reporter after it.

Nowadays however, naming it 'xunit' is problematic as there is actually
a testing famework named xUnit.net, typically shortened to, you guessed
it: xunit.

Test report consumers will typically have a junit mode, and an xunit
mode, and the latter could easily be mistaken for what testlib outputs,
unless we clarify this.

The clarification also allows us to safely extend our support for the
JUnit XML format to incorporate some elements that are nowadays common,
but where we are lagging behind the standard.

[ChangeLog][QTestLib] The formerly named 'xunitxml' test reporter has
been renamed to what it actually is: a JUnit test reporter, and is now
triggered by passing -o junitxml to the test binary.

Change-Id: Ieb20d3d2b5905c74e55b98174948cc70870c0ef9
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
2020-02-03 13:48:25 +01:00

109 lines
5.8 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<testsuite errors="43" failures="0" tests="6" name="tst_globaldata">
<properties>
<property value="@INSERT_QT_VERSION_HERE@" name="QTestVersion"/>
<property value="@INSERT_QT_VERSION_HERE@" name="QtVersion"/>
<property value="" name="QtBuild"/>
</properties>
<testcase result="pass" name="initTestCase">
<!-- message="initTestCase initTestCase (null)" type="qdebug" -->
</testcase>
<testcase result="pass" name="testGlobal">
<!-- tag="global=false:local=false" message="init testGlobal local=false" type="qdebug" -->
<!-- tag="global=false:local=false" message="global: false" type="qdebug" -->
<!-- tag="global=false:local=false" message="local: false" type="qdebug" -->
<!-- tag="global=false:local=false" message="cleanup testGlobal local=false" type="qdebug" -->
<!-- tag="global=false:local=true" message="init testGlobal local=true" type="qdebug" -->
<!-- tag="global=false:local=true" message="global: false" type="qdebug" -->
<!-- tag="global=false:local=true" message="local: true" type="qdebug" -->
<!-- tag="global=false:local=true" message="cleanup testGlobal local=true" type="qdebug" -->
<!-- tag="global=true:local=false" message="init testGlobal local=false" type="qdebug" -->
<!-- tag="global=true:local=false" message="global: true" type="qdebug" -->
<!-- tag="global=true:local=false" message="local: false" type="qdebug" -->
<!-- tag="global=true:local=false" message="cleanup testGlobal local=false" type="qdebug" -->
<!-- tag="global=true:local=true" message="init testGlobal local=true" type="qdebug" -->
<!-- tag="global=true:local=true" message="global: true" type="qdebug" -->
<!-- tag="global=true:local=true" message="local: true" type="qdebug" -->
<!-- tag="global=true:local=true" message="cleanup testGlobal local=true" type="qdebug" -->
</testcase>
<testcase name="skip">
<!-- tag="global=false" message="skipping" type="skip" -->
</testcase>
<testcase name="skipLocal">
<!-- tag="global=false:local=false" message="init skipLocal local=false" type="qdebug" -->
<!-- tag="global=false:local=false" message="skipping" type="skip" -->
<!-- tag="global=false:local=false" message="cleanup skipLocal local=false" type="qdebug" -->
<!-- tag="global=false:local=true" message="init skipLocal local=true" type="qdebug" -->
<!-- tag="global=false:local=true" message="skipping" type="skip" -->
<!-- tag="global=false:local=true" message="cleanup skipLocal local=true" type="qdebug" -->
<!-- tag="global=true:local=false" message="init skipLocal local=false" type="qdebug" -->
<!-- tag="global=true:local=false" message="skipping" type="skip" -->
<!-- tag="global=true:local=false" message="cleanup skipLocal local=false" type="qdebug" -->
<!-- tag="global=true:local=true" message="init skipLocal local=true" type="qdebug" -->
<!-- tag="global=true:local=true" message="skipping" type="skip" -->
<!-- tag="global=true:local=true" message="cleanup skipLocal local=true" type="qdebug" -->
</testcase>
<testcase result="pass" name="skipSingle">
<!-- tag="global=false:local=false" message="init skipSingle local=false" type="qdebug" -->
<!-- tag="global=false:local=false" message="global: false local: false" type="qdebug" -->
<!-- tag="global=false:local=false" message="cleanup skipSingle local=false" type="qdebug" -->
<!-- tag="global=false:local=true" message="init skipSingle local=true" type="qdebug" -->
<!-- tag="global=false:local=true" message="Skipping" type="skip" -->
<!-- tag="global=false:local=true" message="cleanup skipSingle local=true" type="qdebug" -->
<!-- tag="global=true:local=false" message="init skipSingle local=false" type="qdebug" -->
<!-- tag="global=true:local=false" message="Skipping" type="skip" -->
<!-- tag="global=true:local=false" message="cleanup skipSingle local=false" type="qdebug" -->
<!-- tag="global=true:local=true" message="init skipSingle local=true" type="qdebug" -->
<!-- tag="global=true:local=true" message="global: true local: true" type="qdebug" -->
<!-- tag="global=true:local=true" message="cleanup skipSingle local=true" type="qdebug" -->
</testcase>
<testcase result="pass" name="cleanupTestCase">
<!-- message="cleanupTestCase cleanupTestCase (null)" type="qdebug" -->
</testcase>
<system-err>
<![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-err>
</testsuite>