qt5base-lts/tests/auto/corelib
Mårten Nordheim bbadd1b5c1 Add QByteArray::insert(qsizetype, const QByteArray &)
For consistency with append and prepend we should have an overload for
insert() as well. This also enables insert() to be used with
QStringBuilder, i.e. qba.insert(2, qba2 + "abc").

Because simply adding a const QByteArray & overload causes ambiguity
with QByteArrayView we also add a const char * overload.

Add some extra test-cases. Two for QByteArrayView since it's not
directly tested anymore. One for inserting self directly.

Change-Id: Ieb43a6a7d1afbb498bc89c690908d7f0faa94687
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2020-11-11 01:00:39 +01:00
..
animation Remove timeStep parameter from QAnimationDrive::advanceAnimation 2020-10-13 08:44:42 +02:00
global Add tests for QOperatingSystemVersion 2020-11-09 16:01:33 +01:00
io QDebug: add op<<(QUtf8StringView) 2020-11-07 09:35:11 +01:00
itemmodels Remove QItemSelectionRange's operator<() 2020-10-28 15:27:37 +01:00
kernel QSharedMemory: do not abuse QChar in a test 2020-11-08 02:13:22 +00:00
mimetypes CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
plugin Android: blacklist a list of failing tests for android 2020-11-04 12:27:49 +02:00
serialization Android: blacklist a list of failing tests for android 2020-11-04 12:27:49 +02:00
text Add QByteArray::insert(qsizetype, const QByteArray &) 2020-11-11 01:00:39 +01:00
thread Use built-in C++ foreach iteration in tests 2020-11-06 10:16:31 +01:00
time Android: blacklist a list of failing tests for android 2020-11-04 12:27:49 +02:00
tools Fix QArrayDataOps generic and relocatable emplace() 2020-11-09 17:36:31 +01:00
.prev_CMakeLists.txt Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
CMakeLists.txt Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
corelib.pro Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00