summaryrefslogtreecommitdiff
path: root/tests/auto/selftests/expected_expectfail.xunitxml
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2010-04-16 13:28:19 +1000
committerRohan McGovern <rohan.mcgovern@nokia.com>2010-04-19 17:31:22 +1000
commite1a8f3afc834ff3a148ca330ba5338f60e64e276 (patch)
tree882e1eb2dfc41b99b806a3af9cb6d0ae88d83903 /tests/auto/selftests/expected_expectfail.xunitxml
parent1f12c4824942949f3c030f7b2afd44cfac215417 (diff)
downloadqt4-tools-e1a8f3afc834ff3a148ca330ba5338f60e64e276.tar.gz
Extend testlib selftest to cover all loggers, not just plain text.
Diffstat (limited to 'tests/auto/selftests/expected_expectfail.xunitxml')
-rw-r--r--tests/auto/selftests/expected_expectfail.xunitxml31
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/auto/selftests/expected_expectfail.xunitxml b/tests/auto/selftests/expected_expectfail.xunitxml
new file mode 100644
index 0000000000..429093c319
--- /dev/null
+++ b/tests/auto/selftests/expected_expectfail.xunitxml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<testsuite errors="7" failures="0" tests="5" name="tst_ExpectFail">
+ <properties>
+ <property value="4.6.3" name="QTestVersion"/>
+ <property value="4.6.3" name="QtVersion"/>
+ </properties>
+ <testcase result="pass" name="initTestCase"/>
+ <testcase result="xfail" name="expectAndContinue">
+ <!-- message="begin" type="qdebug" -->
+ <!-- message="This should xfail" type="info" -->
+ <!-- message="after" type="qdebug" -->
+ </testcase>
+ <testcase result="xfail" name="expectAndAbort">
+ <!-- message="begin" type="qdebug" -->
+ <!-- message="This should xfail" type="info" -->
+ </testcase>
+ <testcase result="xfail" name="xfailWithQString">
+ <!-- message="A string" type="info" -->
+ <!-- message="Bug 5 (The message)" type="info" -->
+ </testcase>
+ <testcase result="pass" name="cleanupTestCase"/>
+ <system-err>
+<![CDATA[begin]]>
+<![CDATA[This should xfail]]>
+<![CDATA[after]]>
+<![CDATA[begin]]>
+<![CDATA[This should xfail]]>
+<![CDATA[A string]]>
+<![CDATA[Bug 5 (The message)]]>
+ </system-err>
+</testsuite>