summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests/expected_junit.junitxml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/testlib/selftests/expected_junit.junitxml')
-rw-r--r--tests/auto/testlib/selftests/expected_junit.junitxml43
1 files changed, 43 insertions, 0 deletions
diff --git a/tests/auto/testlib/selftests/expected_junit.junitxml b/tests/auto/testlib/selftests/expected_junit.junitxml
new file mode 100644
index 0000000000..b3591a6868
--- /dev/null
+++ b/tests/auto/testlib/selftests/expected_junit.junitxml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<testsuite name="tst_JUnit" timestamp="@TEST_START_TIME@" tests="9" failures="3" errors="5" 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="testFunc1" result="pass" time="@TEST_DURATION@">
+ <!-- type="warn" message="just a QWARN() !" -->
+ </testcase>
+ <testcase name="testFunc2" result="fail" time="@TEST_DURATION@">
+ <!-- type="qdebug" message="a qDebug() call with comment&#x002D;ending stuff &#x002D;&#x002D;&gt;" -->
+ <failure result="fail" message="Compared values are not the same
+ Actual (2): 2
+ Expected (3): 3"/>
+ </testcase>
+ <testcase name="testFunc3" time="@TEST_DURATION@">
+ <!-- type="skip" message="skipping this function!" -->
+ </testcase>
+ <testcase name="testFunc4" result="fail" time="@TEST_DURATION@">
+ <failure result="fail" message="a forced failure!"/>
+ </testcase>
+ <testcase name="testFunc5" result="xfail" time="@TEST_DURATION@">
+ <!-- type="info" message="this failure is expected" -->
+ </testcase>
+ <testcase name="testFunc6" result="xfail" time="@TEST_DURATION@">
+ <!-- type="info" message="this failure is also expected" -->
+ </testcase>
+ <testcase name="testFunc7" result="xpass" time="@TEST_DURATION@">
+ <failure result="xpass" message="&apos;true&apos; returned TRUE unexpectedly. ()"/>
+ </testcase>
+ <testcase name="cleanupTestCase" result="pass" 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>
+ <system-err>
+<![CDATA[just a QWARN() !]]>
+ </system-err>
+</testsuite>