diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2012-01-12 13:47:25 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-13 04:04:12 +0100 |
commit | 3dfdf34c1c3ce3a2348aedc4192956e5884a914b (patch) | |
tree | b7a4c00512177e5cd19f3499157bfde35c4a8e8f /tests/auto/testlib/selftests/expected_expectfail.xunitxml | |
parent | c373c538e8348ef84e08fd168a86b71863a9c145 (diff) |
Improve coverage of expectfail selftest
Add a test for the case where a call to QEXPECT_FAIL nominates a
different data row from the current row, in which case the call to
QEXPECT_FAIL should be ignored.
Change-Id: Iff774b89f9374fa26105acdd8769177272a95229
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/testlib/selftests/expected_expectfail.xunitxml')
-rw-r--r-- | tests/auto/testlib/selftests/expected_expectfail.xunitxml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/testlib/selftests/expected_expectfail.xunitxml b/tests/auto/testlib/selftests/expected_expectfail.xunitxml index e93cb03318..511b522c8b 100644 --- a/tests/auto/testlib/selftests/expected_expectfail.xunitxml +++ b/tests/auto/testlib/selftests/expected_expectfail.xunitxml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8" ?> -<testsuite errors="9" failures="2" tests="8" name="tst_ExpectFail"> +<testsuite errors="9" failures="2" tests="9" name="tst_ExpectFail"> <properties> <property value="@INSERT_QT_VERSION_HERE@" name="QTestVersion"/> <property value="@INSERT_QT_VERSION_HERE@" name="QtVersion"/> @@ -28,6 +28,7 @@ <!-- tag="Abort" message="This test should xfail" type="info" --> <!-- tag="Continue" message="This test should xfail" type="info" --> </testcase> + <testcase result="pass" name="expectOnWrongRow"/> <testcase result="pass" name="cleanupTestCase"/> <system-err> <![CDATA[begin]]> |