67c877562b
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>
22 lines
901 B
XML
22 lines
901 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<testsuite name="tst_PairDiagnostics" tests="4" failures="2" 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="testQPair" result="fail">
|
|
<failure result="fail" message="Compared values are not the same
|
|
Actual (pair1): "std::pair(1,1)"
|
|
Expected (pair2): "std::pair(1,2)""/>
|
|
</testcase>
|
|
<testcase name="testStdPair" result="fail">
|
|
<failure result="fail" message="Compared values are not the same
|
|
Actual (pair1): "std::pair(1,1)"
|
|
Expected (pair2): "std::pair(1,2)""/>
|
|
</testcase>
|
|
<testcase name="cleanupTestCase" result="pass"/>
|
|
<system-err/>
|
|
</testsuite>
|