qt6-bb10/tests/auto/corelib/text
Sona Kurazyan 631127126c Introduce QByteArrayView
Created a QByteArrayView in symmetry with QStringView.
Added the basic tests symmetrical to QStringView tests.

Moved the implementations of non-modifying methods of QByteArray to
namespace QtPrivate, to be reused inline from both QByteArray and
QByteArrayView. Changed QByteArray's counterparts of those methods to
take QByteArrayView as argument instead of QByteArray. Removed
QByteArray's operator QNoImplicitBoolCast(), because it was causing
ambiguity when calling those methods with QByteArray argument (it was
there to perevnt if(!ba)/if(ba) from compiling, but currently that would
be ambiguous and won't compile anyway).

[ChangeLog][QtCore][QByteArrayView] New class.

Task-number: QTBUG-84321
Change-Id: I05f92e654cf65c95f2bb31b9c9018746ac110426
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2020-07-08 08:45:49 +02:00
..
qbytearray Add tst_QByteArrayApiSymmetry test 2020-07-08 08:45:14 +02:00
qbytearrayapisymmetry Add tst_QByteArrayApiSymmetry test 2020-07-08 08:45:14 +02:00
qbytearraylist Regenerate tests/auto/corelib/text 2019-11-12 17:26:05 +00:00
qbytearraymatcher Port qtbase/tests/auto/corelib/text tests to CMake 2020-04-27 14:34:51 +02:00
qbytearrayview Introduce QByteArrayView 2020-07-08 08:45:49 +02:00
qbytedatabuffer Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qchar Add ; to Q_UNUSED 2020-07-07 11:51:48 +02:00
qcollator Move QTextCodec support out of QtCore 2020-06-20 02:04:38 +02:00
qlatin1string Port qtbase/tests/auto/corelib/text tests to CMake 2020-04-27 14:34:51 +02:00
qlocale Port QLocale::quoteString from QStringRef to QStringView 2020-06-11 02:50:16 +02:00
qregexp CMake: Fix tst_qregexp test 2020-06-04 23:20:49 +02:00
qregularexpression Use QList instead of QVector in corelib tests 2020-07-07 11:48:45 +02:00
qstring Use QList instead of QVector in corelib tests 2020-07-07 11:48:45 +02:00
qstring_no_cast_from_bytearray Regenerate tests/auto/corelib/text 2019-11-12 17:26:05 +00:00
qstringapisymmetry Use QList instead of QVector in corelib tests 2020-07-07 11:48:45 +02:00
qstringbuilder Remove QByteArray's methods taking QString and their uses 2020-06-25 09:54:16 +02:00
qstringconverter Use QList instead of QVector in corelib tests 2020-07-07 11:48:45 +02:00
qstringiterator Sweep of int-ish → char-ish types near calls to QString::fromU*() 2020-05-12 05:43:37 +00:00
qstringlist Use QList instead of QVector in corelib tests 2020-07-07 11:48:45 +02:00
qstringmatcher Regenerate tests/auto/corelib/text 2019-11-12 17:26:05 +00:00
qstringref Use QList instead of QVector in corelib tests 2020-07-07 11:48:45 +02:00
qstringtokenizer Use QList instead of QVector in corelib tests 2020-07-07 11:48:45 +02:00
qstringview Use QList instead of QVector in corelib tests 2020-07-07 11:48:45 +02:00
qtextboundaryfinder Remove QTextCodec dependency from test 2020-05-14 07:50:49 +02:00
.prev_CMakeLists.txt Port qtbase/tests/auto/corelib/text tests to CMake 2020-04-27 14:34:51 +02:00
CMakeLists.txt Introduce QByteArrayView 2020-07-08 08:45:49 +02:00
text.pro Introduce QByteArrayView 2020-07-08 08:45:49 +02:00