qt5base-lts/src/testlib
Marc Mutz 59600a514b QTest: de-inline QVERIFY_THROWS_EXCEPTION message formatting
Extract Method QTest::qCaught() to take the string handling out of the
header. This should help a bit in speeding up compilation of large
unit test files (provided they use QVERIFY_THROWS_EXCEPTION), although
I have no data to support that.

Since we changed the error message, update the selftest accordingly.

Change-Id: Id4a3c8c34d5df8d0c7a861106d269097f4a6de5c
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2021-11-26 09:57:59 +01:00
..
3rdparty
doc Doc: Enable qdoc warning count limit 2021-10-21 19:10:52 +02:00
CMakeLists.txt testlib: Replace custom QTestCoreList with std::vector 2021-09-10 22:19:45 +02:00
configure.cmake
qabstractitemmodeltester.cpp Update QAbstractItemModelTester::FailureReportingMode documentation 2021-08-01 12:44:14 +02:00
qabstractitemmodeltester.h
qabstracttestlogger_p.h testlib: Rename QAbstractTestLogger::QSystem to QCritical 2021-08-10 18:06:36 +02:00
qabstracttestlogger.cpp Tidy up QTest::qt_asprintf() and remove a spurious declaration 2021-10-01 19:24:31 +02:00
qappletestlogger_p.h
qappletestlogger.cpp testlib: Rename QAbstractTestLogger::QSystem to QCritical 2021-08-10 18:06:36 +02:00
qasciikey.cpp
qbenchmark_p.h
qbenchmark.cpp
qbenchmark.h
qbenchmarkevent_p.h
qbenchmarkevent.cpp
qbenchmarkmeasurement_p.h
qbenchmarkmeasurement.cpp
qbenchmarkmetric_p.h
qbenchmarkmetric.cpp
qbenchmarkmetric.h
qbenchmarkperfevents_p.h
qbenchmarkperfevents.cpp
qbenchmarktimemeasurers_p.h
qbenchmarkvalgrind_p.h
qbenchmarkvalgrind.cpp
qcsvbenchmarklogger_p.h
qcsvbenchmarklogger.cpp
qemulationdetector_p.h
qjunittestlogger_p.h testlib: Replace custom QTestCoreList with std::vector 2021-09-10 22:19:45 +02:00
qjunittestlogger.cpp testlib: Gracefully handle messages outside of test function in JUnit reporter 2021-09-16 11:22:50 +02:00
qplaintestlogger_p.h
qplaintestlogger.cpp testlib: Rename QAbstractTestLogger::QSystem to QCritical 2021-08-10 18:06:36 +02:00
qpropertytesthelper_p.h Include qproperty.h where needed 2021-11-04 21:45:02 +01:00
qsignaldumper_p.h
qsignaldumper.cpp
qsignalspy.h
qsignalspy.qdoc
qt_cmdline.cmake
qtaptestlogger_p.h
qtaptestlogger.cpp testlib: Don't report additional 'pass' test point for blacklisted XFail 2021-08-05 03:58:50 +02:00
qteamcitylogger_p.h
qteamcitylogger.cpp testlib: Rename QAbstractTestLogger::QSystem to QCritical 2021-08-10 18:06:36 +02:00
qtest_gui.h QTest: there's no toString(QImage) 2021-07-07 15:07:55 +02:00
qtest_network.h
qtest_widgets.h
qtest.h QTest: support initMain() in QTEST_APPLESS_MAIN 2021-10-05 21:53:10 +02:00
qtestaccessible.h QTestAccessible: Clear objects in EventList when deleted 2021-05-23 10:46:03 +00:00
qtestassert.h
qtestblacklist_p.h
qtestblacklist.cpp
qtestcase.cpp QTest: de-inline QVERIFY_THROWS_EXCEPTION message formatting 2021-11-26 09:57:59 +01:00
qtestcase.h QTest: de-inline QVERIFY_THROWS_EXCEPTION message formatting 2021-11-26 09:57:59 +01:00
qtestcase.qdoc Long live QVERIFY_THROWS_EXCEPTION! 2021-11-26 04:44:26 +01:00
qtestcoreelement_p.h testlib: Replace custom QTestCoreList with std::vector 2021-09-10 22:19:45 +02:00
qtestdata.cpp
qtestdata.h
qtestelement_p.h testlib: Replace custom QTestCoreList with std::vector 2021-09-10 22:19:45 +02:00
qtestelement.cpp testlib: Replace custom QTestCoreList with std::vector 2021-09-10 22:19:45 +02:00
qtestelementattribute_p.h testlib: Replace custom QTestCoreList with std::vector 2021-09-10 22:19:45 +02:00
qtestelementattribute.cpp testlib: Remove unused QTestCoreElement and QTestElementAttribute types 2021-08-10 16:06:36 +00:00
qtestevent.h
qtestevent.qdoc
qtesteventloop.h QTestEventLoop: stop when the test fails 2021-08-05 01:07:41 +02:00
qtesthelpers_p.h
qtestjunitstreamer_p.h QTestJunitStreamer: Include <vector> 2021-09-13 17:13:32 +02:00
qtestjunitstreamer.cpp testlib: Replace custom QTestCoreList with std::vector 2021-09-10 22:19:45 +02:00
qtestkeyboard.h Replace QTest::qWarn() with qWarning() 2021-09-23 16:57:03 +02:00
qtestlog_p.h Add QTest::failOnWarning 2021-11-26 04:47:24 +01:00
qtestlog.cpp Add QTest::failOnWarning 2021-11-26 04:47:24 +01:00
qtestmouse.cpp
qtestmouse.h Implement QTest:mouseMove widget overload to send event 2021-10-30 11:46:03 +02:00
qtestresult_p.h testlib: Pass on file location on failure, but don't assume we have one 2021-08-04 17:31:51 +00:00
qtestresult.cpp Add QTest::failOnWarning 2021-11-26 04:47:24 +01:00
qtestspontaneevent.h
qtestsystem.h
qtesttable_p.h
qtesttable.cpp
qtesttouch.h
qtestutil_macos_p.h
qtestutil_macos.mm
qttestglobal.h Migrate to autogenerated cpp exports 2021-06-25 19:33:12 +02:00
qxctestlogger_p.h
qxctestlogger.mm
qxmltestlogger_p.h Clean up QXmlTestLogger's xmlQuote() and xmlCdata() 2021-10-01 19:24:31 +02:00
qxmltestlogger.cpp Use %.6g rather than %s and QByteArray::number() 2021-10-01 19:24:31 +02:00
selfcover.cmake