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

61 lines
2.4 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_Nothing" tests="3" failures="0" errors="0">
<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="nothing" result="pass"/>
<testcase name="cleanupTestCase" result="pass"/>
<system-err/>
</testsuite>
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_Nothing" tests="3" failures="0" errors="0">
<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="nothing" result="pass"/>
<testcase name="cleanupTestCase" result="pass"/>
<system-err/>
</testsuite>
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_Nothing" tests="3" failures="0" errors="0">
<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="nothing" result="pass"/>
<testcase name="cleanupTestCase" result="pass"/>
<system-err/>
</testsuite>
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_Nothing" tests="3" failures="0" errors="0">
<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="nothing" result="pass"/>
<testcase name="cleanupTestCase" result="pass"/>
<system-err/>
</testsuite>
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_Nothing" tests="3" failures="0" errors="0">
<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="nothing" result="pass"/>
<testcase name="cleanupTestCase" result="pass"/>
<system-err/>
</testsuite>