summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests/expected_failfetchtype.junitxml
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2021-08-02 15:14:53 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2021-08-10 18:06:36 +0200
commit825e4291cd44b82c0566e86e60bb77f434196a44 (patch)
tree865c7072ea81424f1e18a226ed98f81bc701d73e /tests/auto/testlib/selftests/expected_failfetchtype.junitxml
parentdfabb5b6775b21b98ba86cb93cb0d41173878f1b (diff)
testlib: Produce <error> elements on fatal errors in JUnit reporter
Test errors represents unanticipated problems, e.g., an unhandled exception, or a problem with the implementation of the test. Pick-to: 6.2 Change-Id: I87219e7ffdea56862278f005de44526ad97545f0 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'tests/auto/testlib/selftests/expected_failfetchtype.junitxml')
-rw-r--r--tests/auto/testlib/selftests/expected_failfetchtype.junitxml9
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/auto/testlib/selftests/expected_failfetchtype.junitxml b/tests/auto/testlib/selftests/expected_failfetchtype.junitxml
index 58ad4e725f..f7c0bb72cb 100644
--- a/tests/auto/testlib/selftests/expected_failfetchtype.junitxml
+++ b/tests/auto/testlib/selftests/expected_failfetchtype.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_FailFetchType" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="2" failures="1" errors="0" skipped="0" time="@TEST_DURATION@">
+<testsuite name="tst_FailFetchType" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="2" failures="0" errors="1" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
@@ -7,11 +7,8 @@
</properties>
<testcase name="initTestCase" classname="tst_FailFetchType" time="@TEST_DURATION@"/>
<testcase name="fetch(bool)" classname="tst_FailFetchType" time="@TEST_DURATION@">
- <!-- type="qfatal" message="Requested type &apos;QString&apos; does not match available type &apos;bool&apos;." -->
- <failure type="fail" message="Received a fatal error."/>
+ <error type="qfatal" message="Requested type &apos;QString&apos; does not match available type &apos;bool&apos;."/>
</testcase>
<system-out/>
- <system-err>
- <![CDATA[Requested type 'QString' does not match available type 'bool'.]]>
- </system-err>
+ <system-err/>
</testsuite>