summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests/expected_warnings.xunitxml
blob: 5cca215f12da6494e8668fd04970b4cb00d68ec7 (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
55
56
57
58
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite errors="17" 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="Info" type="qinfo" -->
    <!-- message="Info" type="qinfo" -->
    <!-- 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[Info]]>
<![CDATA[Info]]>
<![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>