summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests/expected_tuplediagnostics.junitxml
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-07-21 12:10:32 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-07-24 00:52:01 +0200
commitaf7a3430edfc4deff494c9ec88b803f468b5cf2a (patch)
tree2ff7efa23349f7aea53a5525f45b0e6b8444b8d7 /tests/auto/testlib/selftests/expected_tuplediagnostics.junitxml
parent67c877562b18ea5c591d2884d2b14f7bf3a39149 (diff)
testlib: Add start time and test duration to JUnit XML
As defined by https://llg.cubic.org/docs/junit/ Change-Id: Ic7683f3d49c529674f8467d591528d4a65d3add8 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'tests/auto/testlib/selftests/expected_tuplediagnostics.junitxml')
-rw-r--r--tests/auto/testlib/selftests/expected_tuplediagnostics.junitxml12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/auto/testlib/selftests/expected_tuplediagnostics.junitxml b/tests/auto/testlib/selftests/expected_tuplediagnostics.junitxml
index e1c9a049ca..cc56990dee 100644
--- a/tests/auto/testlib/selftests/expected_tuplediagnostics.junitxml
+++ b/tests/auto/testlib/selftests/expected_tuplediagnostics.junitxml
@@ -1,22 +1,22 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_TupleDiagnostics" tests="5" failures="2" errors="0">
+<testsuite name="tst_TupleDiagnostics" timestamp="@TEST_START_TIME@" tests="5" failures="2" errors="0" 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"/>
- <testcase name="testEmptyTuple" result="pass"/>
- <testcase name="testSimpleTuple" result="fail">
+ <testcase name="initTestCase" result="pass" time="@TEST_DURATION@"/>
+ <testcase name="testEmptyTuple" result="pass" time="@TEST_DURATION@"/>
+ <testcase name="testSimpleTuple" result="fail" time="@TEST_DURATION@">
<failure result="fail" message="Compared values are not the same
Actual (std::tuple&lt;int&gt;{1}): std::tuple(1)
Expected (std::tuple&lt;int&gt;{2}): std::tuple(2)"/>
</testcase>
- <testcase name="testTuple" result="fail">
+ <testcase name="testTuple" result="fail" time="@TEST_DURATION@">
<failure result="fail" message="Compared values are not the same
Actual (tuple1): std::tuple(42, &apos;Y&apos;, &quot;tuple1&quot;)
Expected (tuple2): std::tuple(42, &apos;Y&apos;, &quot;tuple2&quot;)"/>
</testcase>
- <testcase name="cleanupTestCase" result="pass"/>
+ <testcase name="cleanupTestCase" result="pass" time="@TEST_DURATION@"/>
<system-err/>
</testsuite>