qt5base-lts/tests/auto/corelib
Thiago Macieira 8fb45ae5b8 Introduce QArrayData::allocatedCapacity() and use it instead of d->alloc
In almost all cases, use d->allocatedCapacity() or
d->constAllocatedCapacity() instead of d->alloc, since they do the
same thing (right now). In the future, the functions will be
changed. There is a separate const version because most const code
should not need to know the allocation size -- only mutating code
should need to know that

There are a few cases where d->alloc was replaced with a better
alternative, like d->size. The one case that remains in the code will
be replaced by a different test when it's available.

Change-Id: I48135469db4caf150f82df93fff42d2309b23719
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
2019-12-07 14:18:12 +01:00
..
animation Update for failures only on dev branch. Use general platform names 2019-08-19 18:22:11 +02:00
codecs Port from QStringViewLiteral to u"" 2019-07-29 11:17:28 +03:00
global Merge remote-tracking branch 'origin/5.15' into dev 2019-11-25 11:30:04 +01:00
io Merge remote-tracking branch 'origin/5.15' into dev 2019-11-27 08:41:33 +01:00
itemmodels Avoid initializing QFlags with 0 or nullptr in tests 2019-11-26 09:08:51 +01:00
kernel Use Q_NAMESPACE for the Qt namespace, and remove the old moc hack to support it 2019-12-06 20:29:15 +00:00
mimetypes Remove handling of missing Q_COMPILER_RVALUE_REFS 2019-05-01 20:24:45 +00:00
plugin Avoid initializing QFlags with 0 or nullptr in tests 2019-11-26 09:08:51 +01:00
serialization Merge remote-tracking branch 'origin/5.15' into dev 2019-12-04 01:00:23 +01:00
statemachine QStateMachine: Don't scream at the user 2019-10-24 10:26:03 +02:00
text Fix qChecksum test 2019-12-07 14:17:16 +01:00
thread Get rid of QT_STRICT_ITERATORS 2019-11-04 12:52:26 +00:00
time Merge remote-tracking branch 'origin/5.14' into 5.15 2019-12-03 06:57:05 +01:00
tools Introduce QArrayData::allocatedCapacity() and use it instead of d->alloc 2019-12-07 14:18:12 +01:00
corelib.pro Move text-related code out of corelib/tools/ to corelib/text/ 2019-07-10 17:05:30 +02:00