qt6-bb10/tests/auto/corelib
Marc Mutz a00a1d8806 QByteArray/QVarLengthArray: add missing resize(n, v) overloads
QList and QString had them, so add them to QByteArray and
QVarLengthArray, too.

In the QVLA case, we need to jump though a hoop or two to avoid having
to duplicate all the reallocation logic. Nothing a few template tricks
cannot solve.

[ChangeLog][QtCore][QByteArray] Added resize(n, ch) overload.

[ChangeLog][QtCore][QVarLengthArray] Added resize(n, v) overload.

Fixes: QTBUG-102270
Change-Id: I0d281ae5b574f440f682e4a62427b434dcf5b687
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2022-04-06 10:44:40 +00:00
..
animation tst_qanimationgroup: fix memleaks 2022-01-05 08:22:00 +01:00
global Move some purely floating-point testing from tst_QLocale to tst_QNumeric 2022-04-01 23:11:35 +02:00
io QBuffer: fail early in seek() beyond QByteArray's max capacity 2022-04-05 20:34:44 +00:00
itemmodels Fix test to pass with QT_FORCE_ASSERTS 2022-02-18 18:55:38 +01:00
kernel Revert "Blacklist: test cases blacklisted in tst_QSystemSemaphore:" 2022-04-01 08:00:39 +00:00
mimetypes Tests: Do not depend on transitive includes 2022-03-17 17:14:37 +01:00
platform Android: Add runOnMainAndroidThread() under QNativeInterface 2021-05-26 23:24:11 +00:00
plugin Android: activate tst_QPluginLoader 2022-03-30 19:05:59 +02:00
serialization Disable test tst_qxmlstream for QNX 2022-03-25 20:16:30 +02:00
text QByteArray/QVarLengthArray: add missing resize(n, v) overloads 2022-04-06 10:44:40 +00:00
thread Android: activate tst_QThreadStorage 2022-03-25 22:43:49 +01:00
time Add a test and remove a work-around for a fixed bug 2022-03-29 22:21:57 +02:00
tools QByteArray/QVarLengthArray: add missing resize(n, v) overloads 2022-04-06 10:44:40 +00:00
CMakeLists.txt Add tests for QAndroidApplication's sdkVersion and activity 2021-05-13 01:41:36 +03:00