qt5base-lts/tests/auto/testlib/selftests/expected_singleskip.junitxml
Tor Arne Vestbø 67c877562b testlib: Output JUnitXML attributes in right order
The attributes are, like the elements, maintained in reverse
order in the underlying QTestCoreList, so we need to iterate
them backwards when printing out the resulting XML to reflect
the order they were added.

This results in e.g.:

  <testcase name="passingBenchmark" result="pass">

Instead of:

  <testcase result="pass" name="passingBenchmark">

Change-Id: Ic2eeab8de05ffedd0c41977358d5b40ff77878b1
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
2020-07-24 00:51:54 +02:00

17 lines
573 B
XML

<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_SingleSkip" tests="3" failures="0" errors="1">
<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"/>
<testcase name="myTest">
<!-- type="skip" message="skipping test" -->
</testcase>
<testcase name="cleanupTestCase" result="pass"/>
<system-err>
<![CDATA[skipping test]]>
</system-err>
</testsuite>