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
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
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 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
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
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
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 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
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
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
expected_failinit.lightxml
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
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
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
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
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
expected_longstring.lightxml
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
expected_printdatatagswithglobaltags.txt
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
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
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
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
expected_skipinit.lightxml
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
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
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
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
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
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