qt6-bb10/src/testlib
Giuseppe D'Angelo 27dc042712 Rename qt_saturate to q26::saturate_cast
C++26 adds std::saturate_cast, so follow the established pattern of
other similar "backported" APIs. The old name is left around while
we port other submodules.

While at it, move qt_saturate's tests to the qnumeric test.

Change-Id: I653a2e3d936081378298a9c8e51e7c1a2d438d83
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit 7447ad503330ed176cf369792ffb33b7e00a58d3)
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2024-08-25 17:04:32 +00:00
..
3rdparty Update benchlib's 3rdparty cycle counter to FFTW v3.3.10 2024-07-17 10:33:01 +00:00
doc Doc: Fix broken links 2024-06-26 22:52:29 +00:00
CMakeLists.txt Enable QT_NO_QSNPRINTF globally 2024-08-12 09:43:38 +00:00
configure.cmake Implement the batch_tests feature 2022-08-24 02:46:37 +02:00
qabstractitemmodeltester.cpp QAbstractItemModelTester: Enable testing the QtGui roles without linking to QtGui 2024-06-13 08:46:16 +00:00
qabstractitemmodeltester.h QAbstractItemModelTester: Enable testing the QtGui roles without linking to QtGui 2024-06-13 08:46:16 +00:00
qabstracttestlogger.cpp QtTest: port from qsnprintf to std::snprintf and mark the module as qsnprintf-free 2024-08-05 18:23:04 +02:00
qabstracttestlogger_p.h Add QTest option for repeating the entire test execution 2023-11-15 11:07:09 +00:00
qappletestlogger.cpp QAppleTestLogger: Add source link to failure messages 2024-01-22 15:51:21 +01:00
qappletestlogger_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qasciikey.cpp Rename Qt::Key_mu to Qt::Key_micro 2023-08-24 13:51:36 +00:00
qbenchmark.cpp QBENCHMARK: mark loop operations as noexcept 2023-11-15 23:40:24 +01:00
qbenchmark.h QBENCHMARK: mark loop operations as noexcept 2023-11-15 23:40:24 +01:00
qbenchmark_p.h QBENCHMARK: mark loop operations as noexcept 2023-11-15 23:40:24 +01:00
qbenchmarkevent.cpp Testlib: remove no longer used function call 2024-07-03 20:12:03 +00:00
qbenchmarkevent_p.h Testlib: remove no longer used function call 2024-07-03 20:12:03 +00:00
qbenchmarkmeasurement.cpp Gui/Testlib: fix compilation for FEATURE_qreal 2024-08-25 17:03:41 +00:00
qbenchmarkmeasurement_p.h QBenchlib: add support for a measurer reporting multiple results 2022-11-09 02:18:45 -07:00
qbenchmarkmetric.cpp Fix typos in docs and comments 2022-06-15 21:31:02 +02:00
qbenchmarkmetric.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qbenchmarkmetric_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qbenchmarkperfevents.cpp Reorganise QtTest 3rdparty to separate its various parts 2024-07-12 13:45:55 +02:00
qbenchmarkperfevents_p.h QBenchlib: add support for a measurer reporting multiple results 2022-11-09 02:18:45 -07:00
qbenchmarktimemeasurers_p.h Reorganise QtTest 3rdparty to separate its various parts 2024-07-12 13:45:55 +02:00
qbenchmarkvalgrind.cpp Reorganise QtTest 3rdparty to separate its various parts 2024-07-12 13:45:55 +02:00
qbenchmarkvalgrind_p.h QBenchlib: add support for a measurer reporting multiple results 2022-11-09 02:18:45 -07:00
qcomparisontesthelper.cpp TestLib: provide helper functions to test relational operators 2023-11-13 16:35:54 +01:00
qcomparisontesthelper_p.h Comparison helper macros: drop the check for noexcept 2024-08-13 12:56:13 +00:00
qcsvbenchmarklogger.cpp QtTest: port from qsnprintf to std::snprintf and mark the module as qsnprintf-free 2024-08-05 18:23:04 +02:00
qcsvbenchmarklogger_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qemulationdetector_p.h Change license in files to avoid LGPL and non-LGPL license mix 2024-02-20 16:22:28 +01:00
qjunittestlogger.cpp QtTest: port from qsnprintf to std::snprintf and mark the module as qsnprintf-free 2024-08-05 18:23:04 +02:00
qjunittestlogger_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qplaintestlogger.cpp Gui/Testlib: fix compilation for FEATURE_qreal 2024-08-25 17:03:41 +00:00
qplaintestlogger_p.h Add QTest option for repeating the entire test execution 2023-11-15 11:07:09 +00:00
qpropertytesthelper_p.h Make headers QT_NO_QSNPRINTF-clean 2024-08-05 18:22:50 +02:00
qsignaldumper.cpp SignalDumper: protect access to ignoreClasses 2024-01-19 22:28:00 +00:00
qsignaldumper_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qsignalspy.cpp QSignalSpy: make sig member const 2024-05-16 17:12:14 +02:00
qsignalspy.h QSignalSpy: make sig member const 2024-05-16 17:12:14 +02:00
qt_cmdline.cmake Implement the batch_tests feature 2022-08-24 02:46:37 +02:00
qtaptestlogger.cpp QTest: Rename QCOMPARE_XX parameters to add meaning 2023-03-08 15:10:21 +01:00
qtaptestlogger_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qteamcitylogger.cpp QtMiscUtils: add isAsciiPrintable() helper 2023-03-18 12:00:56 +02:00
qteamcitylogger_p.h Convert teamcity logger to use QTestCharBuffer 2022-09-13 14:50:59 +02:00
qtest.h Make headers QT_NO_QSNPRINTF-clean 2024-08-05 18:22:50 +02:00
qtest_gui.h Make headers QT_NO_QSNPRINTF-clean 2024-08-05 18:22:50 +02:00
qtest_network.h QTest: rip out qxp::function_ref from reportResult() 2024-04-26 18:19:36 +02:00
qtest_widgets.h QTest: rip out qxp::function_ref from reportResult() 2024-04-26 18:19:36 +02:00
qtestaccessible.h QAccessible: rename AnnouncementPriority to AnnouncementPoliteness 2024-06-18 21:12:18 +00:00
qtestassert.h Testlib: Make QTEST_ASSERT usable in constexpr functions 2023-07-17 08:33:40 +00:00
qtestblacklist.cpp Minor code cleanup QTestPrivate::parseBlackList() 2024-07-23 22:52:53 +00:00
qtestblacklist_p.h Make checkBlackLists() return bool 2023-11-03 16:31:57 +03:00
qtestcase.cpp qtestcase.cpp: standardize on <cstdio> 2024-08-07 07:18:06 +00:00
qtestcase.h QtTest: mark more functions as cold 2024-08-03 11:15:43 +00:00
qtestcase.qdoc Fix source compatibility with existing toString() extensions 2024-07-18 11:55:37 +00:00
qtestcase_p.h Remove the use of Q_TESTLIB_PRIVATE_EXPORT 2023-12-22 19:07:27 +01:00
qtestcoreelement_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtestcrashhandler.cpp QTest: move crash-handling code out into qtestcrashhandler_p.h 2024-04-04 14:08:57 +08:00
qtestcrashhandler_p.h QTest: expose API needed for Qt Quick Test to print crash backtraces 2024-04-04 14:09:03 +08:00
qtestdata.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtestdata.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtestelement.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtestelement_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtestelementattribute.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtestelementattribute_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtestevent.h Add -Wweak-vtables to headersclean 2024-05-19 15:56:17 +00:00
qtestevent.qdoc QDoc: Drop default arguments from some \fn documentation strings 2024-03-13 15:43:10 +01:00
qtesteventloop.h QTestEventLoop: add enterLoop(std::chrono::milliseconds) overload 2023-03-03 21:36:48 +02:00
qtesthelpers_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtestjunitstreamer.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtestjunitstreamer_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtestkeyboard.h Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qtestlog.cpp QtTest: port from qsnprintf to std::snprintf and mark the module as qsnprintf-free 2024-08-05 18:23:04 +02:00
qtestlog_p.h Extend QTest::failOnWarning() to a no-parameter fail-on-any-warning 2024-05-06 20:27:41 +02:00
qtestmouse.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtestmouse.h Silence a warning in release build 2023-12-01 13:22:00 +02:00
qtestregistry.cpp Implement the batch_tests feature 2022-08-24 02:46:37 +02:00
qtestregistry_p.h Add "We mean it" header 2022-10-05 09:05:54 +02:00
qtestresult.cpp Rename qt_saturate to q26::saturate_cast 2024-08-25 17:04:32 +00:00
qtestresult_p.h QTest: rip out qxp::function_ref from compare_helper() 2024-04-26 18:19:36 +02:00
qtestspontaneevent.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtestsystem.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtesttable.cpp Make adding new rows to QTestTable more efficient 2024-01-15 20:52:54 +00:00
qtesttable_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtesttostring.h Make headers QT_NO_QSNPRINTF-clean 2024-08-05 18:22:50 +02:00
qtesttouch.h Replace usages of Q_CLANG_QDOC with Q_QDOC 2022-10-21 09:48:36 +02:00
qtestutil_macos.mm Fix typos in docs and comments 2022-06-15 21:31:02 +02:00
qtestutil_macos_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtestwheel.h testlib: Add test function for simulating wheel events 2023-12-20 01:15:17 +01:00
qttestglobal.h Do not generate the deprecated 'QtTest/qtest_global.h' 2023-08-24 13:39:45 +02:00
qxctestlogger.mm Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qxctestlogger_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qxmltestlogger.cpp QBenchlib: use QBenchmarkMeasurerBase::Measurement in QBenchmarkResult 2022-11-09 02:18:44 -07:00
qxmltestlogger_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
removed_api.cpp QTest: add removed_api.cpp and move deprecated functions to it 2024-04-26 18:19:36 +02:00
selfcover.cmake Doc: Change links from froglogic to qt domain 2022-12-09 11:40:49 +01:00