Use placeholder for Qt version in expected output

The selftests already used the @INSERT_QT_VERSION_HERE@ placeholder
in place of the real Qt and QTestlib versions in the expected test
output of the subtests.  For unknown reasons, the same was not true for
the expected plain text output.  In the past, this has caused Release
Managers to waste time incrementing the version numbers in these files.

Change-Id: I52f7870486fce128c04d53ff06978afa947474fd
Reviewed-on: http://codereview.qt-project.org/5375
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
Jason McDonald 2011-09-22 17:40:45 +10:00 committed by Qt by Nokia
parent f57f01e201
commit 9f883c7571
39 changed files with 51 additions and 53 deletions

View File

@ -1,5 +1,5 @@
********* Start testing of tst_Alive *********
Config: Using QTest library 4.5.0, Qt 4.5.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_Alive::initTestCase()
QWARN : tst_Alive::alive() TEST LAGS 3 PINGS behind!
QWARN : tst_Alive::alive() TEST LAGS 4 PINGS behind!

View File

@ -1,5 +1,5 @@
********* Start testing of tst_Assert *********
Config: Using QTest library 4.3.0, Qt 4.3.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_Assert::initTestCase()
PASS : tst_Assert::testNumber1()
QFATAL : tst_Assert::testNumber2() ASSERT: "false" in file tst_assert.cpp, line 66

View File

@ -1,5 +1,5 @@
********* Start testing of tst_BadXml *********
Config: Using QTest library 4.6.4, Qt 4.6.4
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_BadXml::initTestCase()
QDEBUG : tst_BadXml::badDataTag(end cdata ]]> text ]]> more text) a message
FAIL! : tst_BadXml::badDataTag(end cdata ]]> text ]]> more text) a failure

View File

@ -1,5 +1,5 @@
********* Start testing of tst_BenchlibCallgrind *********
Config: Using QTest library 4.5.0, Qt 4.5.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_BenchlibCallgrind::initTestCase()
RESULT : tst_BenchlibCallgrind::twoHundredMillionInstructions():
200,000,000 instruction reads per iteration (total: 200000000, iterations: 1)

View File

@ -1,5 +1,5 @@
********* Start testing of tst_BenchlibEventCounter *********
Config: Using QTest library 4.5.0, Qt 4.5.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_BenchlibEventCounter::initTestCase()
RESULT : tst_BenchlibEventCounter::events():"0":
0 events per iteration (total: 0, iterations: 1)

View File

@ -1,5 +1,5 @@
********* Start testing of tst_BenchlibOptions *********
Config: Using QTest library 4.5.0, Qt 4.5.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_BenchlibOptions::initTestCase()
RESULT : tst_BenchlibOptions::threeEvents():
3 events per iteration (total: 3, iterations: 1)
@ -8,7 +8,7 @@ PASS : tst_BenchlibOptions::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped
********* Finished testing of tst_BenchlibOptions *********
********* Start testing of tst_BenchlibFifteenIterations *********
Config: Using QTest library 4.5.0, Qt 4.5.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_BenchlibFifteenIterations::initTestCase()
RESULT : tst_BenchlibFifteenIterations::threeEvents():
3.0 events per iteration (total: 45, iterations: 15)
@ -17,7 +17,7 @@ PASS : tst_BenchlibFifteenIterations::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped
********* Finished testing of tst_BenchlibFifteenIterations *********
********* Start testing of tst_BenchlibOneHundredMinimum *********
Config: Using QTest library 4.5.0, Qt 4.5.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_BenchlibOneHundredMinimum::initTestCase()
RESULT : tst_BenchlibOneHundredMinimum::threeEvents():
3.00 events per iteration (total: 192, iterations: 64)

View File

@ -1,5 +1,5 @@
********* Start testing of tst_BenchlibTickCounter *********
Config: Using QTest library 4.5.0, Qt 4.5.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_BenchlibTickCounter::initTestCase()
RESULT : tst_BenchlibTickCounter::threeBillionTicks():
3,000,000,000 ticks per iteration (total: 3000000000, iterations: 1)

View File

@ -1,5 +1,5 @@
********* Start testing of tst_BenchlibWalltime *********
Config: Using QTest library 4.5.0, Qt 4.5.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_BenchlibWalltime::initTestCase()
RESULT : tst_BenchlibWalltime::waitForOneThousand():
1,000 msec per iteration (total: 1000, iterations: 1)

View File

@ -1,5 +1,5 @@
********* Start testing of tst_Cmptest *********
Config: Using QTest library 5.0.0, Qt 5.0.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_Cmptest::initTestCase()
PASS : tst_Cmptest::compare_boolfuncs()
PASS : tst_Cmptest::compare_pointerfuncs()

View File

@ -1,5 +1,5 @@
********* Start testing of tst_DataTable *********
Config: Using QTest library 4.5.0, Qt 4.5.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
INFO : tst_DataTable::initTestCase() entering
PASS : tst_DataTable::initTestCase()
INFO : tst_DataTable::fiveTablePasses() entering

View File

@ -1,3 +1,3 @@
********* Start testing of tst_Crashes *********
Config: Using QTest library 4.1.0, Qt 4.1.1
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_Crashes::initTestCase()

View File

@ -1,5 +1,5 @@
********* Start testing of tst_Crashes *********
Config: Using QTest library 4.1.0, Qt 4.1.1
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_Crashes::initTestCase()
FAIL! : tst_Crashes::crash() Caught unhandled exception
.\qtestcase.cpp(984) : failure location

View File

@ -1,5 +1,5 @@
********* Start testing of tst_Crashes *********
Config: Using QTest library 5.0.0, Qt 5.0.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_Crashes::initTestCase()
QFATAL : tst_Crashes::crash() Received signal 11
FAIL! : tst_Crashes::crash() Received a fatal error.

View File

@ -1,5 +1,5 @@
********* Start testing of tst_DataTable *********
Config: Using QTest library 4.4.0, Qt 4.4.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_DataTable::initTestCase()
PASS : tst_DataTable::singleTestFunction1()
PASS : tst_DataTable::singleTestFunction2()

View File

@ -1,5 +1,5 @@
********* Start testing of tst_DateTime *********
Config: Using QTest library 4.4.0, Qt 4.4.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_DateTime::initTestCase()
FAIL! : tst_DateTime::dateTime() Compared values are not the same
Actual (local): 2000/05/03 04:03:04.000[local time]

View File

@ -1,19 +1,19 @@
********* Start testing of tst_TestA *********
Config: Using QTest library 4.3.0, Qt 4.3.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_TestA::initTestCase()
PASS : tst_TestA::slotName()
PASS : tst_TestA::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped
********* Finished testing of tst_TestA *********
********* Start testing of tst_TestA *********
Config: Using QTest library 4.3.0, Qt 4.3.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_TestA::initTestCase()
PASS : tst_TestA::slotName()
PASS : tst_TestA::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped
********* Finished testing of tst_TestA *********
********* Start testing of tst_TestB *********
Config: Using QTest library 4.3.0, Qt 4.3.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_TestB::initTestCase()
PASS : tst_TestB::slotName()
PASS : tst_TestB::cleanupTestCase()

View File

@ -1,5 +1,5 @@
********* Start testing of tst_Exception *********
Config: Using QTest library 4.3.0, Qt 4.3.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_Exception::initTestCase()
FAIL! : tst_Exception::throwException() Caught unhandled exception
Loc: [/home/fenglich/dev/qt-4.3/tools/qtestlib/src/qtestcase.cpp(1220)]

View File

@ -1,5 +1,5 @@
********* Start testing of tst_ExpectFail *********
Config: Using QTest library 4.3.0, Qt 4.3.0
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

View File

@ -1,5 +1,5 @@
********* Start testing of tst_FailInit *********
Config: Using QTest library 4.3.0, Qt 4.3.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
FAIL! : tst_FailInit::initTestCase() 'false' returned FALSE. ()
Loc: [tst_failinit.cpp(22)]
PASS : tst_FailInit::cleanupTestCase()

View File

@ -1,5 +1,5 @@
********* Start testing of tst_FailInitData *********
Config: Using QTest library 4.4.0, Qt 4.4.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
FAIL! : tst_FailInitData::initTestCase() 'false' returned FALSE. ()
Loc: [/home/fenglich/dev/qt/tests/auto/selftests/failinitdata/tst_failinitdata.cpp(23)]
Totals: 0 passed, 1 failed, 0 skipped

View File

@ -1,5 +1,5 @@
********* Start testing of tst_Fatal *********
Config: Using QTest library 4.3.0, Qt 4.3.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_Fatal::initTestCase()
QFATAL : tst_Fatal::testFunction() A fatal error occured! Ouuiieee!! The world is coming to an end and I will die! Buhu!
Totals: 1 passed, 0 failed, 0 skipped

View File

@ -1,5 +1,5 @@
********* Start testing of tst_FetchBogus *********
Config: Using QTest library 4.3.0, Qt 4.3.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_FetchBogus::initTestCase()
QFATAL : tst_FetchBogus::fetchBogus(foo) QFETCH: Requested testdata 'bubu' not available, check your _data function.
FAIL! : tst_FetchBogus::fetchBogus(foo) Received a fatal error.

View File

@ -1,5 +1,5 @@
********* Start testing of tst_float *********
Config: Using QTest library 5.0.0, Qt 5.0.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_float::initTestCase()
FAIL! : tst_float::floatComparisons(should FAIL) Compared floats are not the same (fuzzy compare)
Actual (operandLeft): 1

View File

@ -1,5 +1,5 @@
********* Start testing of tst_globaldata *********
Config: Using QTest library 5.0.0, Qt 5.0.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
QDEBUG : tst_globaldata::initTestCase() initTestCase initTestCase (null)
PASS : tst_globaldata::initTestCase()
QDEBUG : tst_globaldata::testGlobal(1:local 1) init testGlobal local 1

View File

@ -1,5 +1,5 @@
********* Start testing of tst_LongString *********
Config: Using QTest library 5.0.0, Qt 5.0.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_LongString::initTestCase()
FAIL! : tst_LongString::failWithLongString() Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi. Nam eget dui.

View File

@ -1,5 +1,5 @@
********* Start testing of MaxWarnings *********
Config: Using QTest library 5.0.0, Qt 5.0.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : MaxWarnings::initTestCase()
QWARN : MaxWarnings::warn() 0
QWARN : MaxWarnings::warn() 1

View File

@ -1,33 +1,33 @@
********* Start testing of tst_Nothing *********
Config: Using QTest library 4.1.0, Qt 4.1.1
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_Nothing::initTestCase()
PASS : tst_Nothing::nothing()
PASS : tst_Nothing::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped
********* Finished testing of tst_Nothing *********
********* Start testing of tst_Nothing *********
Config: Using QTest library 4.1.0, Qt 4.1.1
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_Nothing::initTestCase()
PASS : tst_Nothing::nothing()
PASS : tst_Nothing::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped
********* Finished testing of tst_Nothing *********
********* Start testing of tst_Nothing *********
Config: Using QTest library 4.1.0, Qt 4.1.1
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_Nothing::initTestCase()
PASS : tst_Nothing::nothing()
PASS : tst_Nothing::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped
********* Finished testing of tst_Nothing *********
********* Start testing of tst_Nothing *********
Config: Using QTest library 4.1.0, Qt 4.1.1
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_Nothing::initTestCase()
PASS : tst_Nothing::nothing()
PASS : tst_Nothing::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped
********* Finished testing of tst_Nothing *********
********* Start testing of tst_Nothing *********
Config: Using QTest library 4.1.0, Qt 4.1.1
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_Nothing::initTestCase()
PASS : tst_Nothing::nothing()
PASS : tst_Nothing::cleanupTestCase()

View File

@ -1,5 +1,5 @@
********* Start testing of tst_QExecStringList *********
Config: Using QTest library 4.4.0, Qt 4.4.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_QExecStringList::initTestCase()
PASS : tst_QExecStringList::testA()
PASS : tst_QExecStringList::testB()
@ -8,7 +8,7 @@ PASS : tst_QExecStringList::cleanupTestCase()
Totals: 5 passed, 0 failed, 0 skipped
********* Finished testing of tst_QExecStringList *********
********* Start testing of tst_QExecStringList *********
Config: Using QTest library 4.4.0, Qt 4.4.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_QExecStringList::initTestCase()
PASS : tst_QExecStringList::testA()
PASS : tst_QExecStringList::testB()
@ -17,28 +17,28 @@ PASS : tst_QExecStringList::cleanupTestCase()
Totals: 5 passed, 0 failed, 0 skipped
********* Finished testing of tst_QExecStringList *********
********* Start testing of tst_QExecStringList *********
Config: Using QTest library 4.4.0, Qt 4.4.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_QExecStringList::initTestCase()
PASS : tst_QExecStringList::testA()
PASS : tst_QExecStringList::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped
********* Finished testing of tst_QExecStringList *********
********* Start testing of tst_QExecStringList *********
Config: Using QTest library 4.4.0, Qt 4.4.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_QExecStringList::initTestCase()
PASS : tst_QExecStringList::testB()
PASS : tst_QExecStringList::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped
********* Finished testing of tst_QExecStringList *********
********* Start testing of tst_QExecStringList *********
Config: Using QTest library 4.4.0, Qt 4.4.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_QExecStringList::initTestCase()
PASS : tst_QExecStringList::testB()
PASS : tst_QExecStringList::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped
********* Finished testing of tst_QExecStringList *********
********* Start testing of tst_QExecStringList *********
Config: Using QTest library 4.4.0, Qt 4.4.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_QExecStringList::initTestCase()
PASS : tst_QExecStringList::testC()
PASS : tst_QExecStringList::cleanupTestCase()

View File

@ -1,5 +1,5 @@
********* Start testing of tst_SingleSkip *********
Config: Using QTest library 4.3.0, Qt 4.3.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_SingleSkip::initTestCase()
SKIP : tst_SingleSkip::myTest() skipping test
Loc: [/home/fenglich/dev/qt-4.3/tests/auto/selftests/singleskip/tst_singleskip.cpp(23)]

View File

@ -1,5 +1,5 @@
********* Start testing of tst_Skip *********
Config: Using QTest library 5.0.0, Qt 5.0.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_Skip::initTestCase()
SKIP : tst_Skip::test() skipping all
Loc: [/home/user/depot/qt-git/mainline/tests/auto/selftests/skip/tst_skip.cpp(68)]

View File

@ -1,5 +1,5 @@
********* Start testing of tst_SkipGlobal *********
Config: Using QTest library 4.3.0, Qt 4.3.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
SKIP : tst_SkipGlobal::initTestCase() Skippy Skippy
Loc: [/home/fenglich/dev/qt-4.3/tests/auto/selftests/skipglobal/tst_skipglobal.cpp(39)]
Totals: 0 passed, 0 failed, 1 skipped

View File

@ -1,5 +1,5 @@
********* Start testing of tst_SkipInit *********
Config: Using QTest library 4.4.0, Qt 4.4.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
SKIP : tst_SkipInit::initTestCase() Skip inside initTestCase. This should skip all tests in the class.
Loc: [/home/fenglich/dev/qt/tests/auto/selftests/skipinit/tst_skipinit.cpp(22)]
PASS : tst_SkipInit::cleanupTestCase()

View File

@ -1,5 +1,5 @@
********* Start testing of tst_SkipInitData *********
Config: Using QTest library 4.3.0, Qt 4.3.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
SKIP : tst_SkipInitData::initTestCase() Skip inside initTestCase. This should skip all tests in the class.
Loc: [/home/fenglich/dev/qt-4.3/tests/auto/selftests/skipinitdata/tst_skipinitdata.cpp(23)]
Totals: 0 passed, 0 failed, 1 skipped

View File

@ -1,5 +1,5 @@
********* Start testing of tst_Sleep *********
Config: Using QTest library 4.1.0, Qt 4.1.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_Sleep::initTestCase()
PASS : tst_Sleep::sleep()
PASS : tst_Sleep::cleanupTestCase()

View File

@ -1,5 +1,5 @@
********* Start testing of tst_StrCmp *********
Config: Using QTest library 4.3.0, Qt 4.3.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_StrCmp::initTestCase()
PASS : tst_StrCmp::compareCharStars()
XFAIL : tst_StrCmp::compareByteArray() Next test should fail

View File

@ -1,5 +1,5 @@
********* Start testing of tst_Subtest *********
Config: Using QTest library 5.0.0, Qt 5.0.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
QDEBUG : tst_Subtest::initTestCase() initTestCase initTestCase (null)
PASS : tst_Subtest::initTestCase()
QDEBUG : tst_Subtest::test1() init test1 (null)

View File

@ -1,5 +1,5 @@
********* Start testing of tst_Warnings *********
Config: Using QTest library 5.0.0, Qt 5.0.0
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_Warnings::initTestCase()
QWARN : tst_Warnings::testWarnings() Warning
QWARN : tst_Warnings::testWarnings() Warning

View File

@ -1,5 +1,5 @@
********* Start testing of tst_Xunit *********
Config: Using QTest library 4.6.4, Qt 4.6.4
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
PASS : tst_Xunit::initTestCase()
WARNING: tst_Xunit::testFunc1() just a QWARN() !
PASS : tst_Xunit::testFunc1()

View File

@ -506,8 +506,6 @@ void tst_Selftests::doRunSubTest(QString const& subdir, QStringList const& logge
bool benchmark = false;
for (int i = 0; i < res.count(); ++i) {
QByteArray line = res.at(i);
if (line.startsWith("Config: Using QTest"))
continue;
// the __FILE__ __LINE__ output is compiler dependent, skip it
if (line.startsWith(" Loc: [") && line.endsWith(")]"))
continue;