qt5base-lts/tests/auto/testlib/selftests
Sze Howe Koh e9723d9d31 QtTest: Output correct library name
"QTest" is the C++ namespace; "QtTest" is the library name

- Edited the logger output in qplaintestlogger.cpp
- Updated documentation
- Updated expected outputs for self-tests

Change-Id: I43c525c43221a8d4e843a00d6d55b0f06ef55fd7
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2013-05-27 00:41:46 +02:00
..
alive QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
assert QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
badxml QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
benchlibcallgrind QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
benchlibcounting QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
benchlibeventcounter QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
benchliboptions QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
benchlibtickcounter QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
benchlibwalltime QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
cmptest QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
commandlinedata QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
counting QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
crashes QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
datatable QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
datetime QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
differentexec QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
exceptionthrow QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
expectfail QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
failcleanup QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
failinit QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
failinitdata QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
fetchbogus QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
findtestdata QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
float QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
globaldata QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
longstring QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
maxwarnings QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
multiexec QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
printdatatags QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
printdatatagswithglobaltags QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
qexecstringlist QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
silent QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
singleskip QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
skip QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
skipcleanup QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
skipinit QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
skipinitdata QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
sleep QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
strcmp QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
subtest QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
test QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
verbose1 QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
verbose2 QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
warnings QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
xunit QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
.gitignore Revert "Remove unused overload of QTest::qExec." 2011-12-12 10:43:44 +01:00
expected_alive.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_assert.lightxml
expected_assert.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_assert.xml Use UTF-8 in the QtTest data and benchmark tags 2012-06-09 10:45:01 +02:00
expected_assert.xunitxml
expected_badxml.lightxml testlib: Report one test result per benchmark test. 2012-02-20 08:05:58 +01:00
expected_badxml.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_badxml.xml Use UTF-8 in the QtTest data and benchmark tags 2012-06-09 10:45:01 +02:00
expected_badxml.xunitxml testlib: Report one test result per benchmark test. 2012-02-20 08:05:58 +01:00
expected_benchlibcallgrind.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_benchlibcounting.lightxml testlib: Report one test result per benchmark test. 2012-02-20 08:05:58 +01:00
expected_benchlibcounting.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_benchlibcounting.xml Use UTF-8 in the QtTest data and benchmark tags 2012-06-09 10:45:01 +02:00
expected_benchlibcounting.xunitxml testlib: Report one test result per benchmark test. 2012-02-20 08:05:58 +01:00
expected_benchlibeventcounter.lightxml testlib: Count passes, fails and skips consistently. 2012-02-13 01:46:09 +01:00
expected_benchlibeventcounter.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_benchlibeventcounter.xml Use UTF-8 in the QtTest data and benchmark tags 2012-06-09 10:45:01 +02:00
expected_benchlibeventcounter.xunitxml
expected_benchliboptions.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_benchlibtickcounter.lightxml
expected_benchlibtickcounter.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_benchlibtickcounter.xml Use UTF-8 in the QtTest data and benchmark tags 2012-06-09 10:45:01 +02:00
expected_benchlibtickcounter.xunitxml
expected_benchlibwalltime.lightxml
expected_benchlibwalltime.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_benchlibwalltime.xml Use UTF-8 in the QtTest data and benchmark tags 2012-06-09 10:45:01 +02:00
expected_benchlibwalltime.xunitxml
expected_cmptest.lightxml QTestLib: improve output when comparing lists fails. 2013-01-22 13:29:33 +01:00
expected_cmptest.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_cmptest.xml QTestLib: improve output when comparing lists fails. 2013-01-22 13:29:33 +01:00
expected_cmptest.xunitxml QTestLib: improve output when comparing lists fails. 2013-01-22 13:29:33 +01:00
expected_commandlinedata.lightxml testlib: Count passes, fails and skips consistently. 2012-02-13 01:46:09 +01:00
expected_commandlinedata.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_commandlinedata.xml Use UTF-8 in the QtTest data and benchmark tags 2012-06-09 10:45:01 +02:00
expected_commandlinedata.xunitxml
expected_counting.lightxml testlib: Make verbose2 selftest use QCOMPARE as well as QVERIFY. 2012-03-05 05:32:03 +01:00
expected_counting.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_counting.xml Use UTF-8 in the QtTest data and benchmark tags 2012-06-09 10:45:01 +02:00
expected_counting.xunitxml testlib: Skip test function if init() fails. 2012-02-17 05:24:46 +01:00
expected_crashes_1.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_crashes_2.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_crashes_3.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_datatable.lightxml testlib: Count passes, fails and skips consistently. 2012-02-13 01:46:09 +01:00
expected_datatable.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_datatable.xml Use UTF-8 in the QtTest data and benchmark tags 2012-06-09 10:45:01 +02:00
expected_datatable.xunitxml
expected_datetime.lightxml Make QUrl::errorString() usable for QtTest output in invalid URLs 2012-10-02 22:34:42 +02:00
expected_datetime.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_datetime.xml Make QUrl::errorString() usable for QtTest output in invalid URLs 2012-10-02 22:34:42 +02:00
expected_datetime.xunitxml Make QUrl::errorString() usable for QtTest output in invalid URLs 2012-10-02 22:34:42 +02:00
expected_differentexec.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_exceptionthrow.lightxml Sanitize paths in selftest data. 2011-10-19 07:24:40 +02:00
expected_exceptionthrow.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_exceptionthrow.xml Use UTF-8 in the QtTest data and benchmark tags 2012-06-09 10:45:01 +02:00
expected_exceptionthrow.xunitxml
expected_expectfail.lightxml testlib: Improve verbose and XPASS output 2012-03-08 05:31:40 +01:00
expected_expectfail.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_expectfail.xml Use UTF-8 in the QtTest data and benchmark tags 2012-06-09 10:45:01 +02:00
expected_expectfail.xunitxml testlib: Improve verbose and XPASS output 2012-03-08 05:31:40 +01:00
expected_failcleanup.lightxml testlib: Add selftests for skip and fail inside cleanupTestCase(). 2012-02-09 04:07:33 +01:00
expected_failcleanup.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_failcleanup.xml Use UTF-8 in the QtTest data and benchmark tags 2012-06-09 10:45:01 +02:00
expected_failcleanup.xunitxml testlib: Add selftests for skip and fail inside cleanupTestCase(). 2012-02-09 04:07:33 +01:00
expected_failinit.lightxml Sanitize paths in selftest data. 2011-10-19 07:24:40 +02:00
expected_failinit.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_failinit.xml Use UTF-8 in the QtTest data and benchmark tags 2012-06-09 10:45:01 +02:00
expected_failinit.xunitxml
expected_failinitdata.lightxml Sanitize paths in selftest data. 2011-10-19 07:24:40 +02:00
expected_failinitdata.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_failinitdata.xml Use UTF-8 in the QtTest data and benchmark tags 2012-06-09 10:45:01 +02:00
expected_failinitdata.xunitxml
expected_fetchbogus.lightxml
expected_fetchbogus.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_fetchbogus.xml Use UTF-8 in the QtTest data and benchmark tags 2012-06-09 10:45:01 +02:00
expected_fetchbogus.xunitxml
expected_findtestdata.lightxml testlib: add QFINDTESTDATA macro for finding testdata files 2011-12-01 09:12:57 +01:00
expected_findtestdata.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_findtestdata.xml Use UTF-8 in the QtTest data and benchmark tags 2012-06-09 10:45:01 +02:00
expected_findtestdata.xunitxml testlib: add QFINDTESTDATA macro for finding testdata files 2011-12-01 09:12:57 +01:00
expected_float.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_globaldata.lightxml testlib: Count passes, fails and skips consistently. 2012-02-13 01:46:09 +01:00
expected_globaldata.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_globaldata.xml Use UTF-8 in the QtTest data and benchmark tags 2012-06-09 10:45:01 +02:00
expected_globaldata.xunitxml Remove QTest::SkipMode from qtestlib API. 2011-10-21 01:20:29 +02:00
expected_longstring.lightxml Sanitize paths in selftest data. 2011-10-19 07:24:40 +02:00
expected_longstring.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_longstring.xml Use UTF-8 in the QtTest data and benchmark tags 2012-06-09 10:45:01 +02:00
expected_longstring.xunitxml
expected_maxwarnings.lightxml
expected_maxwarnings.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_maxwarnings.xml Use UTF-8 in the QtTest data and benchmark tags 2012-06-09 10:45:01 +02:00
expected_maxwarnings.xunitxml
expected_multiexec.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_printdatatags.txt Fixing naming of selftests. 2011-12-05 09:02:15 +01:00
expected_printdatatagswithglobaltags.txt Fixing naming of selftests. 2011-12-05 09:02:15 +01:00
expected_qexecstringlist.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_silent.txt testlib: Improve the silent logging mode 2012-02-28 05:56:03 +01:00
expected_singleskip.lightxml Sanitize paths in selftest data. 2011-10-19 07:24:40 +02:00
expected_singleskip.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_singleskip.xml Use UTF-8 in the QtTest data and benchmark tags 2012-06-09 10:45:01 +02:00
expected_singleskip.xunitxml
expected_skip.lightxml testlib: Count passes, fails and skips consistently. 2012-02-13 01:46:09 +01:00
expected_skip.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_skip.xml Use UTF-8 in the QtTest data and benchmark tags 2012-06-09 10:45:01 +02:00
expected_skip.xunitxml
expected_skipcleanup.lightxml testlib: Add selftests for skip and fail inside cleanupTestCase(). 2012-02-09 04:07:33 +01:00
expected_skipcleanup.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_skipcleanup.xml Use UTF-8 in the QtTest data and benchmark tags 2012-06-09 10:45:01 +02:00
expected_skipcleanup.xunitxml testlib: Add selftests for skip and fail inside cleanupTestCase(). 2012-02-09 04:07:33 +01:00
expected_skipinit.lightxml Sanitize paths in selftest data. 2011-10-19 07:24:40 +02:00
expected_skipinit.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_skipinit.xml Use UTF-8 in the QtTest data and benchmark tags 2012-06-09 10:45:01 +02:00
expected_skipinit.xunitxml
expected_skipinitdata.lightxml Remove QTest::SkipMode from qtestlib API. 2011-10-21 01:20:29 +02:00
expected_skipinitdata.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_skipinitdata.xml Use UTF-8 in the QtTest data and benchmark tags 2012-06-09 10:45:01 +02:00
expected_skipinitdata.xunitxml Remove QTest::SkipMode from qtestlib API. 2011-10-21 01:20:29 +02:00
expected_sleep.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_strcmp.lightxml testlib: Improve formatting of QCOMPARE failure messages. 2012-03-12 01:50:20 +01:00
expected_strcmp.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_strcmp.xml Use UTF-8 in the QtTest data and benchmark tags 2012-06-09 10:45:01 +02:00
expected_strcmp.xunitxml testlib: Improve formatting of QCOMPARE failure messages. 2012-03-12 01:50:20 +01:00
expected_subtest.lightxml testlib: Improve formatting of QCOMPARE failure messages. 2012-03-12 01:50:20 +01:00
expected_subtest.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_subtest.xml Use UTF-8 in the QtTest data and benchmark tags 2012-06-09 10:45:01 +02:00
expected_subtest.xunitxml testlib: Improve formatting of QCOMPARE failure messages. 2012-03-12 01:50:20 +01:00
expected_verbose1.lightxml testlib: Make verbose2 selftest use QCOMPARE as well as QVERIFY. 2012-03-05 05:32:03 +01:00
expected_verbose1.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_verbose1.xml Use UTF-8 in the QtTest data and benchmark tags 2012-06-09 10:45:01 +02:00
expected_verbose1.xunitxml testlib: Add selftests for -v1 and -v2 command-line switches. 2012-03-02 01:06:22 +01:00
expected_verbose2.lightxml testlib: Improve verbose and XPASS output 2012-03-08 05:31:40 +01:00
expected_verbose2.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_verbose2.xml Use UTF-8 in the QtTest data and benchmark tags 2012-06-09 10:45:01 +02:00
expected_verbose2.xunitxml testlib: Improve verbose and XPASS output 2012-03-08 05:31:40 +01:00
expected_warnings.lightxml testlib: Clear ignored messages after every data row 2012-02-08 03:13:23 +01:00
expected_warnings.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_warnings.xml Use UTF-8 in the QtTest data and benchmark tags 2012-06-09 10:45:01 +02:00
expected_warnings.xunitxml testlib: Clear ignored messages after every data row 2012-02-08 03:13:23 +01:00
expected_xunit.lightxml testlib: Improve formatting of QCOMPARE failure messages. 2012-03-12 01:50:20 +01:00
expected_xunit.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_xunit.xml Use UTF-8 in the QtTest data and benchmark tags 2012-06-09 10:45:01 +02:00
expected_xunit.xunitxml testlib: Improve formatting of QCOMPARE failure messages. 2012-03-12 01:50:20 +01:00
selftests.pri testlib: Add selftests for -v1 and -v2 command-line switches. 2012-03-02 01:06:22 +01:00
selftests.pro Changed selftests unittest to work from installation directory. 2012-01-11 04:09:26 +01:00
selftests.qrc testlib: Add selftests for -v1 and -v2 command-line switches. 2012-03-02 01:06:22 +01:00
tst_selftests.cpp Merge remote-tracking branch 'origin/stable' into dev 2013-01-28 11:10:29 +01:00