summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests/expected_junit.junitxml
blob: 5ee63b5d9221a129d5523c7dc23b7a08af17da24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_JUnit" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="9" failures="3" errors="0" skipped="1" 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" classname="tst_JUnit" time="@TEST_DURATION@"/>
  <testcase name="testFunc1" classname="tst_JUnit" time="@TEST_DURATION@">
    <!-- type="qwarn" message="just a qWarning() !" -->
  </testcase>
  <testcase name="testFunc2" classname="tst_JUnit" time="@TEST_DURATION@">
    <!-- type="qdebug" message="a qDebug() call with comment&#x002D;ending stuff &#x002D;&#x002D;&gt;" -->
    <failure type="fail" message="Compared values are not the same">
      <![CDATA[   Actual   (2): 2
   Expected (3): 3]]>
    </failure>
  </testcase>
  <testcase name="testFunc3" classname="tst_JUnit" time="@TEST_DURATION@">
    <skipped message="skipping this function!"/>
  </testcase>
  <testcase name="testFunc4" classname="tst_JUnit" time="@TEST_DURATION@">
    <failure type="fail" message="a forced failure!"/>
  </testcase>
  <testcase name="testFunc5" classname="tst_JUnit" time="@TEST_DURATION@">
    <!-- type="info" message="this failure is expected" -->
  </testcase>
  <testcase name="testFunc6" classname="tst_JUnit" time="@TEST_DURATION@">
    <!-- type="info" message="this failure is also expected" -->
  </testcase>
  <testcase name="testFunc7" classname="tst_JUnit" time="@TEST_DURATION@">
    <failure type="xpass" message="&apos;true&apos; returned TRUE unexpectedly. ()"/>
  </testcase>
  <testcase name="cleanupTestCase" classname="tst_JUnit" time="@TEST_DURATION@"/>
  <system-out>
    <![CDATA[a qDebug() call with comment-ending stuff -->]]>
    <![CDATA[this failure is expected]]>
    <![CDATA[this failure is also expected]]>
  </system-out>
  <system-err>
    <![CDATA[just a qWarning() !]]>
  </system-err>
</testsuite>