qt6-bb10/tests/auto/corelib
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
..
animation Change license for tests files 2024-02-04 09:56:42 +01:00
global Revert "Convert a Qt ordering type to the weaker std ordering type" 2024-09-02 18:10:39 +00:00
io QDirListing: make end() return a sentinel 2024-09-03 18:06:32 +00:00
ipc ipctestcommon.h: port away from qsnprintf() 2024-07-30 16:47:32 +00:00
itemmodels QIdentityProxyModel: add setHandleSourceDataChanges(bool) 2024-08-12 20:18:41 +00:00
kernel JNI: Add test coverage for a jobjectArray in a native function 2024-09-02 18:10:38 +00:00
mimetypes Update tika-mimetypes.xml from upstream 2024-08-29 04:16:36 +00:00
platform Android: Add Java QtAbstractItemModel auto test 2024-08-20 01:28:03 +00:00
plugin QLibrary/Unix: update the x86-64-v3 prefix path in our search 2024-07-11 08:27:24 +00:00
serialization Fix users of static max_size() 2024-08-31 08:56:31 +00:00
text QLocale: add (in)equality operators with QLocale::Language 2024-09-04 08:37:48 +00:00
thread QThread/Unix: fix normal exit/terminate() race 2024-07-11 08:27:17 +00:00
time Rename new QTZ::aliasMatches to hasAlternativeName 2024-08-27 16:38:19 +00:00
tools QHash: adapt to C++20 ranges not offering operator->() 2024-08-20 01:28:02 +00:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00