2011-04-27 10:05:43 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2013-11-12 14:03:54 +00:00
|
|
|
<testsuite errors="15" failures="4" tests="6" name="tst_Warnings">
|
2011-04-27 10:05:43 +00:00
|
|
|
<properties>
|
|
|
|
<property value="@INSERT_QT_VERSION_HERE@" name="QTestVersion"/>
|
|
|
|
<property value="@INSERT_QT_VERSION_HERE@" name="QtVersion"/>
|
|
|
|
</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" -->
|
2013-11-12 14:03:54 +00:00
|
|
|
<!-- message="Bubublabla" type="qdebug" -->
|
|
|
|
<!-- message="Babablabla" type="qwarn" -->
|
2011-04-27 10:05:43 +00:00
|
|
|
</testcase>
|
|
|
|
<testcase result="fail" name="testMissingWarnings">
|
|
|
|
<!-- message="Did not receive message: "Warning0"" type="info" -->
|
|
|
|
<!-- message="Did not receive message: "Warning1"" type="info" -->
|
|
|
|
<failure message="Not all expected messages were received" result="fail"/>
|
|
|
|
</testcase>
|
2013-11-12 14:03:54 +00:00
|
|
|
<testcase result="fail" name="testMissingWarningsRegularExpression">
|
|
|
|
<!-- message="Did not receive any message matching: "Warning\s\d"" type="info" -->
|
|
|
|
<failure message="Not all expected messages were received" result="fail"/>
|
|
|
|
</testcase>
|
2012-02-01 06:39:14 +00:00
|
|
|
<testcase result="fail" name="testMissingWarningsWithData">
|
|
|
|
<!-- tag="first row" message="Did not receive message: "Warning0"" type="info" -->
|
|
|
|
<!-- tag="first row" message="Did not receive message: "Warning1"" type="info" -->
|
|
|
|
<failure tag="first row" message="Not all expected messages were received" result="fail"/>
|
|
|
|
<!-- tag="second row" message="Did not receive message: "Warning0"" type="info" -->
|
|
|
|
<!-- tag="second row" message="Did not receive message: "Warning1"" type="info" -->
|
|
|
|
<failure tag="second row" message="Not all expected messages were received" result="fail"/>
|
|
|
|
</testcase>
|
2011-04-27 10:05:43 +00:00
|
|
|
<testcase result="pass" name="cleanupTestCase"/>
|
|
|
|
<system-err>
|
|
|
|
<![CDATA[Warning]]>
|
|
|
|
<![CDATA[Warning]]>
|
|
|
|
<![CDATA[Debug]]>
|
|
|
|
<![CDATA[Debug]]>
|
|
|
|
<![CDATA[Baba]]>
|
|
|
|
<![CDATA[Baba]]>
|
2013-11-12 14:03:54 +00:00
|
|
|
<![CDATA[Bubublabla]]>
|
|
|
|
<![CDATA[Babablabla]]>
|
2011-04-27 10:05:43 +00:00
|
|
|
<![CDATA[Did not receive message: "Warning0"]]>
|
2012-02-01 06:39:14 +00:00
|
|
|
<![CDATA[Did not receive message: "Warning1"]]>
|
2013-11-12 14:03:54 +00:00
|
|
|
<![CDATA[Did not receive any message matching: "Warning\s\d"]]>
|
2012-02-01 06:39:14 +00:00
|
|
|
<![CDATA[Did not receive message: "Warning0"]]>
|
|
|
|
<![CDATA[Did not receive message: "Warning1"]]>
|
|
|
|
<![CDATA[Did not receive message: "Warning0"]]>
|
2011-04-27 10:05:43 +00:00
|
|
|
<![CDATA[Did not receive message: "Warning1"]]>
|
|
|
|
</system-err>
|
|
|
|
</testsuite>
|