qt5base-lts/tests/auto
Giuseppe D'Angelo 594abde1a2 Enforce that statically allocated array-like containers have 0 capacity
It has been the case for both QStringLiteral and QByteArrayLiteral
since Qt 5.0, and Q_ARRAY_LITERAL since Qt 6.0.

Since it's definitely surprising, add a note in the docs, which
is "somehow" consistent with the interpretation of capacity as
the biggest possible size before we reallocate. Since it's 0,
any manipulation of the size will cause a reallocation.
(Alternatively: the capacity() is for how many elements memory was
requested from the free store. No memory was allocated, so 0...)

Task-number: QTBUG-84069
Change-Id: I5c7d21a22d1bd8b8d9b71143e33d537ca0224acd
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2020-05-14 14:19:47 +02:00
..
cmake Merge remote-tracking branch 'origin/5.15' into dev 2020-05-05 19:51:50 +02:00
concurrent Add more tests for QtConcurrent::filterReduced() 2020-05-07 15:23:58 +02:00
corelib Enforce that statically allocated array-like containers have 0 capacity 2020-05-14 14:19:47 +02:00
dbus Fix autotests after the QHash changes 2020-04-09 20:04:15 +02:00
gui Remove autotest for codecForHtml 2020-05-14 07:50:54 +02:00
guiapplauncher
installed_cmake
network QNetworkReply/http2: Add a contentEncoding test 2020-05-13 13:54:44 +02:00
opengl Get rid of QT_OPENGL_ES* 2020-04-17 11:50:24 +02:00
other Make qtbase compile without QT_CONFIG(timezone) 2020-05-11 14:42:00 +03:00
printsupport Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
shared QWindowsFontDatabase: Check preferred family names for all fonts 2019-11-29 09:31:21 +01:00
sql Make qtbase compile without QT_CONFIG(timezone) 2020-05-11 14:42:00 +03:00
testlib Rewrite Qt Testlib selftest to not rely on Qt Testlib itself 2020-05-11 15:42:28 +02:00
tools uic/Python: import all the classes for QtCore and QtGui 2020-05-05 22:04:51 +02:00
widgets QBasicDrag: Send QDragMoveEvent when modifiers change 2020-05-14 15:19:47 +03:00
xml Remove QTextCodec dependency in the old SAX parser 2020-05-14 07:51:32 +02:00
.prev_CMakeLists.txt Re-order the sub-dirs to catch real culprits before things they break 2020-05-05 15:34:15 +02:00
auto.pro Re-order the sub-dirs to catch real culprits before things they break 2020-05-05 15:34:15 +02:00
CMakeLists.txt Re-order the sub-dirs to catch real culprits before things they break 2020-05-05 15:34:15 +02:00
network-settings.h Revert "QAbstractSocket: deprecate 'error' member-function" 2020-02-26 23:07:52 +03:00