qt5base-lts/tests/auto/testlib/selftests
Thiago Macieira 59ad0019dc Make QUrl::errorString() usable for QtTest output in invalid URLs
If an URL is invalid, let's indicate that in the test output. To be
helpful, let's make QUrl::errorString() include the component form of
the URL.

Change-Id: Iaafe16973ded79c7ea688fbb23808d91253e8c14
Reviewed-by: David Faure <faure@kde.org>
2012-10-02 22:34:42 +02:00
..
alive Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
assert Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
badxml Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
benchlibcallgrind Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
benchlibcounting Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
benchlibeventcounter Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
benchliboptions Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
benchlibtickcounter Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
benchlibwalltime Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
cmptest Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
commandlinedata Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
counting Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
crashes Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
datatable Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
datetime Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
differentexec Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
exceptionthrow Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
expectfail Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
failcleanup Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
failinit Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
failinitdata Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
fetchbogus Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
findtestdata Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
float Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
globaldata Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
longstring Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
maxwarnings Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
multiexec Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
printdatatags Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
printdatatagswithglobaltags Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qexecstringlist Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
silent Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
singleskip Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
skip Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
skipcleanup Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
skipinit Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
skipinitdata Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
sleep Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
strcmp Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
subtest Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
test Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
verbose1 Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
verbose2 Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
warnings Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
xunit Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
.gitignore Revert "Remove unused overload of QTest::qExec." 2011-12-12 10:43:44 +01:00
expected_alive.txt Add testlib selftest for QStringList comparison. 2011-12-14 02:40:17 +01:00
expected_assert.lightxml Fix XFAIL in testlib selftest 2011-09-17 03:21:44 +02:00
expected_assert.txt Use placeholder for Qt version in expected output 2011-09-26 07:50:20 +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 testlib: Report one test result per benchmark test. 2012-02-20 08:05:58 +01: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 testlib: Report one test result per benchmark test. 2012-02-20 08:05:58 +01:00
expected_benchlibcounting.lightxml testlib: Report one test result per benchmark test. 2012-02-20 08:05:58 +01:00
expected_benchlibcounting.txt testlib: Report one test result per benchmark test. 2012-02-20 08:05:58 +01: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 testlib: Count passes, fails and skips consistently. 2012-02-13 01:46:09 +01: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 testlib: Report one test result per benchmark test. 2012-02-20 08:05:58 +01:00
expected_benchlibtickcounter.lightxml Moved autotests in category 'testlib' into new directory structure 2011-09-12 08:36:15 +02:00
expected_benchlibtickcounter.txt Use placeholder for Qt version in expected output 2011-09-26 07:50:20 +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 Use placeholder for Qt version in expected output 2011-09-26 07:50:20 +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: Improve formatting of QCOMPARE failure messages. 2012-03-12 01:50:20 +01:00
expected_cmptest.txt testlib: Improve formatting of QCOMPARE failure messages. 2012-03-12 01:50:20 +01:00
expected_cmptest.xml Use UTF-8 in the QtTest data and benchmark tags 2012-06-09 10:45:01 +02:00
expected_cmptest.xunitxml testlib: Improve formatting of QCOMPARE failure messages. 2012-03-12 01:50:20 +01:00
expected_commandlinedata.lightxml testlib: Count passes, fails and skips consistently. 2012-02-13 01:46:09 +01:00
expected_commandlinedata.txt testlib: Count passes, fails and skips consistently. 2012-02-13 01:46:09 +01: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 testlib: Make verbose2 selftest use QCOMPARE as well as QVERIFY. 2012-03-05 05:32:03 +01: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 Use placeholder for Qt version in expected output 2011-09-26 07:50:20 +02:00
expected_crashes_2.txt Use placeholder for Qt version in expected output 2011-09-26 07:50:20 +02:00
expected_crashes_3.txt Use placeholder for Qt version in expected output 2011-09-26 07:50:20 +02:00
expected_datatable.lightxml testlib: Count passes, fails and skips consistently. 2012-02-13 01:46:09 +01:00
expected_datatable.txt testlib: Count passes, fails and skips consistently. 2012-02-13 01:46:09 +01: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 Make QUrl::errorString() usable for QtTest output in invalid URLs 2012-10-02 22:34:42 +02:00
expected_datetime.txt Make QUrl::errorString() usable for QtTest output in invalid URLs 2012-10-02 22:34:42 +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 Use placeholder for Qt version in expected output 2011-09-26 07:50:20 +02:00
expected_exceptionthrow.lightxml Sanitize paths in selftest data. 2011-10-19 07:24:40 +02:00
expected_exceptionthrow.txt Sanitize paths in selftest data. 2011-10-19 07:24:40 +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 testlib: Improve verbose and XPASS output 2012-03-08 05:31:40 +01: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 testlib: Add selftests for skip and fail inside cleanupTestCase(). 2012-02-09 04:07:33 +01: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 Use placeholder for Qt version in expected output 2011-09-26 07:50:20 +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 Sanitize paths in selftest data. 2011-10-19 07:24:40 +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 Use placeholder for Qt version in expected output 2011-09-26 07:50:20 +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 testlib: add QFINDTESTDATA macro for finding testdata files 2011-12-01 09:12:57 +01: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: Improve formatting of QCOMPARE failure messages. 2012-03-12 01:50:20 +01:00
expected_globaldata.lightxml testlib: Count passes, fails and skips consistently. 2012-02-13 01:46:09 +01:00
expected_globaldata.txt testlib: Count passes, fails and skips consistently. 2012-02-13 01:46:09 +01: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 Sanitize paths in selftest data. 2011-10-19 07:24:40 +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 Use placeholder for Qt version in expected output 2011-09-26 07:50:20 +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 Use placeholder for Qt version in expected output 2011-09-26 07:50:20 +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 testlib: Count passes, fails and skips consistently. 2012-02-13 01:46:09 +01: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 Remove QTest::SkipMode from qtestlib API. 2011-10-21 01:20:29 +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 testlib: Count passes, fails and skips consistently. 2012-02-13 01:46:09 +01: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 testlib: Add selftests for skip and fail inside cleanupTestCase(). 2012-02-09 04:07:33 +01: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 Remove QTest::SkipMode from qtestlib API. 2011-10-21 01:20:29 +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 Remove QTest::SkipMode from qtestlib API. 2011-10-21 01:20:29 +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 Use placeholder for Qt version in expected output 2011-09-26 07:50:20 +02:00
expected_strcmp.lightxml testlib: Improve formatting of QCOMPARE failure messages. 2012-03-12 01:50:20 +01:00
expected_strcmp.txt testlib: Improve formatting of QCOMPARE failure messages. 2012-03-12 01:50:20 +01: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 testlib: Improve formatting of QCOMPARE failure messages. 2012-03-12 01:50:20 +01: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 testlib: Make verbose2 selftest use QCOMPARE as well as QVERIFY. 2012-03-05 05:32:03 +01: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 testlib: Improve verbose and XPASS output 2012-03-08 05:31:40 +01: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 testlib: Clear ignored messages after every data row 2012-02-08 03:13:23 +01: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 testlib: Improve formatting of QCOMPARE failure messages. 2012-03-12 01:50:20 +01: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 Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00