Improve coverage of expectfail selftest
authorJason McDonald <jason.mcdonald@nokia.com>
Thu, 12 Jan 2012 04:57:08 +0000 (14:57 +1000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 13 Jan 2012 03:04:17 +0000 (04:04 +0100)
commit0528d9dca7ec14e39bcae93c975069a517954e2e
treee94758447f82308655c69b6d24c84bd836178b7c
parent3dfdf34c1c3ce3a2348aedc4192956e5884a914b
Improve coverage of expectfail selftest

Add a test case for calling QEXPECT_FAIL in a data-driven test without
passing a specific data tag for the expected failure, in which the
expected failure should apply to the current data row.

Change-Id: I70a6592de77b1718c3a749fd2216e66f8f312805
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
tests/auto/testlib/selftests/expected_expectfail.lightxml
tests/auto/testlib/selftests/expected_expectfail.txt
tests/auto/testlib/selftests/expected_expectfail.xml
tests/auto/testlib/selftests/expected_expectfail.xunitxml
tests/auto/testlib/selftests/expectfail/tst_expectfail.cpp