qt6-bb10/tests/auto/corelib/text
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
..
qanystringview QAnyStringView: check QASV(char) isn't UTF-8 2024-07-17 16:26:27 +00:00
qbytearray QByteArray: fix lastIndexOf for char values with set sign bit 2024-08-20 11:40:56 +00:00
qbytearray_large Change license for tests files 2024-02-04 09:56:42 +01:00
qbytearrayapisymmetry Blacklist tests requiring parsing text > 255 chars on VxWorks 2024-06-26 22:52:30 +00:00
qbytearraylist Change license for tests files 2024-02-04 09:56:42 +01:00
qbytearraymatcher Change license for tests files 2024-02-04 09:56:42 +01:00
qbytearrayview tst_QByteArrayView: remove use of std::char_traits 2024-08-27 05:22:58 +00:00
qbytedatabuffer Change license for tests files 2024-02-04 09:56:42 +01:00
qchar Tests: check the output of QFile::open 2024-03-27 04:24:11 +01:00
qcollator Change license for tests files 2024-02-04 09:56:42 +01:00
qlatin1stringmatcher QStaticLatin1StringMatcher: add indexIn(QStringView) 2024-05-08 22:05:35 +02:00
qlatin1stringview String Views: optimize the QByteArray/QString constructors 2024-08-26 04:18:29 +00:00
qlocale QLocale: add (in)equality operators with QLocale::Language 2024-09-04 08:37:48 +00:00
qregularexpression QRegularExpression: coalesce consecutive * tokens in wildcards 2024-08-08 01:09:59 +00:00
qstring Tests: disable various compiler warnings 2024-07-12 00:48:40 +00:00
qstring_no_cast_from_bytearray Change license for tests files 2024-02-04 09:56:42 +01:00
qstringapisymmetry String Views: add slice() methods 2024-08-28 17:40:05 +00:00
qstringbuilder tst_QStringBuilder: add more checks 2024-06-12 12:23:43 +00:00
qstringconverter tst_QStringConverter: compare pointer distances, not pointers 2024-06-07 06:59:22 +00:00
qstringiterator Change license for tests files 2024-02-04 09:56:42 +01:00
qstringlist Change license for tests files 2024-02-04 09:56:42 +01:00
qstringmatcher Change license for tests files 2024-02-04 09:56:42 +01:00
qstringtokenizer Change license for tests files 2024-02-04 09:56:42 +01:00
qstringview tst_QStringView: (re)fix GCC ubsan build 2024-05-23 01:36:55 +02:00
qtextboundaryfinder Tests: check the output of QFile::open 2024-03-27 04:24:11 +01:00
qunicodetools Change license for tests files 2024-02-04 09:56:42 +01:00
shared Change license for tests files 2024-02-04 09:56:42 +01:00
CMakeLists.txt tst_QStringApiSymmetry: disable for WASM 2024-08-25 10:21:14 +00:00