qt6-bb10/tests/auto/corelib/text
Ivan Solovev fb50ab7006 Add QByteArrayView vs const char * relational operators
... by using the new comparison helper macros.

Also, convert the existing QByteArrayView relational operators to use
these macros.

An attempt to define the helper functions comparesEqual() and
compareThreeWay() as hidden friends leads to compilation errors, because
the QByteArrayView(QLatin1StringView) constructor gets somehow disabled.
Apparently, it cannot satisfy the
QtPrivate::IsContainerCompatibleWithQByteArrayView trait anymore.
I could not find a reason for that, so I just defined the helper
functions as static inline private members of QByteArrayView. This fixes
the issue.

This allows to enable related tests in tst_qstringapisymmetry.

Task-number: QTBUG-108805
Change-Id: I35a69e99db8c61531ec726dab5b242b857f69e85
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2024-02-20 01:04:33 +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 Add QByteArrayView vs const char * relational operators 2024-02-20 01:04:33 +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