4d1dcaef19
Rename some of the test functions to improve consistency, and change the order so that all the xfail tests are together (some new xpass tests will be added later). Change-Id: Ice1ac5bf61bc26109bb0d08f72eb74e1a0424101 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
51 lines
1.9 KiB
XML
51 lines
1.9 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<testsuite errors="11" failures="2" tests="10" name="tst_ExpectFail">
|
|
<properties>
|
|
<property value="5.0.0" name="QTestVersion"/>
|
|
<property value="5.0.0" name="QtVersion"/>
|
|
</properties>
|
|
<testcase result="pass" name="initTestCase"/>
|
|
<testcase result="xfail" name="xfailAndContinue">
|
|
<!-- message="begin" type="qdebug" -->
|
|
<!-- message="This should xfail" type="info" -->
|
|
<!-- message="after" type="qdebug" -->
|
|
</testcase>
|
|
<testcase result="xfail" name="xfailAndAbort">
|
|
<!-- message="begin" type="qdebug" -->
|
|
<!-- message="This should xfail" type="info" -->
|
|
</testcase>
|
|
<testcase result="fail" name="xfailTwice">
|
|
<failure message="Already expecting a fail" result="fail"/>
|
|
</testcase>
|
|
<testcase result="xfail" name="xfailWithQString">
|
|
<!-- message="A string" type="info" -->
|
|
<!-- message="Bug 5 (The message)" type="info" -->
|
|
</testcase>
|
|
<testcase result="xfail" name="xfailDataDriven">
|
|
<!-- tag="Abort" message="This test should xfail" type="info" -->
|
|
<!-- tag="Continue" message="This test should xfail" type="info" -->
|
|
</testcase>
|
|
<testcase result="pass" name="xfailOnWrongRow"/>
|
|
<testcase result="xfail" name="xfailOnAnyRow">
|
|
<!-- tag="first row" message="This test should xfail" type="info" -->
|
|
<!-- tag="second row" message="This test should xfail" type="info" -->
|
|
</testcase>
|
|
<testcase result="xpass" name="xpass">
|
|
<failure message="'true' returned FALSE. ()" result="xpass"/>
|
|
</testcase>
|
|
<testcase result="pass" name="cleanupTestCase"/>
|
|
<system-err>
|
|
<![CDATA[begin]]>
|
|
<![CDATA[This should xfail]]>
|
|
<![CDATA[after]]>
|
|
<![CDATA[begin]]>
|
|
<![CDATA[This should xfail]]>
|
|
<![CDATA[A string]]>
|
|
<![CDATA[Bug 5 (The message)]]>
|
|
<![CDATA[This test should xfail]]>
|
|
<![CDATA[This test should xfail]]>
|
|
<![CDATA[This test should xfail]]>
|
|
<![CDATA[This test should xfail]]>
|
|
</system-err>
|
|
</testsuite>
|