a4c0109e01
Make the various versions of the failure message align consistently so that it's a little easier to compare the actual and expected values. Of course, the value won't align nicely unless the "actual" and "expected" strings are the same length, but at least this commit makes that consistent across all versions of the message. Change-Id: If9ce231df3b5d279a06f6458fdb5da0aa4586068 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
27 lines
1.5 KiB
Plaintext
27 lines
1.5 KiB
Plaintext
********* Start testing of tst_Xunit *********
|
|
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
|
|
PASS : tst_Xunit::initTestCase()
|
|
WARNING: tst_Xunit::testFunc1() just a QWARN() !
|
|
Loc: [/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/xunit/tst_xunit.cpp(67)]
|
|
PASS : tst_Xunit::testFunc1()
|
|
QDEBUG : tst_Xunit::testFunc2() a qDebug() call with comment-ending stuff -->
|
|
FAIL! : tst_Xunit::testFunc2() Compared values are not the same
|
|
Actual (2): 2
|
|
Expected (3): 3
|
|
Loc: [/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/xunit/tst_xunit.cpp(74)]
|
|
SKIP : tst_Xunit::testFunc3() skipping this function!
|
|
Loc: [/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/xunit/tst_xunit.cpp(79)]
|
|
FAIL! : tst_Xunit::testFunc4() a forced failure!
|
|
Loc: [/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/xunit/tst_xunit.cpp(84)]
|
|
XFAIL : tst_Xunit::testFunc5() this failure is expected
|
|
Loc: [/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/xunit/tst_xunit.cpp(98)]
|
|
PASS : tst_Xunit::testFunc5()
|
|
XFAIL : tst_Xunit::testFunc6() this failure is also expected
|
|
Loc: [/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/xunit/tst_xunit.cpp(104)]
|
|
PASS : tst_Xunit::testFunc6()
|
|
XPASS : tst_Xunit::testFunc7() 'true' returned TRUE unexpectedly. ()
|
|
Loc: [/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/xunit/tst_xunit.cpp(110)]
|
|
PASS : tst_Xunit::cleanupTestCase()
|
|
Totals: 5 passed, 3 failed, 1 skipped
|
|
********* Finished testing of tst_Xunit *********
|