qt6-bb10/tests/auto/corelib
Marc Mutz f3c340c276 QStringTokenizer::toContainer(): allow more types of target containers
The previous constraint called for the value_type of the container to
exactly match the value_type of the tokenizer, which means
toContainer() could only ever work on containers of views. But there
is value in allowing QStringList, even though it works only on QL1S
needles (QStringView -> QString isn't implicit). But users may have
other types that for better or worse implicitly convert from views, so
we shouldn't over-constrain the function.

[ChangeLog][QtCore][QStringTokenizer] toContainer() now works on
containers whose value_type can be constructed from the tokenizer's
value_type. It no longer requires an exact match.

Fixes: QTBUG-101702
Change-Id: Ie384cd1c4b51eaa57675f2a014141ceec8651c81
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2022-03-15 21:05:31 +01:00
..
animation tst_qanimationgroup: fix memleaks 2022-01-05 08:22:00 +01:00
global Restore C++20-deprecated mixed-enum bitwise operators 2022-03-15 11:36:09 +01:00
io qDecodeDataUrl(): treat ";base64" marker as case-insensitive 2022-03-11 19:15:49 +00:00
itemmodels Fix test to pass with QT_FORCE_ASSERTS 2022-02-18 18:55:38 +01:00
kernel Blacklist: test cases blacklisted in tst_QSystemSemaphore: 2022-03-10 08:18:42 +00:00
mimetypes Remove unused .qrc files 2022-01-17 23:17:01 +01:00
platform
plugin Fix test when accessing patched plugin too fast 2022-02-25 14:52:34 +02:00
serialization Revert "Blacklist: test cases blacklisted in tst_QXmlStream:" 2022-03-15 07:32:32 +00:00
text QStringTokenizer::toContainer(): allow more types of target containers 2022-03-15 21:05:31 +01:00
thread QMutexLocker: add isLocked() 2022-03-15 03:32:14 +01:00
time Add tests for an assertion seen on Windows 2022-03-04 23:26:13 +01:00
tools tst_qflatmap: fix -Wunused-local-typedef (Clang) 2022-03-11 19:15:49 +00:00
CMakeLists.txt