qt6-bb10/tests/auto/corelib/text
Ivan Solovev 77bec4f7c8 Simplify QLatin1StringView vs byte array relational operators
Now when QLatin1StringView implements relational operators with
QByteArrayView in terms of new comparison helper macros and helper
methods taking QByteArrayView, we can easily re-use these helper
methods to provide comparison with QByteArray and const char *.

QLatin1StringView already provided almost all of these operations,
partly as hidden friend functions, partly as inline methods.
Since the class is not exported, and the methods were inline, we
can just remove all of them and replace them with the comparison
helper macros.

This should speed up the relational operators, because they do not
construct string objects using QString::fromUtf8() anymore, but use
QUtf8StringView instead.

This also adds the previously missing QByteArray vs QLatin1StringView
relational operators.

Task-number: QTBUG-117661
Change-Id: I17a9185127ae130dab9409c6340a58f5d39f5a10
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2024-02-20 01:04:34 +01:00
..
qanystringview Change license for tests files 2024-02-04 09:56:42 +01:00
qbytearray Change license for tests files 2024-02-04 09:56:42 +01:00
qbytearray_large Change license for tests files 2024-02-04 09:56:42 +01:00
qbytearrayapisymmetry Change license for tests files 2024-02-04 09:56:42 +01: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 Change license for tests files 2024-02-04 09:56:42 +01:00
qbytedatabuffer Change license for tests files 2024-02-04 09:56:42 +01:00
qchar Change license for tests files 2024-02-04 09:56:42 +01:00
qcollator Change license for tests files 2024-02-04 09:56:42 +01:00
qlatin1stringmatcher Change license for tests files 2024-02-04 09:56:42 +01:00
qlatin1stringview Change license for tests files 2024-02-04 09:56:42 +01:00
qlocale Change license for tests files 2024-02-04 09:56:42 +01:00
qregularexpression Change license for tests files 2024-02-04 09:56:42 +01:00
qstring Change license for tests files 2024-02-04 09:56:42 +01:00
qstring_no_cast_from_bytearray Change license for tests files 2024-02-04 09:56:42 +01:00
qstringapisymmetry Simplify QLatin1StringView vs byte array relational operators 2024-02-20 01:04:34 +01:00
qstringbuilder Change license for tests files 2024-02-04 09:56:42 +01:00
qstringconverter QStringConverter: add a test for missing drain 2024-02-12 19:12:25 +01: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 Change license for tests files 2024-02-04 09:56:42 +01:00
qtextboundaryfinder tst_qttextboundaryfinder: ignore unsupported tests 2024-02-08 17:43:58 +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 wasm: Disable problematic qlocal test for time being 2024-02-01 19:25:43 +00:00