0
|
1 |
<?xml version="1.0" encoding="UTF-8" ?>
|
|
2 |
<testsuite errors="5" failures="3" tests="9" name="tst_Xunit">
|
|
3 |
<properties>
|
|
4 |
<property value="4.6.0" name="QTestVersion"/>
|
|
5 |
<property value="4.6.0" name="QtVersion"/>
|
|
6 |
</properties>
|
|
7 |
<testcase result="pass" name="initTestCase"/>
|
|
8 |
<testcase result="pass" name="testFunc1">
|
|
9 |
<!-- message="just a QWARN() !" type="warn" -->
|
|
10 |
</testcase>
|
|
11 |
<testcase result="fail" name="testFunc2">
|
|
12 |
<!-- message="a qDebug() call with comment-ending stuff -->" type="qdebug" -->
|
|
13 |
<failure message="Compared values are not the same
|
|
14 |
Actual (2): 2
|
|
15 |
Expected (3): 3" result="fail"/>
|
|
16 |
</testcase>
|
|
17 |
<testcase name="testFunc3">
|
|
18 |
<!-- message="skipping this function!" type="skip" -->
|
|
19 |
</testcase>
|
|
20 |
<testcase result="fail" name="testFunc4">
|
|
21 |
<failure message="a forced failure!" result="fail"/>
|
|
22 |
</testcase>
|
|
23 |
<testcase result="xfail" name="testFunc5">
|
|
24 |
<!-- message="this failure is expected" type="info" -->
|
|
25 |
</testcase>
|
|
26 |
<testcase result="xfail" name="testFunc6">
|
|
27 |
<!-- message="this failure is also expected" type="info" -->
|
|
28 |
</testcase>
|
|
29 |
<testcase result="xpass" name="testFunc7">
|
|
30 |
<failure message="'true' returned FALSE. ()" result="xpass"/>
|
|
31 |
</testcase>
|
|
32 |
<testcase result="pass" name="cleanupTestCase"/>
|
|
33 |
<system-err>
|
|
34 |
<![CDATA[just a QWARN() !]]>
|
|
35 |
<![CDATA[a qDebug() call with comment-ending stuff -->]]>
|
|
36 |
<![CDATA[skipping this function!]]>
|
|
37 |
<![CDATA[this failure is expected]]>
|
|
38 |
<![CDATA[this failure is also expected]]>
|
|
39 |
</system-err>
|
|
40 |
</testsuite>
|