summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests/expected_warnings.xunitxml
blob: 7ea66522c620e920bcb7468f134768d03e61b30e (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
44
45
46
47
48
49
50
51
52
53
54
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite errors="15" failures="4" tests="6" name="tst_Warnings">
  <properties>
    <property value="@INSERT_QT_VERSION_HERE@" name="QTestVersion"/>
    <property value="@INSERT_QT_VERSION_HERE@" name="QtVersion"/>
    <property value="" name="QtBuild"/>
  </properties>
  <testcase result="pass" name="initTestCase"/>
  <testcase result="pass" name="testWarnings">
    <!-- message="Warning" type="qwarn" -->
    <!-- message="Warning" type="qwarn" -->
    <!-- message="Debug" type="qdebug" -->
    <!-- message="Debug" type="qdebug" -->
    <!-- message="Baba" type="qdebug" -->
    <!-- message="Baba" type="qdebug" -->
    <!-- message="Bubublabla" type="qdebug" -->
    <!-- message="Babablabla" type="qwarn" -->
  </testcase>
  <testcase result="fail" name="testMissingWarnings">
    <!-- message="Did not receive message: &quot;Warning0&quot;" type="info" -->
    <!-- message="Did not receive message: &quot;Warning1&quot;" type="info" -->
    <failure message="Not all expected messages were received" result="fail"/>
  </testcase>
  <testcase result="fail" name="testMissingWarningsRegularExpression">
    <!-- message="Did not receive any message matching: &quot;Warning\s\d&quot;" type="info" -->
    <failure message="Not all expected messages were received" result="fail"/>
  </testcase>
  <testcase result="fail" name="testMissingWarningsWithData">
    <!-- tag="first row" message="Did not receive message: &quot;Warning0&quot;" type="info" -->
    <!-- tag="first row" message="Did not receive message: &quot;Warning1&quot;" type="info" -->
    <failure tag="first row" message="Not all expected messages were received" result="fail"/>
    <!-- tag="second row" message="Did not receive message: &quot;Warning0&quot;" type="info" -->
    <!-- tag="second row" message="Did not receive message: &quot;Warning1&quot;" type="info" -->
    <failure tag="second row" message="Not all expected messages were received" result="fail"/>
  </testcase>
  <testcase result="pass" name="cleanupTestCase"/>
  <system-err>
<![CDATA[Warning]]>
<![CDATA[Warning]]>
<![CDATA[Debug]]>
<![CDATA[Debug]]>
<![CDATA[Baba]]>
<![CDATA[Baba]]>
<![CDATA[Bubublabla]]>
<![CDATA[Babablabla]]>
<![CDATA[Did not receive message: "Warning0"]]>
<![CDATA[Did not receive message: "Warning1"]]>
<![CDATA[Did not receive any message matching: "Warning\s\d"]]>
<![CDATA[Did not receive message: "Warning0"]]>
<![CDATA[Did not receive message: "Warning1"]]>
<![CDATA[Did not receive message: "Warning0"]]>
<![CDATA[Did not receive message: "Warning1"]]>
  </system-err>
</testsuite>