qt5base-lts/tests/auto/corelib/tools/qbytearray
Thiago Macieira f1540a2966 Fix capacity reservation for shared QByteArray
We can squeeze, but not by discarding elements. Make sure the size of
the object stays intact after changing the reserved capacity.

I've also added unit tests for other containers, just to be sure.

Task-number: QTBUG-37750
Change-Id: I5135b095943b7589423c51cebcb52af792468e61
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
2014-04-05 05:23:07 +02:00
..
.gitattributes Moving relevant tests to corelib/tools 2011-09-01 13:07:23 +02:00
.gitignore Moving relevant tests to corelib/tools 2011-09-01 13:07:23 +02:00
qbytearray.pro Add Objective-C specific type converters to QByteArray 2014-03-08 00:21:53 +01:00
rfc3252.txt Moving relevant tests to corelib/tools 2011-09-01 13:07:23 +02:00
tst_qbytearray_mac.mm Add Objective-C specific type converters to QByteArray 2014-03-08 00:21:53 +01:00
tst_qbytearray.cpp Fix capacity reservation for shared QByteArray 2014-04-05 05:23:07 +02:00