fbabbe63c5
Future-proofing. Since Qt source code is now mandated to be in UTF-8, it is entirely possible that someone will use non-ASCII in data tags. Though it would be interesting to see how to access them from the Windows command-line. Change-Id: I880fc312432b62143888ff1e1d9abbd54f704601 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
72 lines
2.6 KiB
XML
72 lines
2.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<TestCase name="tst_Warnings">
|
|
<Environment>
|
|
<QtVersion>@INSERT_QT_VERSION_HERE@</QtVersion>
|
|
<QTestVersion>@INSERT_QT_VERSION_HERE@</QTestVersion>
|
|
</Environment>
|
|
<TestFunction name="initTestCase">
|
|
<Incident type="pass" file="" line="0" />
|
|
</TestFunction>
|
|
<TestFunction name="testWarnings">
|
|
<Message type="qwarn" file="" line="0">
|
|
<Description><![CDATA[Warning]]></Description>
|
|
</Message>
|
|
<Message type="qwarn" file="" line="0">
|
|
<Description><![CDATA[Warning]]></Description>
|
|
</Message>
|
|
<Message type="qdebug" file="" line="0">
|
|
<Description><![CDATA[Debug]]></Description>
|
|
</Message>
|
|
<Message type="qdebug" file="" line="0">
|
|
<Description><![CDATA[Debug]]></Description>
|
|
</Message>
|
|
<Message type="qdebug" file="" line="0">
|
|
<Description><![CDATA[Baba]]></Description>
|
|
</Message>
|
|
<Message type="qdebug" file="" line="0">
|
|
<Description><![CDATA[Baba]]></Description>
|
|
</Message>
|
|
<Incident type="pass" file="" line="0" />
|
|
</TestFunction>
|
|
<TestFunction name="testMissingWarnings">
|
|
<Message type="info" file="" line="0">
|
|
<Description><![CDATA[Did not receive message: "Warning0"]]></Description>
|
|
</Message>
|
|
<Message type="info" file="" line="0">
|
|
<Description><![CDATA[Did not receive message: "Warning1"]]></Description>
|
|
</Message>
|
|
<Incident type="fail" file="" line="0">
|
|
<Description><![CDATA[Not all expected messages were received]]></Description>
|
|
</Incident>
|
|
</TestFunction>
|
|
<TestFunction name="testMissingWarningsWithData">
|
|
<Message type="info" file="" line="0">
|
|
<DataTag><![CDATA[first row]]></DataTag>
|
|
<Description><![CDATA[Did not receive message: "Warning0"]]></Description>
|
|
</Message>
|
|
<Message type="info" file="" line="0">
|
|
<DataTag><![CDATA[first row]]></DataTag>
|
|
<Description><![CDATA[Did not receive message: "Warning1"]]></Description>
|
|
</Message>
|
|
<Incident type="fail" file="" line="0">
|
|
<DataTag><![CDATA[first row]]></DataTag>
|
|
<Description><![CDATA[Not all expected messages were received]]></Description>
|
|
</Incident>
|
|
<Message type="info" file="" line="0">
|
|
<DataTag><![CDATA[second row]]></DataTag>
|
|
<Description><![CDATA[Did not receive message: "Warning0"]]></Description>
|
|
</Message>
|
|
<Message type="info" file="" line="0">
|
|
<DataTag><![CDATA[second row]]></DataTag>
|
|
<Description><![CDATA[Did not receive message: "Warning1"]]></Description>
|
|
</Message>
|
|
<Incident type="fail" file="" line="0">
|
|
<DataTag><![CDATA[second row]]></DataTag>
|
|
<Description><![CDATA[Not all expected messages were received]]></Description>
|
|
</Incident>
|
|
</TestFunction>
|
|
<TestFunction name="cleanupTestCase">
|
|
<Incident type="pass" file="" line="0" />
|
|
</TestFunction>
|
|
</TestCase>
|