summaryrefslogtreecommitdiffstats
path: root/tests/auto/selftests/expected_xunit.xml
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2010-04-16 03:28:19 (GMT)
committerRohan McGovern <rohan.mcgovern@nokia.com>2010-04-19 07:31:22 (GMT)
commite1a8f3afc834ff3a148ca330ba5338f60e64e276 (patch)
tree882e1eb2dfc41b99b806a3af9cb6d0ae88d83903 /tests/auto/selftests/expected_xunit.xml
parent1f12c4824942949f3c030f7b2afd44cfac215417 (diff)
downloadQt-e1a8f3afc834ff3a148ca330ba5338f60e64e276.zip
Qt-e1a8f3afc834ff3a148ca330ba5338f60e64e276.tar.gz
Qt-e1a8f3afc834ff3a148ca330ba5338f60e64e276.tar.bz2
Extend testlib selftest to cover all loggers, not just plain text.
Diffstat (limited to 'tests/auto/selftests/expected_xunit.xml')
-rw-r--r--tests/auto/selftests/expected_xunit.xml56
1 files changed, 56 insertions, 0 deletions
diff --git a/tests/auto/selftests/expected_xunit.xml b/tests/auto/selftests/expected_xunit.xml
new file mode 100644
index 0000000..39c132b
--- /dev/null
+++ b/tests/auto/selftests/expected_xunit.xml
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<TestCase name="tst_Xunit">
+<Environment>
+ <QtVersion>4.6.3</QtVersion>
+ <QTestVersion>4.6.3</QTestVersion>
+</Environment>
+<TestFunction name="initTestCase">
+<Incident type="pass" file="" line="0" />
+</TestFunction>
+<TestFunction name="testFunc1">
+<Message type="warn" file="" line="0">
+ <Description><![CDATA[just a QWARN() !]]></Description>
+</Message>
+<Incident type="pass" file="" line="0" />
+</TestFunction>
+<TestFunction name="testFunc2">
+<Message type="qdebug" file="" line="0">
+ <Description><![CDATA[a qDebug() call with comment-ending stuff -->]]></Description>
+</Message>
+<Incident type="fail" file="/local/user_builds/qt/4.6/tests/auto/selftests/xunit/tst_xunit.cpp" line="74">
+ <Description><![CDATA[Compared values are not the same
+ Actual (2): 2
+ Expected (3): 3]]></Description>
+</Incident>
+</TestFunction>
+<TestFunction name="testFunc3">
+<Message type="skip" file="/local/user_builds/qt/4.6/tests/auto/selftests/xunit/tst_xunit.cpp" line="79">
+ <Description><![CDATA[skipping this function!]]></Description>
+</Message>
+</TestFunction>
+<TestFunction name="testFunc4">
+<Incident type="fail" file="/local/user_builds/qt/4.6/tests/auto/selftests/xunit/tst_xunit.cpp" line="84">
+ <Description><![CDATA[a forced failure!]]></Description>
+</Incident>
+</TestFunction>
+<TestFunction name="testFunc5">
+<Incident type="xfail" file="/local/user_builds/qt/4.6/tests/auto/selftests/xunit/tst_xunit.cpp" line="98">
+ <Description><![CDATA[this failure is expected]]></Description>
+</Incident>
+<Incident type="pass" file="" line="0" />
+</TestFunction>
+<TestFunction name="testFunc6">
+<Incident type="xfail" file="/local/user_builds/qt/4.6/tests/auto/selftests/xunit/tst_xunit.cpp" line="104">
+ <Description><![CDATA[this failure is also expected]]></Description>
+</Incident>
+<Incident type="pass" file="" line="0" />
+</TestFunction>
+<TestFunction name="testFunc7">
+<Incident type="xpass" file="/local/user_builds/qt/4.6/tests/auto/selftests/xunit/tst_xunit.cpp" line="110">
+ <Description><![CDATA['true' returned FALSE. ()]]></Description>
+</Incident>
+</TestFunction>
+<TestFunction name="cleanupTestCase">
+<Incident type="pass" file="" line="0" />
+</TestFunction>
+</TestCase>