qt6-bb10/tests/auto/corelib
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
..
animation Add ; to Q_UNUSED 2020-07-07 11:51:48 +02:00
global Use QList instead of QVector in corelib tests 2020-07-07 11:48:45 +02:00
io Replace use of deprecated Q_OS_MACX in favor of Q_OS_MACOS 2020-07-08 01:09:38 +02:00
itemmodels Add ; to Q_UNUSED 2020-07-07 11:51:48 +02:00
kernel Use QList instead of QVector in corelib tests 2020-07-07 11:48:45 +02:00
mimetypes QMimeType::suffixForFileName shouldn't lowercase the file suffix 2020-06-01 13:36:05 +02:00
plugin Add ; to Q_UNUSED 2020-07-07 11:51:48 +02:00
serialization Add ; to Q_UNUSED 2020-07-07 11:51:48 +02:00
statemachine Use QList instead of QVector in corelib tests 2020-07-07 11:48:45 +02:00
text Introduce QByteArrayView 2020-07-08 08:45:49 +02:00
thread QThread::create: remove the pre-C++17 codepaths 2020-07-07 20:54:12 +02:00
time Make feature datetimeparser depend on feature datestring 2020-07-02 15:35:18 +02:00
tools Add ; to Q_UNUSED 2020-07-07 11:51:48 +02:00
.prev_CMakeLists.txt Move QTextCodec support out of QtCore 2020-06-20 02:04:38 +02:00
CMakeLists.txt Move QTextCodec support out of QtCore 2020-06-20 02:04:38 +02:00
corelib.pro Move QTextCodec support out of QtCore 2020-06-20 02:04:38 +02:00