diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2021-08-02 15:14:53 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2021-08-10 18:06:36 +0200 |
commit | 825e4291cd44b82c0566e86e60bb77f434196a44 (patch) | |
tree | 865c7072ea81424f1e18a226ed98f81bc701d73e /tests/auto/testlib/selftests/expected_failfetchtype.junitxml | |
parent | dfabb5b6775b21b98ba86cb93cb0d41173878f1b (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.junitxml | 9 |
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 'QString' does not match available type 'bool'." --> - <failure type="fail" message="Received a fatal error."/> + <error type="qfatal" message="Requested type 'QString' does not match available type 'bool'."/> </testcase> <system-out/> - <system-err> - <![CDATA[Requested type 'QString' does not match available type 'bool'.]]> - </system-err> + <system-err/> </testsuite> |