summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2021-07-29 17:37:58 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2021-08-05 03:58:50 +0200
commitfb16a66b71250f83a9249a0a04064f56d70c9fd3 (patch)
tree369dce7ece617e57442753a02be12ab559163bab /tests/auto/testlib/selftests
parent58f1c0c146aa678b8140cc17388b5e7f3997fcc6 (diff)
testlib: Report skipped tests in JUnit reporter as <skipped> elements
The Apache Ant and Surefire Maven specs document a <skipped> element that can be used to signify skipped test, with a corresponding total skipped test attribute on the <testsuite>. The element includes an optional message attribute, documented in the Surefire spec, and in the Ant source code, but not yet documented in the reverse-engineered Ant spec: https://github.com/windyroad/JUnit-Schema/pull/11 Pick-to: 6.2 Task-number: QTBUG-95424 Change-Id: Ib6417a41b9c328836f4017e6ebf7f7e9cd91288d Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'tests/auto/testlib/selftests')
-rw-r--r--tests/auto/testlib/selftests/expected_assert.junitxml2
-rw-r--r--tests/auto/testlib/selftests/expected_badxml.junitxml2
-rw-r--r--tests/auto/testlib/selftests/expected_benchlibcallgrind.junitxml8
-rw-r--r--tests/auto/testlib/selftests/expected_benchlibcounting.junitxml8
-rw-r--r--tests/auto/testlib/selftests/expected_benchlibeventcounter.junitxml2
-rw-r--r--tests/auto/testlib/selftests/expected_benchliboptions.junitxml6
-rw-r--r--tests/auto/testlib/selftests/expected_benchlibtickcounter.junitxml2
-rw-r--r--tests/auto/testlib/selftests/expected_benchlibwalltime.junitxml2
-rw-r--r--tests/auto/testlib/selftests/expected_blacklisted.junitxml5
-rw-r--r--tests/auto/testlib/selftests/expected_cmptest.junitxml2
-rw-r--r--tests/auto/testlib/selftests/expected_commandlinedata.junitxml2
-rw-r--r--tests/auto/testlib/selftests/expected_counting.junitxml26
-rw-r--r--tests/auto/testlib/selftests/expected_datatable.junitxml2
-rw-r--r--tests/auto/testlib/selftests/expected_datetime.junitxml2
-rw-r--r--tests/auto/testlib/selftests/expected_exceptionthrow.junitxml2
-rw-r--r--tests/auto/testlib/selftests/expected_expectfail.junitxml2
-rw-r--r--tests/auto/testlib/selftests/expected_failcleanup.junitxml2
-rw-r--r--tests/auto/testlib/selftests/expected_faildatatype.junitxml2
-rw-r--r--tests/auto/testlib/selftests/expected_failfetchtype.junitxml2
-rw-r--r--tests/auto/testlib/selftests/expected_failinit.junitxml2
-rw-r--r--tests/auto/testlib/selftests/expected_failinitdata.junitxml2
-rw-r--r--tests/auto/testlib/selftests/expected_fetchbogus.junitxml2
-rw-r--r--tests/auto/testlib/selftests/expected_findtestdata.junitxml2
-rw-r--r--tests/auto/testlib/selftests/expected_globaldata.junitxml23
-rw-r--r--tests/auto/testlib/selftests/expected_junit.junitxml5
-rw-r--r--tests/auto/testlib/selftests/expected_keyboard.junitxml2
-rw-r--r--tests/auto/testlib/selftests/expected_longstring.junitxml2
-rw-r--r--tests/auto/testlib/selftests/expected_maxwarnings.junitxml2
-rw-r--r--tests/auto/testlib/selftests/expected_multiexec.junitxml10
-rw-r--r--tests/auto/testlib/selftests/expected_pairdiagnostics.junitxml2
-rw-r--r--tests/auto/testlib/selftests/expected_pass.junitxml2
-rw-r--r--tests/auto/testlib/selftests/expected_qexecstringlist.junitxml2
-rw-r--r--tests/auto/testlib/selftests/expected_signaldumper.junitxml2
-rw-r--r--tests/auto/testlib/selftests/expected_silent.junitxml5
-rw-r--r--tests/auto/testlib/selftests/expected_singleskip.junitxml8
-rw-r--r--tests/auto/testlib/selftests/expected_skip.junitxml11
-rw-r--r--tests/auto/testlib/selftests/expected_skipcleanup.junitxml8
-rw-r--r--tests/auto/testlib/selftests/expected_skipinit.junitxml8
-rw-r--r--tests/auto/testlib/selftests/expected_skipinitdata.junitxml8
-rw-r--r--tests/auto/testlib/selftests/expected_sleep.junitxml2
-rw-r--r--tests/auto/testlib/selftests/expected_strcmp.junitxml2
-rw-r--r--tests/auto/testlib/selftests/expected_subtest.junitxml2
-rw-r--r--tests/auto/testlib/selftests/expected_testlib.junitxml2
-rw-r--r--tests/auto/testlib/selftests/expected_tuplediagnostics.junitxml2
-rw-r--r--tests/auto/testlib/selftests/expected_verbose1.junitxml26
-rw-r--r--tests/auto/testlib/selftests/expected_verbose2.junitxml26
-rw-r--r--tests/auto/testlib/selftests/expected_verifyexceptionthrown.junitxml2
-rw-r--r--tests/auto/testlib/selftests/expected_warnings.junitxml2
-rw-r--r--tests/auto/testlib/selftests/expected_watchdog.junitxml2
49 files changed, 104 insertions, 153 deletions
diff --git a/tests/auto/testlib/selftests/expected_assert.junitxml b/tests/auto/testlib/selftests/expected_assert.junitxml
index 1af0124166..dd99920fa1 100644
--- a/tests/auto/testlib/selftests/expected_assert.junitxml
+++ b/tests/auto/testlib/selftests/expected_assert.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_Assert" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="1" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_Assert" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="1" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
diff --git a/tests/auto/testlib/selftests/expected_badxml.junitxml b/tests/auto/testlib/selftests/expected_badxml.junitxml
index 9483c5e01c..93fe8d73f0 100644
--- a/tests/auto/testlib/selftests/expected_badxml.junitxml
+++ b/tests/auto/testlib/selftests/expected_badxml.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_BadXml" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="16" failures="5" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_BadXml" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="16" failures="5" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
diff --git a/tests/auto/testlib/selftests/expected_benchlibcallgrind.junitxml b/tests/auto/testlib/selftests/expected_benchlibcallgrind.junitxml
index e0e1d7fe6d..e2309d583f 100644
--- a/tests/auto/testlib/selftests/expected_benchlibcallgrind.junitxml
+++ b/tests/auto/testlib/selftests/expected_benchlibcallgrind.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_BenchlibCallgrind" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_BenchlibCallgrind" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" skipped="1" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
@@ -7,11 +7,9 @@
</properties>
<testcase name="initTestCase" classname="tst_BenchlibCallgrind" time="@TEST_DURATION@"/>
<testcase name="twoHundredMillionInstructions" classname="tst_BenchlibCallgrind" time="@TEST_DURATION@">
- <!-- type="skip" message="This test is only defined for gcc and x86." -->
+ <skipped message="This test is only defined for gcc and x86."/>
</testcase>
<testcase name="cleanupTestCase" classname="tst_BenchlibCallgrind" time="@TEST_DURATION@"/>
- <system-out>
-<![CDATA[This test is only defined for gcc and x86.]]>
- </system-out>
+ <system-out/>
<system-err/>
</testsuite>
diff --git a/tests/auto/testlib/selftests/expected_benchlibcounting.junitxml b/tests/auto/testlib/selftests/expected_benchlibcounting.junitxml
index ee308c0554..c542a491cc 100644
--- a/tests/auto/testlib/selftests/expected_benchlibcounting.junitxml
+++ b/tests/auto/testlib/selftests/expected_benchlibcounting.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_BenchlibCounting" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="5" failures="1" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_BenchlibCounting" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="5" failures="1" errors="0" skipped="1" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
@@ -8,14 +8,12 @@
<testcase name="initTestCase" classname="tst_BenchlibCounting" time="@TEST_DURATION@"/>
<testcase name="passingBenchmark" classname="tst_BenchlibCounting" time="@TEST_DURATION@"/>
<testcase name="skippingBenchmark" classname="tst_BenchlibCounting" time="@TEST_DURATION@">
- <!-- type="skip" message="This is a skipping benchmark" -->
+ <skipped message="This is a skipping benchmark"/>
</testcase>
<testcase name="failingBenchmark" classname="tst_BenchlibCounting" time="@TEST_DURATION@">
<failure type="fail" message="This is a failing benchmark"/>
</testcase>
<testcase name="cleanupTestCase" classname="tst_BenchlibCounting" time="@TEST_DURATION@"/>
- <system-out>
-<![CDATA[This is a skipping benchmark]]>
- </system-out>
+ <system-out/>
<system-err/>
</testsuite>
diff --git a/tests/auto/testlib/selftests/expected_benchlibeventcounter.junitxml b/tests/auto/testlib/selftests/expected_benchlibeventcounter.junitxml
index 059299b017..9dccff69a4 100644
--- a/tests/auto/testlib/selftests/expected_benchlibeventcounter.junitxml
+++ b/tests/auto/testlib/selftests/expected_benchlibeventcounter.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_BenchlibEventCounter" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="9" failures="0" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_BenchlibEventCounter" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="9" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
diff --git a/tests/auto/testlib/selftests/expected_benchliboptions.junitxml b/tests/auto/testlib/selftests/expected_benchliboptions.junitxml
index b2546057da..d7269f7b55 100644
--- a/tests/auto/testlib/selftests/expected_benchliboptions.junitxml
+++ b/tests/auto/testlib/selftests/expected_benchliboptions.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_BenchlibOptions" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_BenchlibOptions" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
@@ -12,7 +12,7 @@
<system-err/>
</testsuite>
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_BenchlibFifteenIterations" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_BenchlibFifteenIterations" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
@@ -25,7 +25,7 @@
<system-err/>
</testsuite>
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_BenchlibOneHundredMinimum" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_BenchlibOneHundredMinimum" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
diff --git a/tests/auto/testlib/selftests/expected_benchlibtickcounter.junitxml b/tests/auto/testlib/selftests/expected_benchlibtickcounter.junitxml
index 7ad245c7ee..afb0a97b8b 100644
--- a/tests/auto/testlib/selftests/expected_benchlibtickcounter.junitxml
+++ b/tests/auto/testlib/selftests/expected_benchlibtickcounter.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_BenchlibTickCounter" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_BenchlibTickCounter" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
diff --git a/tests/auto/testlib/selftests/expected_benchlibwalltime.junitxml b/tests/auto/testlib/selftests/expected_benchlibwalltime.junitxml
index 1c525faf8d..6ca6fd40dc 100644
--- a/tests/auto/testlib/selftests/expected_benchlibwalltime.junitxml
+++ b/tests/auto/testlib/selftests/expected_benchlibwalltime.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_BenchlibWalltime" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="5" failures="0" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_BenchlibWalltime" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="5" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
diff --git a/tests/auto/testlib/selftests/expected_blacklisted.junitxml b/tests/auto/testlib/selftests/expected_blacklisted.junitxml
index 823b6667fa..cf32c0fa55 100644
--- a/tests/auto/testlib/selftests/expected_blacklisted.junitxml
+++ b/tests/auto/testlib/selftests/expected_blacklisted.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_Blacklisted" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="7" failures="3" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_Blacklisted" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="7" failures="3" errors="0" skipped="1" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
@@ -8,7 +8,7 @@
<testcase name="initTestCase" classname="tst_Blacklisted" time="@TEST_DURATION@"/>
<testcase name="pass" classname="tst_Blacklisted" time="@TEST_DURATION@"/>
<testcase name="skip" classname="tst_Blacklisted" time="@TEST_DURATION@">
- <!-- type="skip" message="This test should SKIP" -->
+ <skipped message="This test should SKIP"/>
</testcase>
<testcase name="fail" classname="tst_Blacklisted" time="@TEST_DURATION@"/>
<testcase name="xfail" classname="tst_Blacklisted" time="@TEST_DURATION@"/>
@@ -23,7 +23,6 @@
<!-- type="qfatal" message="This is a fatal error message that should still appear in silent test output" -->
</testcase>
<system-out>
-<![CDATA[This test should SKIP]]>
<![CDATA[This is a debug message that should not appear in silent test output]]>
<![CDATA[This is a critical message that should not appear in silent test output]]>
<![CDATA[This is an info message that should not appear in silent test output]]>
diff --git a/tests/auto/testlib/selftests/expected_cmptest.junitxml b/tests/auto/testlib/selftests/expected_cmptest.junitxml
index be8a0f36fe..153e3878b4 100644
--- a/tests/auto/testlib/selftests/expected_cmptest.junitxml
+++ b/tests/auto/testlib/selftests/expected_cmptest.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_Cmptest" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="67" failures="46" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_Cmptest" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="67" failures="46" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
diff --git a/tests/auto/testlib/selftests/expected_commandlinedata.junitxml b/tests/auto/testlib/selftests/expected_commandlinedata.junitxml
index b0e686d7b7..e590d77f08 100644
--- a/tests/auto/testlib/selftests/expected_commandlinedata.junitxml
+++ b/tests/auto/testlib/selftests/expected_commandlinedata.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_DataTable" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="9" failures="0" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_DataTable" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="9" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
diff --git a/tests/auto/testlib/selftests/expected_counting.junitxml b/tests/auto/testlib/selftests/expected_counting.junitxml
index 19dcb2fcc1..79b4f5df96 100644
--- a/tests/auto/testlib/selftests/expected_counting.junitxml
+++ b/tests/auto/testlib/selftests/expected_counting.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_Counting" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="32" failures="8" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_Counting" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="32" failures="8" errors="0" skipped="8" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
@@ -10,24 +10,24 @@
<testcase name="testPassPass(row 2)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testPassSkip(row 1)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testPassSkip(row 2)" classname="tst_Counting" time="@TEST_DURATION@">
- <!-- type="skip" message="Skipping" -->
+ <skipped message="Skipping"/>
</testcase>
<testcase name="testPassFail(row 1)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testPassFail(row 2)" classname="tst_Counting" time="@TEST_DURATION@">
<failure type="fail" message="&apos;false&apos; returned FALSE. ()"/>
</testcase>
<testcase name="testSkipPass(row 1)" classname="tst_Counting" time="@TEST_DURATION@">
- <!-- type="skip" message="Skipping" -->
+ <skipped message="Skipping"/>
</testcase>
<testcase name="testSkipPass(row 2)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testSkipSkip(row 1)" classname="tst_Counting" time="@TEST_DURATION@">
- <!-- type="skip" message="Skipping" -->
+ <skipped message="Skipping"/>
</testcase>
<testcase name="testSkipSkip(row 2)" classname="tst_Counting" time="@TEST_DURATION@">
- <!-- type="skip" message="Skipping" -->
+ <skipped message="Skipping"/>
</testcase>
<testcase name="testSkipFail(row 1)" classname="tst_Counting" time="@TEST_DURATION@">
- <!-- type="skip" message="Skipping" -->
+ <skipped message="Skipping"/>
</testcase>
<testcase name="testSkipFail(row 2)" classname="tst_Counting" time="@TEST_DURATION@">
<failure type="fail" message="&apos;false&apos; returned FALSE. ()"/>
@@ -40,7 +40,7 @@
<failure type="fail" message="&apos;false&apos; returned FALSE. ()"/>
</testcase>
<testcase name="testFailSkip(row 2)" classname="tst_Counting" time="@TEST_DURATION@">
- <!-- type="skip" message="Skipping" -->
+ <skipped message="Skipping"/>
</testcase>
<testcase name="testFailFail(row 1)" classname="tst_Counting" time="@TEST_DURATION@">
<failure type="fail" message="&apos;false&apos; returned FALSE. ()"/>
@@ -61,27 +61,19 @@
<testcase name="testFailInCleanup(after)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testSkipInInit(before)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testSkipInInit(skip)" classname="tst_Counting" time="@TEST_DURATION@">
- <!-- type="skip" message="Skip in init()" -->
+ <skipped message="Skip in init()"/>
</testcase>
<testcase name="testSkipInInit(after)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testSkipInCleanup(before)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testSkipInCleanup(skip)" classname="tst_Counting" time="@TEST_DURATION@">
<!-- type="qdebug" message="This test function should execute and then QSKIP in cleanup()" -->
- <!-- type="skip" message="Skip in cleanup()" -->
+ <skipped message="Skip in cleanup()"/>
</testcase>
<testcase name="testSkipInCleanup(after)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="cleanupTestCase" classname="tst_Counting" time="@TEST_DURATION@"/>
<system-out>
-<![CDATA[Skipping]]>
-<![CDATA[Skipping]]>
-<![CDATA[Skipping]]>
-<![CDATA[Skipping]]>
-<![CDATA[Skipping]]>
-<![CDATA[Skipping]]>
<![CDATA[This test function should execute and then QFAIL in cleanup()]]>
-<![CDATA[Skip in init()]]>
<![CDATA[This test function should execute and then QSKIP in cleanup()]]>
-<![CDATA[Skip in cleanup()]]>
</system-out>
<system-err/>
</testsuite>
diff --git a/tests/auto/testlib/selftests/expected_datatable.junitxml b/tests/auto/testlib/selftests/expected_datatable.junitxml
index 179309d840..0a93844146 100644
--- a/tests/auto/testlib/selftests/expected_datatable.junitxml
+++ b/tests/auto/testlib/selftests/expected_datatable.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_DataTable" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="34" failures="13" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_DataTable" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="34" failures="13" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
diff --git a/tests/auto/testlib/selftests/expected_datetime.junitxml b/tests/auto/testlib/selftests/expected_datetime.junitxml
index 4d69961f0d..610fc13e34 100644
--- a/tests/auto/testlib/selftests/expected_datetime.junitxml
+++ b/tests/auto/testlib/selftests/expected_datetime.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_DateTime" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="7" failures="3" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_DateTime" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="7" failures="3" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
diff --git a/tests/auto/testlib/selftests/expected_exceptionthrow.junitxml b/tests/auto/testlib/selftests/expected_exceptionthrow.junitxml
index fba0ecdbd3..8f0b6410f2 100644
--- a/tests/auto/testlib/selftests/expected_exceptionthrow.junitxml
+++ b/tests/auto/testlib/selftests/expected_exceptionthrow.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_Exception" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="2" failures="1" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_Exception" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="2" failures="1" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
diff --git a/tests/auto/testlib/selftests/expected_expectfail.junitxml b/tests/auto/testlib/selftests/expected_expectfail.junitxml
index 6058ee5a85..a7b3f48ec4 100644
--- a/tests/auto/testlib/selftests/expected_expectfail.junitxml
+++ b/tests/auto/testlib/selftests/expected_expectfail.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_ExpectFail" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="24" failures="6" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_ExpectFail" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="24" failures="6" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
diff --git a/tests/auto/testlib/selftests/expected_failcleanup.junitxml b/tests/auto/testlib/selftests/expected_failcleanup.junitxml
index 2234e999fb..059353c7df 100644
--- a/tests/auto/testlib/selftests/expected_failcleanup.junitxml
+++ b/tests/auto/testlib/selftests/expected_failcleanup.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_FailCleanup" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="1" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_FailCleanup" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="1" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
diff --git a/tests/auto/testlib/selftests/expected_faildatatype.junitxml b/tests/auto/testlib/selftests/expected_faildatatype.junitxml
index 3b132c4c54..716033dab4 100644
--- a/tests/auto/testlib/selftests/expected_faildatatype.junitxml
+++ b/tests/auto/testlib/selftests/expected_faildatatype.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_FailDataType" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="2" failures="1" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_FailDataType" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="2" failures="1" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
diff --git a/tests/auto/testlib/selftests/expected_failfetchtype.junitxml b/tests/auto/testlib/selftests/expected_failfetchtype.junitxml
index 6241138083..4b89a97ae8 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" time="@TEST_DURATION@">
+<testsuite name="tst_FailFetchType" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="2" failures="1" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
diff --git a/tests/auto/testlib/selftests/expected_failinit.junitxml b/tests/auto/testlib/selftests/expected_failinit.junitxml
index 3540f8e2a4..f0a6d2f528 100644
--- a/tests/auto/testlib/selftests/expected_failinit.junitxml
+++ b/tests/auto/testlib/selftests/expected_failinit.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_FailInit" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="2" failures="1" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_FailInit" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="2" failures="1" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
diff --git a/tests/auto/testlib/selftests/expected_failinitdata.junitxml b/tests/auto/testlib/selftests/expected_failinitdata.junitxml
index c99a7d493f..b57d3f8fd3 100644
--- a/tests/auto/testlib/selftests/expected_failinitdata.junitxml
+++ b/tests/auto/testlib/selftests/expected_failinitdata.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_FailInitData" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="1" failures="1" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_FailInitData" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="1" failures="1" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
diff --git a/tests/auto/testlib/selftests/expected_fetchbogus.junitxml b/tests/auto/testlib/selftests/expected_fetchbogus.junitxml
index 72c4058e3d..5ee53fd1b9 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" time="@TEST_DURATION@">
+<testsuite name="tst_FetchBogus" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="2" failures="1" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
diff --git a/tests/auto/testlib/selftests/expected_findtestdata.junitxml b/tests/auto/testlib/selftests/expected_findtestdata.junitxml
index c21c3cfc81..8e5beb8965 100644
--- a/tests/auto/testlib/selftests/expected_findtestdata.junitxml
+++ b/tests/auto/testlib/selftests/expected_findtestdata.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="FindTestData" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" time="@TEST_DURATION@">
+<testsuite name="FindTestData" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
diff --git a/tests/auto/testlib/selftests/expected_globaldata.junitxml b/tests/auto/testlib/selftests/expected_globaldata.junitxml
index b8362ec6e4..7a2baf1f08 100644
--- a/tests/auto/testlib/selftests/expected_globaldata.junitxml
+++ b/tests/auto/testlib/selftests/expected_globaldata.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_globaldata" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="15" failures="0" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_globaldata" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="15" failures="0" errors="0" skipped="7" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
@@ -33,26 +33,26 @@
<!-- type="qdebug" message="cleanup testGlobal local=true" -->
</testcase>
<testcase name="skip" classname="tst_globaldata" time="@TEST_DURATION@">
- <!-- type="skip" message="skipping" -->
+ <skipped message="skipping"/>
</testcase>
<testcase name="skipLocal(global=false:local=false)" classname="tst_globaldata" time="@TEST_DURATION@">
<!-- type="qdebug" message="init skipLocal local=false" -->
- <!-- type="skip" message="skipping" -->
+ <skipped message="skipping"/>
<!-- type="qdebug" message="cleanup skipLocal local=false" -->
</testcase>
<testcase name="skipLocal(global=false:local=true)" classname="tst_globaldata" time="@TEST_DURATION@">
<!-- type="qdebug" message="init skipLocal local=true" -->
- <!-- type="skip" message="skipping" -->
+ <skipped message="skipping"/>
<!-- type="qdebug" message="cleanup skipLocal local=true" -->
</testcase>
<testcase name="skipLocal(global=true:local=false)" classname="tst_globaldata" time="@TEST_DURATION@">
<!-- type="qdebug" message="init skipLocal local=false" -->
- <!-- type="skip" message="skipping" -->
+ <skipped message="skipping"/>
<!-- type="qdebug" message="cleanup skipLocal local=false" -->
</testcase>
<testcase name="skipLocal(global=true:local=true)" classname="tst_globaldata" time="@TEST_DURATION@">
<!-- type="qdebug" message="init skipLocal local=true" -->
- <!-- type="skip" message="skipping" -->
+ <skipped message="skipping"/>
<!-- type="qdebug" message="cleanup skipLocal local=true" -->
</testcase>
<testcase name="skipSingle(global=false:local=false)" classname="tst_globaldata" time="@TEST_DURATION@">
@@ -62,12 +62,12 @@
</testcase>
<testcase name="skipSingle(global=false:local=true)" classname="tst_globaldata" time="@TEST_DURATION@">
<!-- type="qdebug" message="init skipSingle local=true" -->
- <!-- type="skip" message="Skipping" -->
+ <skipped message="Skipping"/>
<!-- type="qdebug" message="cleanup skipSingle local=true" -->
</testcase>
<testcase name="skipSingle(global=true:local=false)" classname="tst_globaldata" time="@TEST_DURATION@">
<!-- type="qdebug" message="init skipSingle local=false" -->
- <!-- type="skip" message="Skipping" -->
+ <skipped message="Skipping"/>
<!-- type="qdebug" message="cleanup skipSingle local=false" -->
</testcase>
<testcase name="skipSingle(global=true:local=true)" classname="tst_globaldata" time="@TEST_DURATION@">
@@ -96,27 +96,20 @@
<![CDATA[global: true]]>
<![CDATA[local: true]]>
<![CDATA[cleanup testGlobal local=true]]>
-<![CDATA[skipping]]>
<![CDATA[init skipLocal local=false]]>
-<![CDATA[skipping]]>
<![CDATA[cleanup skipLocal local=false]]>
<![CDATA[init skipLocal local=true]]>
-<![CDATA[skipping]]>
<![CDATA[cleanup skipLocal local=true]]>
<![CDATA[init skipLocal local=false]]>
-<![CDATA[skipping]]>
<![CDATA[cleanup skipLocal local=false]]>
<![CDATA[init skipLocal local=true]]>
-<![CDATA[skipping]]>
<![CDATA[cleanup skipLocal local=true]]>
<![CDATA[init skipSingle local=false]]>
<![CDATA[global: false local: false]]>
<![CDATA[cleanup skipSingle local=false]]>
<![CDATA[init skipSingle local=true]]>
-<![CDATA[Skipping]]>
<![CDATA[cleanup skipSingle local=true]]>
<![CDATA[init skipSingle local=false]]>
-<![CDATA[Skipping]]>
<![CDATA[cleanup skipSingle local=false]]>
<![CDATA[init skipSingle local=true]]>
<![CDATA[global: true local: true]]>
diff --git a/tests/auto/testlib/selftests/expected_junit.junitxml b/tests/auto/testlib/selftests/expected_junit.junitxml
index 30cc0d4976..c6c6e9affa 100644
--- a/tests/auto/testlib/selftests/expected_junit.junitxml
+++ b/tests/auto/testlib/selftests/expected_junit.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_JUnit" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="9" failures="3" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_JUnit" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="9" failures="3" errors="0" skipped="1" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
@@ -16,7 +16,7 @@
Expected (3): 3"/>
</testcase>
<testcase name="testFunc3" classname="tst_JUnit" time="@TEST_DURATION@">
- <!-- type="skip" message="skipping this function!" -->
+ <skipped message="skipping this function!"/>
</testcase>
<testcase name="testFunc4" classname="tst_JUnit" time="@TEST_DURATION@">
<failure type="fail" message="a forced failure!"/>
@@ -33,7 +33,6 @@
<testcase name="cleanupTestCase" classname="tst_JUnit" time="@TEST_DURATION@"/>
<system-out>
<![CDATA[a qDebug() call with comment-ending stuff -->]]>
-<![CDATA[skipping this function!]]>
<![CDATA[this failure is expected]]>
<![CDATA[this failure is also expected]]>
</system-out>
diff --git a/tests/auto/testlib/selftests/expected_keyboard.junitxml b/tests/auto/testlib/selftests/expected_keyboard.junitxml
index f3f15f8ea3..b34c710e24 100644
--- a/tests/auto/testlib/selftests/expected_keyboard.junitxml
+++ b/tests/auto/testlib/selftests/expected_keyboard.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_Keyboard" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_Keyboard" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
diff --git a/tests/auto/testlib/selftests/expected_longstring.junitxml b/tests/auto/testlib/selftests/expected_longstring.junitxml
index cdb953a861..613e38688d 100644
--- a/tests/auto/testlib/selftests/expected_longstring.junitxml
+++ b/tests/auto/testlib/selftests/expected_longstring.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_LongString" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="1" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_LongString" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="1" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
diff --git a/tests/auto/testlib/selftests/expected_maxwarnings.junitxml b/tests/auto/testlib/selftests/expected_maxwarnings.junitxml
index 052395d573..70a5eab0df 100644
--- a/tests/auto/testlib/selftests/expected_maxwarnings.junitxml
+++ b/tests/auto/testlib/selftests/expected_maxwarnings.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="MaxWarnings" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" time="@TEST_DURATION@">
+<testsuite name="MaxWarnings" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
diff --git a/tests/auto/testlib/selftests/expected_multiexec.junitxml b/tests/auto/testlib/selftests/expected_multiexec.junitxml
index dfc8e2afb3..0c0852aa1e 100644
--- a/tests/auto/testlib/selftests/expected_multiexec.junitxml
+++ b/tests/auto/testlib/selftests/expected_multiexec.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_Nothing" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_Nothing" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
@@ -12,7 +12,7 @@
<system-err/>
</testsuite>
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_Nothing" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_Nothing" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
@@ -25,7 +25,7 @@
<system-err/>
</testsuite>
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_Nothing" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_Nothing" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
@@ -38,7 +38,7 @@
<system-err/>
</testsuite>
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_Nothing" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_Nothing" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
@@ -51,7 +51,7 @@
<system-err/>
</testsuite>
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_Nothing" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_Nothing" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
diff --git a/tests/auto/testlib/selftests/expected_pairdiagnostics.junitxml b/tests/auto/testlib/selftests/expected_pairdiagnostics.junitxml
index f8d90cc14c..b3c115fa48 100644
--- a/tests/auto/testlib/selftests/expected_pairdiagnostics.junitxml
+++ b/tests/auto/testlib/selftests/expected_pairdiagnostics.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_PairDiagnostics" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="4" failures="2" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_PairDiagnostics" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="4" failures="2" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
diff --git a/tests/auto/testlib/selftests/expected_pass.junitxml b/tests/auto/testlib/selftests/expected_pass.junitxml
index 406e1c1f0d..7d9d034c27 100644
--- a/tests/auto/testlib/selftests/expected_pass.junitxml
+++ b/tests/auto/testlib/selftests/expected_pass.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_Pass" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="5" failures="0" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_Pass" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="5" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
diff --git a/tests/auto/testlib/selftests/expected_qexecstringlist.junitxml b/tests/auto/testlib/selftests/expected_qexecstringlist.junitxml
index a066bf6a5f..10b86be4a8 100644
--- a/tests/auto/testlib/selftests/expected_qexecstringlist.junitxml
+++ b/tests/auto/testlib/selftests/expected_qexecstringlist.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_QExecStringList" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="7" failures="0" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_QExecStringList" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="7" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
diff --git a/tests/auto/testlib/selftests/expected_signaldumper.junitxml b/tests/auto/testlib/selftests/expected_signaldumper.junitxml
index 396d11fb36..6b24c007e2 100644
--- a/tests/auto/testlib/selftests/expected_signaldumper.junitxml
+++ b/tests/auto/testlib/selftests/expected_signaldumper.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_Signaldumper" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="21" failures="0" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_Signaldumper" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="21" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
diff --git a/tests/auto/testlib/selftests/expected_silent.junitxml b/tests/auto/testlib/selftests/expected_silent.junitxml
index d05a3a0c7b..d2d2799b82 100644
--- a/tests/auto/testlib/selftests/expected_silent.junitxml
+++ b/tests/auto/testlib/selftests/expected_silent.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_Silent" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="7" failures="3" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_Silent" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="7" failures="3" errors="0" skipped="1" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
@@ -8,7 +8,7 @@
<testcase name="initTestCase" classname="tst_Silent" time="@TEST_DURATION@"/>
<testcase name="pass" classname="tst_Silent" time="@TEST_DURATION@"/>
<testcase name="skip" classname="tst_Silent" time="@TEST_DURATION@">
- <!-- type="skip" message="This test should skip" -->
+ <skipped message="This test should skip"/>
</testcase>
<testcase name="fail" classname="tst_Silent" time="@TEST_DURATION@">
<failure type="fail" message="&apos;false&apos; returned FALSE. (This test should fail)"/>
@@ -30,7 +30,6 @@
<failure type="fail" message="Received a fatal error."/>
</testcase>
<system-out>
-<![CDATA[This test should skip]]>
<![CDATA[This test should XFAIL]]>
<![CDATA[This is a debug message that should not appear in silent test output]]>
<![CDATA[This is a critical message that should not appear in silent test output]]>
diff --git a/tests/auto/testlib/selftests/expected_singleskip.junitxml b/tests/auto/testlib/selftests/expected_singleskip.junitxml
index 704c820d3f..b41884fc3e 100644
--- a/tests/auto/testlib/selftests/expected_singleskip.junitxml
+++ b/tests/auto/testlib/selftests/expected_singleskip.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_SingleSkip" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_SingleSkip" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" skipped="1" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
@@ -7,11 +7,9 @@
</properties>
<testcase name="initTestCase" classname="tst_SingleSkip" time="@TEST_DURATION@"/>
<testcase name="myTest" classname="tst_SingleSkip" time="@TEST_DURATION@">
- <!-- type="skip" message="skipping test" -->
+ <skipped message="skipping test"/>
</testcase>
<testcase name="cleanupTestCase" classname="tst_SingleSkip" time="@TEST_DURATION@"/>
- <system-out>
-<![CDATA[skipping test]]>
- </system-out>
+ <system-out/>
<system-err/>
</testsuite>
diff --git a/tests/auto/testlib/selftests/expected_skip.junitxml b/tests/auto/testlib/selftests/expected_skip.junitxml
index 1a09b2f06b..fccb7d856a 100644
--- a/tests/auto/testlib/selftests/expected_skip.junitxml
+++ b/tests/auto/testlib/selftests/expected_skip.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_Skip" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="6" failures="0" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_Skip" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="6" failures="0" errors="0" skipped="3" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
@@ -7,22 +7,19 @@
</properties>
<testcase name="initTestCase" classname="tst_Skip" time="@TEST_DURATION@"/>
<testcase name="test" classname="tst_Skip" time="@TEST_DURATION@">
- <!-- type="skip" message="skipping all" -->
+ <skipped message="skipping all"/>
</testcase>
<testcase name="emptytest" classname="tst_Skip" time="@TEST_DURATION@">
- <!-- type="skip" message="skipping all" -->
+ <skipped message="skipping all"/>
</testcase>
<testcase name="singleSkip(local 1)" classname="tst_Skip" time="@TEST_DURATION@">
- <!-- type="skip" message="skipping one" -->
+ <skipped message="skipping one"/>
</testcase>
<testcase name="singleSkip(local 2)" classname="tst_Skip" time="@TEST_DURATION@">
<!-- type="qdebug" message="this line should only be reached once (true)" -->
</testcase>
<testcase name="cleanupTestCase" classname="tst_Skip" time="@TEST_DURATION@"/>
<system-out>
-<![CDATA[skipping all]]>
-<![CDATA[skipping all]]>
-<![CDATA[skipping one]]>
<![CDATA[this line should only be reached once (true)]]>
</system-out>
<system-err/>
diff --git a/tests/auto/testlib/selftests/expected_skipcleanup.junitxml b/tests/auto/testlib/selftests/expected_skipcleanup.junitxml
index e8d1717016..4ae58e6e14 100644
--- a/tests/auto/testlib/selftests/expected_skipcleanup.junitxml
+++ b/tests/auto/testlib/selftests/expected_skipcleanup.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_SkipCleanup" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_SkipCleanup" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" skipped="1" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
@@ -8,10 +8,8 @@
<testcase name="initTestCase" classname="tst_SkipCleanup" time="@TEST_DURATION@"/>
<testcase name="aTestFunction" classname="tst_SkipCleanup" time="@TEST_DURATION@"/>
<testcase name="cleanupTestCase" classname="tst_SkipCleanup" time="@TEST_DURATION@">
- <!-- type="skip" message="Skip inside cleanupTestCase." -->
+ <skipped message="Skip inside cleanupTestCase."/>
</testcase>
- <system-out>
-<![CDATA[Skip inside cleanupTestCase.]]>
- </system-out>
+ <system-out/>
<system-err/>
</testsuite>
diff --git a/tests/auto/testlib/selftests/expected_skipinit.junitxml b/tests/auto/testlib/selftests/expected_skipinit.junitxml
index 803e5e2749..f7d2b5a124 100644
--- a/tests/auto/testlib/selftests/expected_skipinit.junitxml
+++ b/tests/auto/testlib/selftests/expected_skipinit.junitxml
@@ -1,16 +1,14 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_SkipInit" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="2" failures="0" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_SkipInit" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="2" failures="0" errors="0" skipped="1" 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" classname="tst_SkipInit" time="@TEST_DURATION@">
- <!-- type="skip" message="Skip inside initTestCase. This should skip all tests in the class." -->
+ <skipped message="Skip inside initTestCase. This should skip all tests in the class."/>
</testcase>
<testcase name="cleanupTestCase" classname="tst_SkipInit" time="@TEST_DURATION@"/>
- <system-out>
-<![CDATA[Skip inside initTestCase. This should skip all tests in the class.]]>
- </system-out>
+ <system-out/>
<system-err/>
</testsuite>
diff --git a/tests/auto/testlib/selftests/expected_skipinitdata.junitxml b/tests/auto/testlib/selftests/expected_skipinitdata.junitxml
index 497b9ec8cb..c434ee157a 100644
--- a/tests/auto/testlib/selftests/expected_skipinitdata.junitxml
+++ b/tests/auto/testlib/selftests/expected_skipinitdata.junitxml
@@ -1,15 +1,13 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_SkipInitData" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="1" failures="0" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_SkipInitData" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="1" failures="0" errors="0" skipped="1" 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" classname="tst_SkipInitData" time="@TEST_DURATION@">
- <!-- type="skip" message="Skip inside initTestCase_data. This should skip all tests in the class." -->
+ <skipped message="Skip inside initTestCase_data. This should skip all tests in the class."/>
</testcase>
- <system-out>
-<![CDATA[Skip inside initTestCase_data. This should skip all tests in the class.]]>
- </system-out>
+ <system-out/>
<system-err/>
</testsuite>
diff --git a/tests/auto/testlib/selftests/expected_sleep.junitxml b/tests/auto/testlib/selftests/expected_sleep.junitxml
index 1997144f21..ba6cfa8c3a 100644
--- a/tests/auto/testlib/selftests/expected_sleep.junitxml
+++ b/tests/auto/testlib/selftests/expected_sleep.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_Sleep" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="4" failures="0" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_Sleep" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="4" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
diff --git a/tests/auto/testlib/selftests/expected_strcmp.junitxml b/tests/auto/testlib/selftests/expected_strcmp.junitxml
index 0fa2a3851a..f21ee1f03a 100644
--- a/tests/auto/testlib/selftests/expected_strcmp.junitxml
+++ b/tests/auto/testlib/selftests/expected_strcmp.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_StrCmp" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="8" failures="5" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_StrCmp" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="8" failures="5" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
diff --git a/tests/auto/testlib/selftests/expected_subtest.junitxml b/tests/auto/testlib/selftests/expected_subtest.junitxml
index 0a67143b04..6d173bd389 100644
--- a/tests/auto/testlib/selftests/expected_subtest.junitxml
+++ b/tests/auto/testlib/selftests/expected_subtest.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_Subtest" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="9" failures="2" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_Subtest" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="9" failures="2" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
diff --git a/tests/auto/testlib/selftests/expected_testlib.junitxml b/tests/auto/testlib/selftests/expected_testlib.junitxml
index c26fbe54e1..1008c4ea70 100644
--- a/tests/auto/testlib/selftests/expected_testlib.junitxml
+++ b/tests/auto/testlib/selftests/expected_testlib.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_TestLib" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="10" failures="1" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_TestLib" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="10" failures="1" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
diff --git a/tests/auto/testlib/selftests/expected_tuplediagnostics.junitxml b/tests/auto/testlib/selftests/expected_tuplediagnostics.junitxml
index 23ea603c37..9c97826828 100644
--- a/tests/auto/testlib/selftests/expected_tuplediagnostics.junitxml
+++ b/tests/auto/testlib/selftests/expected_tuplediagnostics.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_TupleDiagnostics" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="5" failures="2" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_TupleDiagnostics" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="5" failures="2" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
diff --git a/tests/auto/testlib/selftests/expected_verbose1.junitxml b/tests/auto/testlib/selftests/expected_verbose1.junitxml
index 19dcb2fcc1..79b4f5df96 100644
--- a/tests/auto/testlib/selftests/expected_verbose1.junitxml
+++ b/tests/auto/testlib/selftests/expected_verbose1.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_Counting" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="32" failures="8" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_Counting" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="32" failures="8" errors="0" skipped="8" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
@@ -10,24 +10,24 @@
<testcase name="testPassPass(row 2)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testPassSkip(row 1)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testPassSkip(row 2)" classname="tst_Counting" time="@TEST_DURATION@">
- <!-- type="skip" message="Skipping" -->
+ <skipped message="Skipping"/>
</testcase>
<testcase name="testPassFail(row 1)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testPassFail(row 2)" classname="tst_Counting" time="@TEST_DURATION@">
<failure type="fail" message="&apos;false&apos; returned FALSE. ()"/>
</testcase>
<testcase name="testSkipPass(row 1)" classname="tst_Counting" time="@TEST_DURATION@">
- <!-- type="skip" message="Skipping" -->
+ <skipped message="Skipping"/>
</testcase>
<testcase name="testSkipPass(row 2)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testSkipSkip(row 1)" classname="tst_Counting" time="@TEST_DURATION@">
- <!-- type="skip" message="Skipping" -->
+ <skipped message="Skipping"/>
</testcase>
<testcase name="testSkipSkip(row 2)" classname="tst_Counting" time="@TEST_DURATION@">
- <!-- type="skip" message="Skipping" -->
+ <skipped message="Skipping"/>
</testcase>
<testcase name="testSkipFail(row 1)" classname="tst_Counting" time="@TEST_DURATION@">
- <!-- type="skip" message="Skipping" -->
+ <skipped message="Skipping"/>
</testcase>
<testcase name="testSkipFail(row 2)" classname="tst_Counting" time="@TEST_DURATION@">
<failure type="fail" message="&apos;false&apos; returned FALSE. ()"/>
@@ -40,7 +40,7 @@
<failure type="fail" message="&apos;false&apos; returned FALSE. ()"/>
</testcase>
<testcase name="testFailSkip(row 2)" classname="tst_Counting" time="@TEST_DURATION@">
- <!-- type="skip" message="Skipping" -->
+ <skipped message="Skipping"/>
</testcase>
<testcase name="testFailFail(row 1)" classname="tst_Counting" time="@TEST_DURATION@">
<failure type="fail" message="&apos;false&apos; returned FALSE. ()"/>
@@ -61,27 +61,19 @@
<testcase name="testFailInCleanup(after)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testSkipInInit(before)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testSkipInInit(skip)" classname="tst_Counting" time="@TEST_DURATION@">
- <!-- type="skip" message="Skip in init()" -->
+ <skipped message="Skip in init()"/>
</testcase>
<testcase name="testSkipInInit(after)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testSkipInCleanup(before)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testSkipInCleanup(skip)" classname="tst_Counting" time="@TEST_DURATION@">
<!-- type="qdebug" message="This test function should execute and then QSKIP in cleanup()" -->
- <!-- type="skip" message="Skip in cleanup()" -->
+ <skipped message="Skip in cleanup()"/>
</testcase>
<testcase name="testSkipInCleanup(after)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="cleanupTestCase" classname="tst_Counting" time="@TEST_DURATION@"/>
<system-out>
-<![CDATA[Skipping]]>
-<![CDATA[Skipping]]>
-<![CDATA[Skipping]]>
-<![CDATA[Skipping]]>
-<![CDATA[Skipping]]>
-<![CDATA[Skipping]]>
<![CDATA[This test function should execute and then QFAIL in cleanup()]]>
-<![CDATA[Skip in init()]]>
<![CDATA[This test function should execute and then QSKIP in cleanup()]]>
-<![CDATA[Skip in cleanup()]]>
</system-out>
<system-err/>
</testsuite>
diff --git a/tests/auto/testlib/selftests/expected_verbose2.junitxml b/tests/auto/testlib/selftests/expected_verbose2.junitxml
index cd61538f86..d7eef07366 100644
--- a/tests/auto/testlib/selftests/expected_verbose2.junitxml
+++ b/tests/auto/testlib/selftests/expected_verbose2.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_Counting" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="32" failures="8" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_Counting" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="32" failures="8" errors="0" skipped="8" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
@@ -19,7 +19,7 @@
<!-- type="info" message="QCOMPARE(2 + 1, 3)" -->
</testcase>
<testcase name="testPassSkip(row 2)" classname="tst_Counting" time="@TEST_DURATION@">
- <!-- type="skip" message="Skipping" -->
+ <skipped message="Skipping"/>
</testcase>
<testcase name="testPassFail(row 1)" classname="tst_Counting" time="@TEST_DURATION@">
<!-- type="info" message="QVERIFY(true)" -->
@@ -30,20 +30,20 @@
<failure type="fail" message="&apos;false&apos; returned FALSE. ()"/>
</testcase>
<testcase name="testSkipPass(row 1)" classname="tst_Counting" time="@TEST_DURATION@">
- <!-- type="skip" message="Skipping" -->
+ <skipped message="Skipping"/>
</testcase>
<testcase name="testSkipPass(row 2)" classname="tst_Counting" time="@TEST_DURATION@">
<!-- type="info" message="QVERIFY(true)" -->
<!-- type="info" message="QCOMPARE(2 + 1, 3)" -->
</testcase>
<testcase name="testSkipSkip(row 1)" classname="tst_Counting" time="@TEST_DURATION@">
- <!-- type="skip" message="Skipping" -->
+ <skipped message="Skipping"/>
</testcase>
<testcase name="testSkipSkip(row 2)" classname="tst_Counting" time="@TEST_DURATION@">
- <!-- type="skip" message="Skipping" -->
+ <skipped message="Skipping"/>
</testcase>
<testcase name="testSkipFail(row 1)" classname="tst_Counting" time="@TEST_DURATION@">
- <!-- type="skip" message="Skipping" -->
+ <skipped message="Skipping"/>
</testcase>
<testcase name="testSkipFail(row 2)" classname="tst_Counting" time="@TEST_DURATION@">
<!-- type="info" message="QVERIFY(false)" -->
@@ -62,7 +62,7 @@
<failure type="fail" message="&apos;false&apos; returned FALSE. ()"/>
</testcase>
<testcase name="testFailSkip(row 2)" classname="tst_Counting" time="@TEST_DURATION@">
- <!-- type="skip" message="Skipping" -->
+ <skipped message="Skipping"/>
</testcase>
<testcase name="testFailFail(row 1)" classname="tst_Counting" time="@TEST_DURATION@">
<!-- type="info" message="QVERIFY(false)" -->
@@ -85,13 +85,13 @@
<testcase name="testFailInCleanup(after)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testSkipInInit(before)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testSkipInInit(skip)" classname="tst_Counting" time="@TEST_DURATION@">
- <!-- type="skip" message="Skip in init()" -->
+ <skipped message="Skip in init()"/>
</testcase>
<testcase name="testSkipInInit(after)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testSkipInCleanup(before)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testSkipInCleanup(skip)" classname="tst_Counting" time="@TEST_DURATION@">
<!-- type="qdebug" message="This test function should execute and then QSKIP in cleanup()" -->
- <!-- type="skip" message="Skip in cleanup()" -->
+ <skipped message="Skip in cleanup()"/>
</testcase>
<testcase name="testSkipInCleanup(after)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="cleanupTestCase" classname="tst_Counting" time="@TEST_DURATION@"/>
@@ -102,28 +102,20 @@
<![CDATA[QCOMPARE(2 + 1, 3)]]>
<![CDATA[QVERIFY(true)]]>
<![CDATA[QCOMPARE(2 + 1, 3)]]>
-<![CDATA[Skipping]]>
<![CDATA[QVERIFY(true)]]>
<![CDATA[QCOMPARE(2 + 1, 3)]]>
<![CDATA[QVERIFY(false)]]>
-<![CDATA[Skipping]]>
<![CDATA[QVERIFY(true)]]>
<![CDATA[QCOMPARE(2 + 1, 3)]]>
-<![CDATA[Skipping]]>
-<![CDATA[Skipping]]>
-<![CDATA[Skipping]]>
<![CDATA[QVERIFY(false)]]>
<![CDATA[QVERIFY(false)]]>
<![CDATA[QVERIFY(true)]]>
<![CDATA[QCOMPARE(2 + 1, 3)]]>
<![CDATA[QVERIFY(false)]]>
-<![CDATA[Skipping]]>
<![CDATA[QVERIFY(false)]]>
<![CDATA[QVERIFY(false)]]>
<![CDATA[This test function should execute and then QFAIL in cleanup()]]>
-<![CDATA[Skip in init()]]>
<![CDATA[This test function should execute and then QSKIP in cleanup()]]>
-<![CDATA[Skip in cleanup()]]>
</system-out>
<system-err/>
</testsuite>
diff --git a/tests/auto/testlib/selftests/expected_verifyexceptionthrown.junitxml b/tests/auto/testlib/selftests/expected_verifyexceptionthrown.junitxml
index 1ad839080d..f1915fd3c3 100644
--- a/tests/auto/testlib/selftests/expected_verifyexceptionthrown.junitxml
+++ b/tests/auto/testlib/selftests/expected_verifyexceptionthrown.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_VerifyExceptionThrown" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="11" failures="6" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_VerifyExceptionThrown" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="11" failures="6" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
diff --git a/tests/auto/testlib/selftests/expected_warnings.junitxml b/tests/auto/testlib/selftests/expected_warnings.junitxml
index a8db9077f4..6d4a5a5967 100644
--- a/tests/auto/testlib/selftests/expected_warnings.junitxml
+++ b/tests/auto/testlib/selftests/expected_warnings.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_Warnings" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="7" failures="4" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_Warnings" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="7" failures="4" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
diff --git a/tests/auto/testlib/selftests/expected_watchdog.junitxml b/tests/auto/testlib/selftests/expected_watchdog.junitxml
index a5f7f07808..3fdca1841d 100644
--- a/tests/auto/testlib/selftests/expected_watchdog.junitxml
+++ b/tests/auto/testlib/selftests/expected_watchdog.junitxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_Watchdog" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="2" failures="1" errors="0" time="@TEST_DURATION@">
+<testsuite name="tst_Watchdog" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="2" failures="1" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>