qt5base-lts/tests/auto
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
..
cmake Use QList instead of QVector in other qtbase tests 2020-07-07 11:48:45 +02:00
concurrent Use QList instead of QVector in concurrent tests 2020-06-22 16:46:01 +02:00
corelib Introduce QByteArrayView 2020-07-08 08:45:49 +02:00
dbus Use QList instead of QVector in dbus tests 2020-06-25 07:54:33 +02:00
gui Separate QPD::tabletDevice into priv tabletDevice and queryTabletDevice 2020-07-07 16:14:58 +00:00
guiapplauncher Fix path to examples part of tst_GuiAppLauncher 2015-02-13 07:28:15 +00:00
installed_cmake Add a unit test for testing Qt in its install location. 2013-07-02 23:08:54 +02:00
network Add ; to Q_UNUSED 2020-07-07 11:51:48 +02:00
opengl Get rid of QT_OPENGL_ES* 2020-04-17 11:50:24 +02:00
other Remove unnecessary ; after function implementations 2020-07-06 11:46:39 +02:00
printsupport Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
shared QWindowsFontDatabase: Check preferred family names for all fonts 2019-11-29 09:31:21 +01:00
sql Add ; to Q_UNUSED 2020-07-07 11:51:48 +02:00
testlib Avoid use of Q_UNUSED by eliminating the parameter names 2020-07-03 21:10:09 +02:00
tools Don't set the environment variable QT_RCC_TEST anymore in tst_rcc 2020-07-08 07:56:40 +02:00
widgets Add ; to Q_UNUSED 2020-07-07 11:51:48 +02:00
xml Remove QByteArray's methods taking QString and their uses 2020-06-25 09:54:16 +02:00
.prev_CMakeLists.txt Remove winrt 2020-06-06 20:25:49 +02:00
auto.pro Remove winrt 2020-06-06 20:25:49 +02:00
CMakeLists.txt Remove winrt 2020-06-06 20:25:49 +02:00
network-settings.h Revert "QAbstractSocket: deprecate 'error' member-function" 2020-02-26 23:07:52 +03:00