943ae8bb70
Make it possible to match messages by a pattern. Change-Id: I713312e86db5471755459f1ecc43e8f1ac7a95fb Reviewed-by: Jason McDonald <macadder1@gmail.com>
83 lines
3.1 KiB
Plaintext
83 lines
3.1 KiB
Plaintext
<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>
|
|
<Message type="qdebug" file="" line="0">
|
|
<Description><![CDATA[Bubublabla]]></Description>
|
|
</Message>
|
|
<Message type="qwarn" file="" line="0">
|
|
<Description><![CDATA[Babablabla]]></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="testMissingWarningsRegularExpression">
|
|
<Message type="info" file="" line="0">
|
|
<Description><![CDATA[Did not receive any message matching: "Warning\s\d"]]></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>
|