summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests/expected_warnings.junitxml
blob: 69000160b35151e82000cfbcee3a2c27eb6a5dc0 (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
59
60
61
62
63
64
65
66
67
68
69
70
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_Warnings" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="7" failures="4" errors="0" skipped="0" 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_Warnings" time="@TEST_DURATION@"/>
  <testcase name="testWarnings" classname="tst_Warnings" time="@TEST_DURATION@">
    <!-- type="qwarn" message="Warning" -->
    <!-- type="qwarn" message="Warning" -->
    <!-- type="qdebug" message="Debug" -->
    <!-- type="qdebug" message="Debug" -->
    <!-- type="qinfo" message="Info" -->
    <!-- type="qinfo" message="Info" -->
    <!-- type="qdebug" message="Baba" -->
    <!-- type="qdebug" message="Baba" -->
    <!-- type="qdebug" message="Bubublabla" -->
    <!-- type="qwarn" message="Babablabla" -->
    <system-out>
      <![CDATA[Debug]]>
      <![CDATA[Debug]]>
      <![CDATA[Info]]>
      <![CDATA[Info]]>
      <![CDATA[Baba]]>
      <![CDATA[Baba]]>
      <![CDATA[Bubublabla]]>
    </system-out>
    <system-err>
      <![CDATA[Warning]]>
      <![CDATA[Warning]]>
      <![CDATA[Babablabla]]>
    </system-err>
  </testcase>
  <testcase name="testMissingWarnings" classname="tst_Warnings" time="@TEST_DURATION@">
    <!-- type="info" message="Did not receive message: &quot;Warning0&quot;" -->
    <!-- type="info" message="Did not receive message: &quot;Warning1&quot;" -->
    <failure type="fail" message="Not all expected messages were received"/>
    <system-out>
      <![CDATA[Did not receive message: "Warning0"]]>
      <![CDATA[Did not receive message: "Warning1"]]>
    </system-out>
  </testcase>
  <testcase name="testMissingWarningsRegularExpression" classname="tst_Warnings" time="@TEST_DURATION@">
    <!-- type="info" message="Did not receive any message matching: &quot;Warning\s\d&quot;" -->
    <failure type="fail" message="Not all expected messages were received"/>
    <system-out>
      <![CDATA[Did not receive any message matching: "Warning\s\d"]]>
    </system-out>
  </testcase>
  <testcase name="testMissingWarningsWithData(first row)" classname="tst_Warnings" time="@TEST_DURATION@">
    <!-- type="info" message="Did not receive message: &quot;Warning0&quot;" -->
    <!-- type="info" message="Did not receive message: &quot;Warning1&quot;" -->
    <failure type="fail" message="Not all expected messages were received"/>
    <system-out>
      <![CDATA[Did not receive message: "Warning0"]]>
      <![CDATA[Did not receive message: "Warning1"]]>
    </system-out>
  </testcase>
  <testcase name="testMissingWarningsWithData(second row)" classname="tst_Warnings" time="@TEST_DURATION@">
    <!-- type="info" message="Did not receive message: &quot;Warning0&quot;" -->
    <!-- type="info" message="Did not receive message: &quot;Warning1&quot;" -->
    <failure type="fail" message="Not all expected messages were received"/>
    <system-out>
      <![CDATA[Did not receive message: "Warning0"]]>
      <![CDATA[Did not receive message: "Warning1"]]>
    </system-out>
  </testcase>
  <testcase name="cleanupTestCase" classname="tst_Warnings" time="@TEST_DURATION@"/>
</testsuite>