qt5base-lts/tests/auto/testlib/selftests
Lars Knoll 11bad61096 Deprecate QVariant::Type
It's been obsolete for a long time already. Make sure
the compiler now warns about it and remove all remaining
uses in qtbase.

Change-Id: I0ff80311184dba52d2ba5f4e2fabe0d47fdc59d7
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2020-10-23 09:58:57 +02:00
..
assert CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
badxml CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
benchlibcallgrind CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
benchlibcounting CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
benchlibeventcounter CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
benchliboptions CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
benchlibtickcounter CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
benchlibwalltime CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
blacklisted CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
cmptest Deprecate QVariant::Type 2020-10-23 09:58:57 +02:00
commandlinedata CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
counting Auto tests: Fix some MSVC warnings about integer conversions 2020-10-21 07:31:27 +02:00
crashes CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
datatable CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
datetime CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
deleteLater CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
deleteLater_noApp CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
differentexec CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
exceptionthrow CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
expectfail CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
failcleanup CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
faildatatype CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
failfetchtype CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
failinit CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
failinitdata CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
fetchbogus CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
findtestdata CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
float CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
globaldata CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
keyboard CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
longstring CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
maxwarnings CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
mouse CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
multiexec CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
pairdiagnostics CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
pass CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
printdatatags Auto tests: Fix some MSVC warnings about integer conversions 2020-10-21 07:31:27 +02:00
printdatatagswithglobaltags Auto tests: Fix some MSVC warnings about integer conversions 2020-10-21 07:31:27 +02:00
qexecstringlist CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
signaldumper Auto tests: Fix some MSVC warnings about integer conversions 2020-10-21 07:31:27 +02:00
silent Auto tests: Fix some MSVC warnings about integer conversions 2020-10-21 07:31:27 +02:00
singleskip CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
skip CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
skipcleanup CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
skipinit CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
skipinitdata CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
sleep CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
strcmp CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
subtest CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
testlib CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
tuplediagnostics CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
verbose1 CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
verbose2 CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
verifyexceptionthrown CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
warnings CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
watchdog CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
xunit CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
.gitignore Revert "Remove unused overload of QTest::qExec." 2011-12-12 10:43:44 +01:00
.prev_CMakeLists.txt CMake: Enable testlib selftests 2020-03-18 16:28:30 +01:00
CATCH_LICENSE.txt Rewrite Qt Testlib selftest to not rely on Qt Testlib itself 2020-05-11 15:42:28 +02:00
catch_p_p.h Remove winrt 2020-06-06 20:25:49 +02:00
catch_p.h Rewrite Qt Testlib selftest to not rely on Qt Testlib itself 2020-05-11 15:42:28 +02:00
catch.cpp Rewrite Qt Testlib selftest to not rely on Qt Testlib itself 2020-05-11 15:42:28 +02:00
CMakeLists.txt CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
expected_assert.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_assert.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_assert.tap testlib: Add Test Anything Protocol (TAP) reporter 2018-03-14 14:28:36 +00:00
expected_assert.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_assert.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_assert.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_badxml.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_badxml.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_badxml.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_badxml.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_badxml.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_badxml.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchlibcallgrind_0.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchlibcallgrind_1.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchlibcallgrind.csv Add a CSV logging feature to the benchlib 2014-02-14 00:34:25 +01:00
expected_benchlibcallgrind.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_benchlibcallgrind.lightxml testlib selftest: rebaseline benchlibcallgrind results 2020-07-22 23:23:12 +02:00
expected_benchlibcallgrind.tap testlib selftest: rebaseline benchlibcallgrind results 2020-07-22 23:23:12 +02:00
expected_benchlibcallgrind.teamcity testlib selftest: rebaseline benchlibcallgrind results 2020-07-22 23:23:12 +02:00
expected_benchlibcallgrind.xml testlib selftest: rebaseline benchlibcallgrind results 2020-07-22 23:23:12 +02:00
expected_benchlibcounting.csv Add a CSV logging feature to the benchlib 2014-02-14 00:34:25 +01:00
expected_benchlibcounting.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_benchlibcounting.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchlibcounting.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_benchlibcounting.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchlibcounting.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchlibcounting.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchlibeventcounter.csv Add a CSV logging feature to the benchlib 2014-02-14 00:34:25 +01:00
expected_benchlibeventcounter.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_benchlibeventcounter.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchlibeventcounter.tap testlib: Add Test Anything Protocol (TAP) reporter 2018-03-14 14:28:36 +00:00
expected_benchlibeventcounter.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchlibeventcounter.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchlibeventcounter.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchliboptions.csv Add a CSV logging feature to the benchlib 2014-02-14 00:34:25 +01:00
expected_benchliboptions.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_benchliboptions.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchliboptions.tap Add some missing expected_*.tap files for the testlib selftest 2019-02-01 14:42:23 +00:00
expected_benchliboptions.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchliboptions.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchliboptions.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchlibtickcounter.csv Add a CSV logging feature to the benchlib 2014-02-14 00:34:25 +01:00
expected_benchlibtickcounter.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_benchlibtickcounter.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchlibtickcounter.tap testlib: Add Test Anything Protocol (TAP) reporter 2018-03-14 14:28:36 +00:00
expected_benchlibtickcounter.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchlibtickcounter.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchlibtickcounter.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchlibwalltime.csv Add a CSV logging feature to the benchlib 2014-02-14 00:34:25 +01:00
expected_benchlibwalltime.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_benchlibwalltime.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchlibwalltime.tap testlib: Add Test Anything Protocol (TAP) reporter 2018-03-14 14:28:36 +00:00
expected_benchlibwalltime.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchlibwalltime.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchlibwalltime.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_blacklisted.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_blacklisted.lightxml testlib: Add BXPASS and BXFAIL 2019-01-29 12:18:15 +00:00
expected_blacklisted.tap testlib selftest: check blacklisted test for test failures 2020-07-22 23:23:09 +02:00
expected_blacklisted.teamcity testlib: Add BXPASS and BXFAIL 2019-01-29 12:18:15 +00:00
expected_blacklisted.txt testlib selftest: check blacklisted test for test failures 2020-07-22 23:23:09 +02:00
expected_blacklisted.xml testlib: Add BXPASS and BXFAIL 2019-01-29 12:18:15 +00:00
expected_cmptest.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_cmptest.lightxml QTestlib: Enable comparing QList against initializer lists/arrays 2020-07-21 22:01:20 +02:00
expected_cmptest.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_cmptest.teamcity QTestlib: Enable comparing QList against initializer lists/arrays 2020-07-21 22:01:20 +02:00
expected_cmptest.txt QTestlib: Enable comparing QList against initializer lists/arrays 2020-07-21 22:01:20 +02:00
expected_cmptest.xml QTestlib: Enable comparing QList against initializer lists/arrays 2020-07-21 22:01:20 +02:00
expected_commandlinedata.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_commandlinedata.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_commandlinedata.tap testlib: Add Test Anything Protocol (TAP) reporter 2018-03-14 14:28:36 +00:00
expected_commandlinedata.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_commandlinedata.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_commandlinedata.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_counting.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_counting.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_counting.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_counting.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_counting.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_counting.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_crashes_1.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_crashes_2.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_crashes_3.txt Testlib: Output function / total time along with crash dump. 2015-10-13 16:38:43 +00:00
expected_crashes_4.txt QTestlib/selftests: Add expected_crashes_4.txt for boot2qt 2018-02-11 09:41:24 +00:00
expected_crashes_5.txt Merge remote-tracking branch 'origin/5.13' into dev 2019-02-20 09:51:12 +01:00
expected_datatable.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_datatable.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_datatable.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_datatable.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_datatable.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_datatable.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_datetime.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_datetime.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_datetime.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_datetime.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_datetime.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_datetime.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_differentexec.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_differentexec.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_differentexec.tap Add some missing expected_*.tap files for the testlib selftest 2019-02-01 14:42:23 +00:00
expected_differentexec.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_differentexec.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_differentexec.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_exceptionthrow.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_exceptionthrow.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_exceptionthrow.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_exceptionthrow.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_exceptionthrow.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_exceptionthrow.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_expectfail.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_expectfail.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_expectfail.tap QTestResult: Don't pass a nullptr file to addFailure() 2020-09-30 16:20:29 +02:00
expected_expectfail.teamcity QTestResult: Don't pass a nullptr file to addFailure() 2020-09-30 16:20:29 +02:00
expected_expectfail.txt QTestResult: Don't pass a nullptr file to addFailure() 2020-09-30 16:20:29 +02:00
expected_expectfail.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_failcleanup.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_failcleanup.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_failcleanup.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_failcleanup.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_failcleanup.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_failcleanup.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_faildatatype.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_faildatatype.lightxml Test that mismatches of datatype in test data columns are rejected 2018-12-06 18:29:22 +00:00
expected_faildatatype.tap Test that mismatches of datatype in test data columns are rejected 2018-12-06 18:29:22 +00:00
expected_faildatatype.teamcity Test that mismatches of datatype in test data columns are rejected 2018-12-06 18:29:22 +00:00
expected_faildatatype.txt Test that mismatches of datatype in test data columns are rejected 2018-12-06 18:29:22 +00:00
expected_faildatatype.xml Test that mismatches of datatype in test data columns are rejected 2018-12-06 18:29:22 +00:00
expected_failfetchtype.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_failfetchtype.lightxml Test that mismatches of datatype in test data columns are rejected 2018-12-06 18:29:22 +00:00
expected_failfetchtype.tap Test that mismatches of datatype in test data columns are rejected 2018-12-06 18:29:22 +00:00
expected_failfetchtype.teamcity Test that mismatches of datatype in test data columns are rejected 2018-12-06 18:29:22 +00:00
expected_failfetchtype.txt Test that mismatches of datatype in test data columns are rejected 2018-12-06 18:29:22 +00:00
expected_failfetchtype.xml Test that mismatches of datatype in test data columns are rejected 2018-12-06 18:29:22 +00:00
expected_failinit.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_failinit.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_failinit.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_failinit.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_failinit.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_failinit.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_failinitdata.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_failinitdata.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_failinitdata.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_failinitdata.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_failinitdata.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_failinitdata.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_fetchbogus.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_fetchbogus.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_fetchbogus.tap testlib: Add Test Anything Protocol (TAP) reporter 2018-03-14 14:28:36 +00:00
expected_fetchbogus.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_fetchbogus.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_fetchbogus.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_findtestdata.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_findtestdata.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_findtestdata.tap testlib: Add Test Anything Protocol (TAP) reporter 2018-03-14 14:28:36 +00:00
expected_findtestdata.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_findtestdata.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_findtestdata.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_float.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_float.lightxml QCOMPARE: treat values as equal if qFuzzyIsNull(each) 2020-04-30 13:44:08 +02:00
expected_float.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_float.teamcity QCOMPARE: treat values as equal if qFuzzyIsNull(each) 2020-04-30 13:44:08 +02:00
expected_float.txt QCOMPARE: treat values as equal if qFuzzyIsNull(each) 2020-04-30 13:44:08 +02:00
expected_float.xml QCOMPARE: treat values as equal if qFuzzyIsNull(each) 2020-04-30 13:44:08 +02:00
expected_globaldata.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_globaldata.lightxml Fix the skip-check in TestMethods::invokeTest() 2019-03-29 14:00:03 +00:00
expected_globaldata.tap Fix the skip-check in TestMethods::invokeTest() 2019-03-29 14:00:03 +00:00
expected_globaldata.teamcity Fix the skip-check in TestMethods::invokeTest() 2019-03-29 14:00:03 +00:00
expected_globaldata.txt Fix the skip-check in TestMethods::invokeTest() 2019-03-29 14:00:03 +00:00
expected_globaldata.xml Fix the skip-check in TestMethods::invokeTest() 2019-03-29 14:00:03 +00:00
expected_keyboard.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_keyboard.lightxml Add self-tests for QTest::keyPress() and QTest::keyRelease() 2018-05-07 14:53:18 +00:00
expected_keyboard.tap Add self-tests for QTest::keyPress() and QTest::keyRelease() 2018-05-07 14:53:18 +00:00
expected_keyboard.teamcity Add self-tests for QTest::keyPress() and QTest::keyRelease() 2018-05-07 14:53:18 +00:00
expected_keyboard.txt Add self-tests for QTest::keyPress() and QTest::keyRelease() 2018-05-07 14:53:18 +00:00
expected_keyboard.xml Add self-tests for QTest::keyPress() and QTest::keyRelease() 2018-05-07 14:53:18 +00:00
expected_longstring.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_longstring.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_longstring.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_longstring.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_longstring.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_longstring.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_maxwarnings.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_maxwarnings.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_maxwarnings.tap testlib: Add Test Anything Protocol (TAP) reporter 2018-03-14 14:28:36 +00:00
expected_maxwarnings.teamcity Add flowId to messages when logging in TeamCity format 2017-08-04 18:48:48 +00:00
expected_maxwarnings.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_maxwarnings.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_multiexec.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_multiexec.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_multiexec.tap Add some missing expected_*.tap files for the testlib selftest 2019-02-01 14:42:23 +00:00
expected_multiexec.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_multiexec.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_multiexec.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_pairdiagnostics.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_pairdiagnostics.lightxml Long live std::pair! 2020-06-10 16:49:08 +02:00
expected_pairdiagnostics.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_pairdiagnostics.teamcity Long live std::pair! 2020-06-10 16:49:08 +02:00
expected_pairdiagnostics.txt Long live std::pair! 2020-06-10 16:49:08 +02:00
expected_pairdiagnostics.xml Long live std::pair! 2020-06-10 16:49:08 +02:00
expected_pass.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_pass.lightxml Add 'pass' test to testlib selftests 2020-03-05 15:18:04 +01:00
expected_pass.tap Add 'pass' test to testlib selftests 2020-03-05 15:18:04 +01:00
expected_pass.teamcity Add 'pass' test to testlib selftests 2020-03-05 15:18:04 +01:00
expected_pass.txt Add 'pass' test to testlib selftests 2020-03-05 15:18:04 +01:00
expected_pass.xml Add 'pass' test to testlib selftests 2020-03-05 15:18:04 +01: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.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_qexecstringlist.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_qexecstringlist.tap Add some missing expected_*.tap files for the testlib selftest 2019-02-01 14:42:23 +00:00
expected_qexecstringlist.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_qexecstringlist.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_qexecstringlist.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_signaldumper.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_signaldumper.lightxml testlib: Defer signal dumper start until tests are ready to run 2020-07-22 23:23:16 +02:00
expected_signaldumper.tap testlib: Defer signal dumper start until tests are ready to run 2020-07-22 23:23:16 +02:00
expected_signaldumper.teamcity testlib: Defer signal dumper start until tests are ready to run 2020-07-22 23:23:16 +02:00
expected_signaldumper.txt testlib: Defer signal dumper start until tests are ready to run 2020-07-22 23:23:16 +02:00
expected_signaldumper.xml testlib: Defer signal dumper start until tests are ready to run 2020-07-22 23:23:16 +02:00
expected_silent.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_silent.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_silent.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_silent.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_silent.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_silent.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_singleskip.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_singleskip.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_singleskip.tap testlib: Add Test Anything Protocol (TAP) reporter 2018-03-14 14:28:36 +00:00
expected_singleskip.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_singleskip.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_singleskip.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_skip.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_skip.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_skip.tap testlib: Add Test Anything Protocol (TAP) reporter 2018-03-14 14:28:36 +00:00
expected_skip.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_skip.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_skip.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_skipcleanup.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_skipcleanup.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_skipcleanup.tap testlib: Add Test Anything Protocol (TAP) reporter 2018-03-14 14:28:36 +00:00
expected_skipcleanup.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_skipcleanup.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_skipcleanup.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_skipinit.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_skipinit.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_skipinit.tap testlib: Add Test Anything Protocol (TAP) reporter 2018-03-14 14:28:36 +00:00
expected_skipinit.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_skipinit.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_skipinit.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_skipinitdata.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_skipinitdata.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_skipinitdata.tap testlib: Add Test Anything Protocol (TAP) reporter 2018-03-14 14:28:36 +00:00
expected_skipinitdata.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_skipinitdata.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_skipinitdata.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_sleep.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_sleep.lightxml Fix integer overflows in QDeadlineTimer 2019-05-08 17:19:44 +00:00
expected_sleep.tap Fix integer overflows in QDeadlineTimer 2019-05-08 17:19:44 +00:00
expected_sleep.teamcity Fix integer overflows in QDeadlineTimer 2019-05-08 17:19:44 +00:00
expected_sleep.txt Fix integer overflows in QDeadlineTimer 2019-05-08 17:19:44 +00:00
expected_sleep.xml Fix integer overflows in QDeadlineTimer 2019-05-08 17:19:44 +00:00
expected_strcmp.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_strcmp.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_strcmp.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_strcmp.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_strcmp.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_strcmp.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_subtest.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_subtest.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_subtest.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_subtest.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_subtest.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_subtest.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_testlib.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_testlib.lightxml Add assorted tests to exercise more QTest functions 2019-01-24 15:51:04 +00:00
expected_testlib.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_testlib.teamcity Add assorted tests to exercise more QTest functions 2019-01-24 15:51:04 +00:00
expected_testlib.txt Add assorted tests to exercise more QTest functions 2019-01-24 15:51:04 +00:00
expected_testlib.xml Add assorted tests to exercise more QTest functions 2019-01-24 15:51:04 +00:00
expected_tuplediagnostics.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_tuplediagnostics.lightxml Eliminate some stray misleading paths from expected output files 2019-01-16 18:47:41 +00:00
expected_tuplediagnostics.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_tuplediagnostics.teamcity Eliminate some stray misleading paths from expected output files 2019-01-16 18:47:41 +00:00
expected_tuplediagnostics.txt Eliminate some stray misleading paths from expected output files 2019-01-16 18:47:41 +00:00
expected_tuplediagnostics.xml Eliminate some stray misleading paths from expected output files 2019-01-16 18:47:41 +00:00
expected_verbose1.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_verbose1.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_verbose1.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_verbose1.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_verbose1.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_verbose1.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_verbose2.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_verbose2.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_verbose2.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_verbose2.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_verbose2.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_verbose2.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_verifyexceptionthrown.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_verifyexceptionthrown.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_verifyexceptionthrown.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_verifyexceptionthrown.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_verifyexceptionthrown.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_verifyexceptionthrown.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_warnings.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_warnings.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_warnings.tap QTestResult: Don't pass a nullptr file to addFailure() 2020-09-30 16:20:29 +02:00
expected_warnings.teamcity QTestResult: Don't pass a nullptr file to addFailure() 2020-09-30 16:20:29 +02:00
expected_warnings.txt QTestResult: Don't pass a nullptr file to addFailure() 2020-09-30 16:20:29 +02:00
expected_warnings.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_watchdog.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_watchdog.lightxml Add a testlib selftest for the watchdog 2018-12-06 18:29:47 +00:00
expected_watchdog.tap Add a testlib selftest for the watchdog 2018-12-06 18:29:47 +00:00
expected_watchdog.teamcity Add a testlib selftest for the watchdog 2018-12-06 18:29:47 +00:00
expected_watchdog.txt Add a testlib selftest for the watchdog 2018-12-06 18:29:47 +00:00
expected_watchdog.xml Add a testlib selftest for the watchdog 2018-12-06 18:29:47 +00:00
expected_xunit.junitxml testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
expected_xunit.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_xunit.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_xunit.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_xunit.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_xunit.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
generate_expected_output.py testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
qt_attribution.json Rewrite Qt Testlib selftest to not rely on Qt Testlib itself 2020-05-11 15:42:28 +02:00
README testlib selftest: Add README explaining how to run and debug tests 2020-07-21 13:43:51 +02:00
selftest.pro testlib selftest: Don't pass TESTARGS to Catch2 2020-07-23 11:08:15 +02:00
selftests.pri Restructure testlib selftest project 2020-03-24 21:04:43 +01:00
selftests.pro Remove winrt 2020-06-06 20:25:49 +02:00
tst_selftests.cpp Auto tests: Fix some MSVC warnings about integer conversions 2020-10-21 07:31:27 +02:00

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Running the QtTestLib selftests with Catch2
===========================================

Catch2 [1] is a header only test framework that we use to allow
testing QtTestLib without relying on any part of testlib itself.

To run the test suite, execute 'make check' or './tst_selftests'
as normal. This should print:

    ===================================================================
    All tests passed (2453 assertions in 5 test cases)

To run specific tests, first lists the available tests:

     ./tst_selftests -l
    All available test cases:
      Loggers support both old and new style arguments
      Loggers can output to both file and stdout
      Logging to file and stdout at the same time
      All loggers can be enabled at the same time
      Scenario: Test output of the loggers is as expected
    5 test cases

Then pass the name of the test in quotes as the first argument:

     ./tst_selftests "Loggers support both old and new style arguments"
    Filters: Loggers support both old and new style arguments
    ==================================================================
    All tests passed (96 assertions in 1 test case)

You can find the tests in the sources as individual TEST_CASE
entries. Note that each of these tests run the tests once per
logger, and in the case of the test log check also all sub tests,
so the amount of actual test assertions is much higher than the
five tests listed above.

To see what the tests is actually doing, pass the -s option.
This will result in very verbose output. Each leaf test is
prefixed with a heading:

    ---------------------------------------------------------------
          Given: The QTestLog::TAP logger
           When: Passing arguments with new style
    ---------------------------------------------------------------

You can choose a specific subtest by passing the -c option:

     ./tst_selftests "Scenario: Test output of the loggers is as expected" \
        -c "Given: The QTestLog::Plain logger" \
        -c 'And given: The "skip" subtest'

It's possible to pass only the first -c options, to e.g. run all
tests with the Plain logger, but it's unfortunately not possible
to pass only the last -c option, to run the 'skip' subtest with
all loggers.

If a test fails it will print the expected, actual, and difference.
The test results are also left in a temporary directory for closer
inspection.

Add new tests by modifying selftest.pri and CMakeLists.txt, adding
a new subprogram.

Generating new test expectations is done using the python script
in this directory (generate_expected_output.py). In the future this
will be done with the --rebase option to ./tst_selftest, but this
is not fleshed out yet.

[1] https://github.com/catchorg/Catch2