qt6-bb10/tests/auto/corelib/tools/qstring
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
..
.gitignore Moving relevant tests to corelib/tools 2011-09-01 13:07:23 +02:00
double_data.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qstring.pro Add Mac type conversion functions to QtCore 2013-09-21 05:09:41 +02:00
tst_qstring.cpp Fix capacity reservation for shared QByteArray 2014-04-05 05:23:07 +02:00
tst_qstring_mac.mm Add Mac type conversion functions to QtCore 2013-09-21 05:09:41 +02:00