qt5base-lts/tests/auto
Marc Mutz 41a994db06 QAnyStringView: add substringing operations
Add the full set of substringing operations:
- mid/left/right (old-style)
- sliced/first/last (new style)
- chop/chopped/truncate

The implementation is copied from QUtf8StringView, adjusted to use
sliced() instead of the (ptr, n) ctor, so we need to deal with the tag
twiddling only once, in sliced().

The documentation is also copied from QUtf8StringView.

[ChangeLog][QtCore][QAnyStringView] Added substring functions
sliced(), first(), last(), chop()/chopped(), truncate().

Change-Id: Ief454e9694519e97d9146fa84bc05dda1dded046
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Mate Barany <mate.barany@qt.io>
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2022-12-08 18:00:16 +00:00
..
bic/data Revert "Add binary compatibility file generated against 6.4.0" 2022-11-17 13:52:02 +00:00
cmake Move Some of the Private CMake Helper Scripts from bin/ to libexec/ 2022-12-05 18:02:59 +00:00
concurrent Temporarily skip tst_qtcuncurrentrun::pollForIsFinished in emulator 2022-11-30 18:01:47 +01:00
corelib QAnyStringView: add substringing operations 2022-12-08 18:00:16 +00:00
dbus Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
gui Fix missing text when Harfbuzz fails to shape a substring 2022-12-05 07:55:43 +01:00
guiapplauncher
network tst_QNetworkReply: check whether we actually use six TCP connections in HTTP/1 2022-12-06 07:02:53 +01:00
opengl Remove the qmake project files 2021-01-07 15:32:28 +01:00
other Blacklist tst_gestures on OpenSuSE 2022-11-24 09:06:47 +00:00
printsupport Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
shared Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
sql SQL/MySQL: fix handling of json column 2022-12-05 01:56:45 +00:00
testlib Use QString/QByteArray range erase() 2022-12-07 15:03:03 +02:00
tools moc: Output the "cloned" flag for methods 2022-11-27 12:47:30 +01:00
wasm Fix typo in QWasmWindowStack's name 2022-10-20 16:36:23 +02:00
widgets QComboBox: Don't dereference potential nullptr, simplify 2022-12-08 15:14:17 +01:00
xml Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
CMakeLists.txt tests: add timeout for the dbus test message 2022-12-08 17:56:47 +01:00
network-settings.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00