summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests/expected_blacklisted.junitxml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/testlib/selftests/expected_blacklisted.junitxml')
-rw-r--r--tests/auto/testlib/selftests/expected_blacklisted.junitxml64
1 files changed, 38 insertions, 26 deletions
diff --git a/tests/auto/testlib/selftests/expected_blacklisted.junitxml b/tests/auto/testlib/selftests/expected_blacklisted.junitxml
index a9779140fb..5f7eb749cc 100644
--- a/tests/auto/testlib/selftests/expected_blacklisted.junitxml
+++ b/tests/auto/testlib/selftests/expected_blacklisted.junitxml
@@ -1,35 +1,47 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite name="tst_Blacklisted" timestamp="@TEST_START_TIME@" tests="7" failures="3" errors="8" time="@TEST_DURATION@">
+<testsuite name="tst_Blacklisted" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="13" 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@"/>
<property name="QtBuild" value=""/>
</properties>
- <testcase name="initTestCase" result="pass" time="@TEST_DURATION@"/>
- <testcase name="pass" result="bpass" time="@TEST_DURATION@"/>
- <testcase name="skip" time="@TEST_DURATION@">
- <!-- type="skip" message="This test should SKIP" -->
+ <testcase name="initTestCase" classname="tst_Blacklisted" time="@TEST_DURATION@"/>
+ <testcase name="pass" classname="tst_Blacklisted" time="@TEST_DURATION@">
+ <system-out>
+ <![CDATA[This test should BPASS]]>
+ </system-out>
</testcase>
- <testcase name="fail" result="bfail" time="@TEST_DURATION@"/>
- <testcase name="xfail" result="bxfail" time="@TEST_DURATION@"/>
- <testcase name="xpass" result="bxpass" time="@TEST_DURATION@"/>
- <testcase name="messages" result="bfail" time="@TEST_DURATION@">
- <!-- type="qwarn" message="This is a warning that should not appear in silent test output" -->
- <!-- type="warn" message="This is an internal testlib warning that should not appear in silent test output" -->
- <!-- type="qdebug" message="This is a debug message that should not appear in silent test output" -->
- <!-- type="system" message="This is a critical message that should not appear in silent test output" -->
- <!-- type="qinfo" message="This is an info message that should not appear in silent test output" -->
- <!-- type="info" message="This is an internal testlib info message that should not appear in silent test output" -->
- <!-- type="qfatal" message="This is a fatal error message that should still appear in silent test output" -->
+ <testcase name="skip" classname="tst_Blacklisted" time="@TEST_DURATION@">
+ <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@"/>
+ <testcase name="multiSkip" classname="tst_Blacklisted" time="@TEST_DURATION@">
+ <skipped message="This skip should be repeated ten times"/>
+ <skipped message="This skip should be repeated ten times"/>
+ <skipped message="This skip should be repeated ten times"/>
+ <skipped message="This skip should be repeated ten times"/>
+ <skipped message="This skip should be repeated ten times"/>
+ <skipped message="This skip should be repeated ten times"/>
+ <skipped message="This skip should be repeated ten times"/>
+ <skipped message="This skip should be repeated ten times"/>
+ <skipped message="This skip should be repeated ten times"/>
+ <skipped message="This skip should be repeated ten times"/>
+ <skipped message="But this test should only contribute one to the skip count"/>
+ </testcase>
+ <testcase name="multiFail" classname="tst_Blacklisted" time="@TEST_DURATION@"/>
+ <testcase name="xfailContinueSkip" classname="tst_Blacklisted" time="@TEST_DURATION@">
+ <skipped message="This skip should be seen and counted"/>
+ </testcase>
+ <testcase name="xfailContinueFail" classname="tst_Blacklisted" time="@TEST_DURATION@"/>
+ <testcase name="xpass" classname="tst_Blacklisted" time="@TEST_DURATION@"/>
+ <testcase name="xpassContinueSkip" classname="tst_Blacklisted" time="@TEST_DURATION@">
+ <skipped message="This skip should be seen but not counted"/>
+ </testcase>
+ <testcase name="xpassContinueFail" classname="tst_Blacklisted" time="@TEST_DURATION@"/>
+ <testcase name="cleanupTestCase" classname="tst_Blacklisted" time="@TEST_DURATION@">
+ <system-out>
+ <![CDATA[Totals should add up to 13: 2 passed, 0 failed, 3 skipped, 8 blacklisted]]>
+ </system-out>
</testcase>
- <system-err>
-<![CDATA[This test should SKIP]]>
-<![CDATA[This is a warning that should not appear in silent test output]]>
-<![CDATA[This is an internal testlib warning that should not appear in silent test output]]>
-<![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]]>
-<![CDATA[This is an internal testlib info message that should not appear in silent test output]]>
-<![CDATA[This is a fatal error message that should still appear in silent test output]]>
- </system-err>
</testsuite>