qt5base-lts/tests/auto/testlib/selftests
Andrew Knight cd582f8410 Add QT_NO_PROCESS guards in tests where they are missing
A handful of tests lack QT_NO_PROCESS guards, making them non-compilable
on Qt builds with no QProcess support. This commit does not change
QProcess-specific tests, which should be left out of the build using the
.pro file mechanism.

Change-Id: Iac8562428abc1f59ccbb23bf5c3a919785e41f12
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
2013-09-03 08:42:24 +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 Fix XFAIL in testlib selftest 2011-09-17 03:21:44 +02:00
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 Fix XFAIL in testlib selftest 2011-09-17 03:21:44 +02:00
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 Moved autotests in category 'testlib' into new directory structure 2011-09-12 08:36:15 +02:00
expected_benchliboptions.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_benchlibtickcounter.lightxml Moved autotests in category 'testlib' into new directory structure 2011-09-12 08:36:15 +02:00
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 Moved autotests in category 'testlib' into new directory structure 2011-09-12 08:36:15 +02:00
expected_benchlibwalltime.lightxml Moved autotests in category 'testlib' into new directory structure 2011-09-12 08:36:15 +02:00
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 Moved autotests in category 'testlib' into new directory structure 2011-09-12 08:36:15 +02:00
expected_cmptest.lightxml TestLib: align the colons so the "actual" and "expected" align too 2013-07-21 03:01:06 +02:00
expected_cmptest.txt TestLib: align the colons so the "actual" and "expected" align too 2013-07-21 03:01:06 +02:00
expected_cmptest.xml TestLib: align the colons so the "actual" and "expected" align too 2013-07-21 03:01:06 +02:00
expected_cmptest.xunitxml TestLib: align the colons so the "actual" and "expected" align too 2013-07-21 03:01:06 +02: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 Moved autotests in category 'testlib' into new directory structure 2011-09-12 08:36:15 +02:00
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 Moved autotests in category 'testlib' into new directory structure 2011-09-12 08:36:15 +02:00
expected_datetime.lightxml TestLib: align the colons so the "actual" and "expected" align too 2013-07-21 03:01:06 +02:00
expected_datetime.txt TestLib: align the colons so the "actual" and "expected" align too 2013-07-21 03:01:06 +02:00
expected_datetime.xml TestLib: align the colons so the "actual" and "expected" align too 2013-07-21 03:01:06 +02:00
expected_datetime.xunitxml TestLib: align the colons so the "actual" and "expected" align too 2013-07-21 03:01:06 +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 Moved autotests in category 'testlib' into new directory structure 2011-09-12 08:36:15 +02:00
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 Moved autotests in category 'testlib' into new directory structure 2011-09-12 08:36:15 +02:00
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 Moved autotests in category 'testlib' into new directory structure 2011-09-12 08:36:15 +02:00
expected_fetchbogus.lightxml Moved autotests in category 'testlib' into new directory structure 2011-09-12 08:36:15 +02:00
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 Moved autotests in category 'testlib' into new directory structure 2011-09-12 08:36:15 +02:00
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 TestLib: align the colons so the "actual" and "expected" align too 2013-07-21 03:01:06 +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 Moved autotests in category 'testlib' into new directory structure 2011-09-12 08:36:15 +02:00
expected_maxwarnings.lightxml Moved autotests in category 'testlib' into new directory structure 2011-09-12 08:36:15 +02:00
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 Moved autotests in category 'testlib' into new directory structure 2011-09-12 08:36:15 +02:00
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 Moved autotests in category 'testlib' into new directory structure 2011-09-12 08:36:15 +02:00
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 Moved autotests in category 'testlib' into new directory structure 2011-09-12 08:36:15 +02:00
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 Moved autotests in category 'testlib' into new directory structure 2011-09-12 08:36:15 +02:00
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: align the colons so the "actual" and "expected" align too 2013-07-21 03:01:06 +02:00
expected_strcmp.txt TestLib: align the colons so the "actual" and "expected" align too 2013-07-21 03:01:06 +02:00
expected_strcmp.xml TestLib: align the colons so the "actual" and "expected" align too 2013-07-21 03:01:06 +02:00
expected_strcmp.xunitxml TestLib: align the colons so the "actual" and "expected" align too 2013-07-21 03:01:06 +02:00
expected_subtest.lightxml TestLib: align the colons so the "actual" and "expected" align too 2013-07-21 03:01:06 +02:00
expected_subtest.txt TestLib: align the colons so the "actual" and "expected" align too 2013-07-21 03:01:06 +02:00
expected_subtest.xml TestLib: align the colons so the "actual" and "expected" align too 2013-07-21 03:01:06 +02:00
expected_subtest.xunitxml TestLib: align the colons so the "actual" and "expected" align too 2013-07-21 03:01:06 +02: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 Add QT_NO_PROCESS guards in tests where they are missing 2013-09-03 08:42:24 +02:00