qt5base-lts/tests/auto
Andreas Buhr 06f58a909b Add unit test for QString::replace with out-of-bounds position
QString::replace(pos, len, *unicode, size) can handle positions
which are outside of the this-string. In that case, it is a no-op.
Coverage analysis revealed we do not have a unit test for this.
This patch adds one.

Change-Id: Id4a407e860fff0d5c7c0a200c379e5e3961c86d2
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2020-11-19 23:56:15 +01:00
..
cmake CMake: Add support for -binary option for generated resources 2020-11-12 22:11:37 +01:00
concurrent Automatically generate unit tests for QtConcurrent 2020-11-09 16:01:33 +01:00
corelib Add unit test for QString::replace with out-of-bounds position 2020-11-19 23:56:15 +01:00
dbus QChar: make construction from integral explicit 2020-11-15 14:41:05 +01:00
gui Get rid of Q_COMPILER_CONSTEXPR checks 2020-11-17 21:28:11 +01:00
guiapplauncher Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
installed_cmake
network Get rid of Q_COMPILER_CONSTEXPR checks 2020-11-17 21:28:11 +01:00
opengl Remove tst_QGL 2020-08-28 11:43:11 +02:00
other Network self-test: make it work with docker/containers 2020-11-17 19:56:06 +01:00
printsupport Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
shared Remove most compiler warnings about missing overrides 2020-09-11 00:20:47 +02:00
sql Cleanup remaining QVariant::Type uses in Qt Sql 2020-10-17 12:01:54 +02:00
testlib QSignalSpy: Use QMetaType instead of metatype id in initArgs 2020-11-10 11:23:55 +01:00
tools Android: exclude host tools tests for android and ios 2020-11-16 11:35:33 +00:00
widgets QTest: don't wait before sending mouse event: increment the timestamp 2020-11-17 19:55:04 +01:00
xml QChar: make construction from integral explicit 2020-11-15 14:41:05 +01:00
.prev_CMakeLists.txt CMake: Regenerate projects 2020-09-22 19:08:53 +02:00
auto.pro Don't error out when configuring Qt on a headless system 2020-09-26 14:36:13 +02:00
CMakeLists.txt CMake: Fix building with -DQT_FEATURE_gui=OFF 2020-09-15 20:05:32 +02:00
network-settings.h Network self-test: make it work with docker/containers 2020-11-17 19:56:06 +01:00