qt6-bb10/tests/auto/corelib
Edward Welbourne b0cb4a80e5 Modernize comparisons in tst_QLocale
QCOMPARE() can report enum values by name just fine, no need to
laboriously convert them to strings. While comparing all tags in one
go did allow a more comprehensive report, it's enough to know we
failed; this is testing cross-platform code, so a debugger can tell us
all those extra details if we get a failure.

Testing qHash() doesn't distinguish equal things is fairly low value;
at least avoid duplicating the construction of the reference value.

Replace a bunch of other QVERIFY()s with the new cousins of QCOMPARE()
for ordered and different comparisons.

In the process, mark some of the QLocale objects as const.

Change-Id: Ic93b8ed60c6f2cc846fbba428983778896d61291
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
2024-02-02 08:26:14 +01:00
..
animation Tests: remove blacklisted CIs no longer available 2023-12-06 22:07:44 +01:00
global Exclude VxWorks from cxx 23 mode compilation of qcomparehelpers 2024-01-31 13:21:55 +01:00
io QDirIterator: don't create test dirs/files in the source dir 2024-02-01 16:28:55 +02:00
ipc Skip tst_QSharedMemory::useTooMuchMemory 2023-12-22 17:01:01 +02:00
itemmodels Introduce macros to simplify testing comparison 2024-01-19 12:58:57 +00:00
kernel QObject: add unittest to check the order of eventFilter() calls 2024-02-01 23:42:56 +02:00
mimetypes Exclude test from compilation without qprocess 2024-01-31 13:21:55 +01:00
platform Android: Add a context delegate for embedding QML to native Android 2024-01-21 15:46:30 +02:00
plugin Resurrect tests/auto/corelib/plugin/qpluginloader/machtest 2024-01-10 00:44:34 +01:00
serialization QBitArray: fix potential truncation in QDataStream op>>() 2024-01-31 21:18:47 +01:00
text Modernize comparisons in tst_QLocale 2024-02-02 08:26:14 +01:00
thread Add cxx11_future in QPromise tests and disable it for VxWorks 2024-01-31 12:21:55 +00:00
time Introduce macros to simplify testing comparison 2024-01-19 12:58:57 +00:00
tools QVersionNumber: make iterable 2024-01-31 20:18:48 +00:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00