qt6-bb10/tests/auto
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
..
bic/data Add binary compatibility file for 6.6.0 2023-10-17 22:23:42 +03:00
cmake Change license in test file 2024-02-14 15:23:05 +01:00
concurrent Remove extra semi-colons 2024-02-06 20:17:18 +09:00
corelib Add QByteArrayView vs const char * relational operators 2024-02-20 01:04:33 +01:00
dbus Remove extra semi-colons 2024-02-06 20:17:18 +09:00
gui tst_QTextMarkdownWriter: test both ways of setting font characteristics 2024-02-14 18:36:42 -07:00
guiapplauncher Turn the "concentriccircles" example into snippets, update screenshot 2023-12-14 20:06:32 +01:00
network tst_QNetworkReply: Try to stabilize qtbug68821proxyError 2024-02-15 16:27:19 +01:00
opengl tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
other Change license for tests files 2024-02-04 09:56:42 +01:00
printsupport 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
sql Change license for tests files 2024-02-04 09:56:42 +01:00
testlib QTest: allow passing chrono literal as QTRY_ timeout 2024-02-07 12:15:09 +00:00
tools rcc: Suppress MSVC warning C4711 in generated code 2024-02-19 19:56:25 +01:00
wasm wasm: Refractor Selenium manual test into auto test 2024-02-07 13:15:09 +01:00
widgets QRhiWidget: Tear down resources before window has changed 2024-02-14 18:51:29 +01:00
xml Change license for tests files 2024-02-04 09:56:42 +01:00
CMakeLists.txt wasm: Add missing test io/qtbuffer 2024-02-19 17:03:11 +00:00
network-settings.h Change license for tests files 2024-02-04 09:56:42 +01:00