summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests/expected_fetchbogus.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_fetchbogus.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_fetchbogus.junitxml')
-rw-r--r--tests/auto/testlib/selftests/expected_fetchbogus.junitxml9
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/auto/testlib/selftests/expected_fetchbogus.junitxml b/tests/auto/testlib/selftests/expected_fetchbogus.junitxml
index ef9ac181ac..96f8df5fbd 100644
--- a/tests/auto/testlib/selftests/expected_fetchbogus.junitxml
+++ b/tests/auto/testlib/selftests/expected_fetchbogus.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_FetchBogus" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="2" failures="1" errors="0" skipped="0" time="@TEST_DURATION@">
+<testsuite name="tst_FetchBogus" 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_FetchBogus" time="@TEST_DURATION@"/>
<testcase name="fetchBogus(foo)" classname="tst_FetchBogus" time="@TEST_DURATION@">
- <!-- type="qfatal" message="QFETCH: Requested testdata &apos;bubu&apos; not available, check your _data function." -->
- <failure type="fail" message="Received a fatal error."/>
+ <error type="qfatal" message="QFETCH: Requested testdata &apos;bubu&apos; not available, check your _data function."/>
</testcase>
<system-out/>
- <system-err>
- <![CDATA[QFETCH: Requested testdata 'bubu' not available, check your _data function.]]>
- </system-err>
+ <system-err/>
</testsuite>