qt6-bb10/tests/auto
Ivan Solovev ea1a6d3ae0 QLocale: add (in)equality operators with QLocale::Language
We do have an implicit constructor which allows construction of a
QLocale from the QLocale::Language enum values. It will be used when
doing the comparison.
However, do not rely on the implicit conversions, and provide the
operators that explicitly do the right thing. This also allows us to
save an extra allocation of QLocalePrivate.

Found in Qt 6.8 API review.

Amends 71bbc35a37.

As a drive-by: fix the order of the test slots in the unit test.

Change-Id: I37f8f5881469b7734705e06e471746814dd2ddf0
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit 403b1abcad5f437c51dfabd7095b814e99e197a1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-09-04 08:37:48 +00:00
..
bic/data Add binary compatibility file for 6.7.0 2024-04-17 10:18:37 +00:00
cmake CMake: qt_add_ui: Add sources to target_sources 2024-08-12 17:26:49 +00:00
concurrent tst_QtConcurrentThreadEngine: fix UB (uninitialized boolean) 2024-07-06 10:17:50 +00:00
corelib QLocale: add (in)equality operators with QLocale::Language 2024-09-04 08:37:48 +00:00
dbus fix: Redundant condition in isValidBasicType 2024-08-28 01:13:29 +00:00
gui Reset QWindow positionPolicy on destroy 2024-08-28 17:40:05 +00:00
guiapplauncher Convert "Color Editor Factory" Example to snippets 2024-04-19 13:39:41 +02:00
network tests: blacklist tst_QTcpServer::qtbug6305() on macos-12 arm 2024-08-23 20:04:26 +00:00
opengl
other Accessibility on macOS: make treeview test more reliable 2024-08-22 04:40:28 +00:00
printsupport tests: blacklist tst_QPrinter::testPrintPreviewDialog() 2024-08-12 09:43:38 +00:00
shared Introduce flag to use typographical line metrics for fonts 2024-05-31 19:30:53 +02:00
sql SQL/QSqlRelationTableModel: don't crash with more than one relation 2024-07-22 21:00:12 +00:00
testlib tst_selftest: port away from qsnprintf() 2024-07-30 16:47:38 +00:00
tools moc: Print method index to JSON output 2024-08-20 08:51:01 +00:00
wasm Add copyright and licensing to build system files missing it 2024-05-21 17:23:21 +02:00
widgets Implement QTableModel::moveRows 2024-08-29 04:16:49 +00:00
xml QtXml: be systematic about feature dom 2024-08-29 18:21:29 +00:00
CMakeLists.txt tst_QSettings: port to QTEST_THROW_ON_FAIL 2024-06-27 06:06:02 +00:00
network-settings.h Change license for tests files 2024-02-04 09:56:42 +01:00