qt5base-lts/tests/auto/corelib
Lars Knoll 2f05aa82e7 Adjust resize() behavior of QString and QByteArray to match Qt 5
resize() to a smaller size does not reallocate in Qt 5 if the container
is not shared. Match this here.

As a drive-by also fix resize calls on raw data strings to ensure
they are null terminated after the resize.

Change-Id: Ic4d8830e86ed3f247020d7ece3217cebd344ae96
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2020-05-21 17:59:31 +02:00
..
animation Merge remote-tracking branch 'origin/5.15' into dev 2020-03-16 18:41:27 +01:00
codecs Streamline the code in the conversion to and from utf8 2020-05-14 07:51:45 +02:00
global Get rid of QTextCodec in QTextStream 2020-05-14 07:50:19 +02:00
io Get rid of some QTextCodec leftovers 2020-05-14 07:51:20 +02:00
itemmodels Remove QRegExp support from QSortFilterProxyModel 2020-04-15 14:38:40 +02:00
kernel QMetaType: Support char16_t and char32_t 2020-05-15 18:46:39 +02:00
mimetypes QtConcurrent::run: accept more then five function's arguments 2020-03-11 14:46:25 +01:00
plugin Change qHash() to work with size_t instead of uint 2020-04-09 20:03:25 +02:00
serialization Merge remote-tracking branch 'origin/5.15' into dev 2020-05-18 08:52:33 +02:00
statemachine Merge remote-tracking branch 'origin/5.15' into dev 2020-02-13 18:31:40 +01:00
text Adjust resize() behavior of QString and QByteArray to match Qt 5 2020-05-21 17:59:31 +02:00
thread Add support of cancellation handler callbacks to QFuture 2020-05-15 22:35:30 +02:00
time Teach QDateTimeParser some common time-zone offset formats 2020-05-12 12:45:58 +03:00
tools QTaggedPointer: verify constexpr'ness of some ctors 2020-05-16 08:55:28 +02:00
.prev_CMakeLists.txt cmake: Remove APPLE prefix from platform names 2020-03-16 17:57:56 +01:00
CMakeLists.txt cmake: Remove APPLE prefix from platform names 2020-03-16 17:57:56 +01:00
corelib.pro Move text-related code out of corelib/tools/ to corelib/text/ 2019-07-10 17:05:30 +02:00