a59bc6a6e4
The existing expectfail selftest did not test QEXPECT_FAIL with a data-driven test function. This commit adds such a test. Change-Id: I39fa9aa227b58779ce5268dd37bf55468e7269c5 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
26 lines
1.6 KiB
Plaintext
26 lines
1.6 KiB
Plaintext
********* Start testing of tst_ExpectFail *********
|
|
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
|
|
PASS : tst_ExpectFail::initTestCase()
|
|
QDEBUG : tst_ExpectFail::expectAndContinue() begin
|
|
XFAIL : tst_ExpectFail::expectAndContinue() This should xfail
|
|
Loc: [/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/expectfail/tst_expectfail.cpp(64)]
|
|
QDEBUG : tst_ExpectFail::expectAndContinue() after
|
|
PASS : tst_ExpectFail::expectAndContinue()
|
|
QDEBUG : tst_ExpectFail::expectAndAbort() begin
|
|
XFAIL : tst_ExpectFail::expectAndAbort() This should xfail
|
|
Loc: [/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/expectfail/tst_expectfail.cpp(72)]
|
|
PASS : tst_ExpectFail::expectAndAbort()
|
|
XFAIL : tst_ExpectFail::xfailWithQString() A string
|
|
Loc: [/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/expectfail/tst_expectfail.cpp(79)]
|
|
XFAIL : tst_ExpectFail::xfailWithQString() Bug 5 (The message)
|
|
Loc: [/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/expectfail/tst_expectfail.cpp(84)]
|
|
PASS : tst_ExpectFail::xfailWithQString()
|
|
XFAIL : tst_ExpectFail::dataDrivenTest(Abort) This test should xfail
|
|
Loc: [/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/expectfail/tst_expectfail.cpp(113)]
|
|
XFAIL : tst_ExpectFail::dataDrivenTest(Continue) This test should xfail
|
|
Loc: [/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/expectfail/tst_expectfail.cpp(113)]
|
|
PASS : tst_ExpectFail::dataDrivenTest()
|
|
PASS : tst_ExpectFail::cleanupTestCase()
|
|
Totals: 6 passed, 0 failed, 0 skipped
|
|
********* Finished testing of tst_ExpectFail *********
|