qt6-bb10/tests/auto
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
..
bic/data Add binary compatibility file for 6.6.0 2023-10-17 22:23:42 +03:00
cmake Introduce QTP0003 which controls the BUILD_SHARED_LIBS impact on user projects 2024-02-01 09:46:51 +01:00
concurrent Fix QThreadPool::maxThreadCount() usage 2024-01-08 18:29:26 +01:00
corelib Modernize comparisons in tst_QLocale 2024-02-02 08:26:14 +01:00
dbus QDBusConnectionPrivate: Close connection after failed q_dbus_bus_register() 2023-12-07 23:36:15 +01:00
gui QFileSystemModel: don't crash with setIconProvider(nullptr) 2024-02-01 22:06:12 +00:00
guiapplauncher Turn the "concentriccircles" example into snippets, update screenshot 2023-12-14 20:06:32 +01:00
network Skip compilation of tst_QLocalSocket::verifyListenWithDescriptor on VxWorks 2024-01-31 07:04:37 +01:00
opengl tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
other Tests: remove blacklisted CIs no longer available 2023-12-06 22:07:44 +01:00
printsupport Dialogs: clean up native dialogs when object gets destroyed 2023-09-06 23:12:33 +02:00
shared coretext: Support variable application fonts 2023-10-03 19:25:46 +02:00
sql SQL: rename enablePositionalBinding() to setPositionalBindingEnabled() 2024-01-10 04:32:49 +01:00
testlib QTest: add -[no]throwon{fail,skip} command line arguments 2024-01-27 22:56:12 +01:00
tools moc: store the FQN in JSON superClass objects 2024-01-26 23:50:57 +01:00
wasm wasm tests: Add test for making network request 2023-12-19 17:05:55 +00:00
widgets Don't set ExplicitShowHide on children when showing parent widget 2024-02-01 15:28:56 +01:00
xml CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
CMakeLists.txt CI: Enable some tests under corelib/thread for Wasm platform 2023-09-14 11:58:48 +02:00
network-settings.h QtNetworkSettings: narrow down hasIPv6 to specific OSes 2023-08-29 07:20:51 -07:00