qt5base-lts/tests/auto/corelib/tools
Marc Mutz 4c4940a744 tst_QList: test all memory layouts
The Movable type, surprisingly, was as large as sizeof(void*), so on
32-bit platforms, we were not testing the QList memory layout where
items are placed directly into the void*-slots, but are too small,
leaving gaps.

Fixed by making sure that Movable is smaller than void* and adding
a variant of Movable, Optimal, that is guaranteed to be the same
size as void*, and replacing the int tests with tests of Optimal.

Had to demote the State variable to uchar, since MSVC will apparently
not make a collection of bit-fields smaller than the largest type used
in any of the consituent bitfields, so State s : 8 wouldn't work.

Change-Id: I4f0e24bd6928f076b4ce60e8d977d5d98a724161
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2015-02-17 15:04:49 +00:00
..
collections Update copyright headers 2015-02-11 06:49:51 +00:00
qalgorithms QtCore: assorted migrations to QString::asprintf 2015-02-12 19:40:04 +00:00
qarraydata Update copyright headers 2015-02-11 06:49:51 +00:00
qarraydata_strictiterators Make sure all containers compile in strict-iterator mode 2014-02-22 04:38:01 +01:00
qbitarray Update copyright headers 2015-02-11 06:49:51 +00:00
qbytearray Update copyright headers 2015-02-11 06:49:51 +00:00
qbytearraylist Update copyright headers 2015-02-11 06:49:51 +00:00
qbytearraymatcher Update copyright headers 2015-02-11 06:49:51 +00:00
qbytedatabuffer Update copyright headers 2015-02-11 06:49:51 +00:00
qcache Update copyright headers 2015-02-11 06:49:51 +00:00
qchar QtCore: assorted migrations to QString::asprintf 2015-02-12 19:40:04 +00:00
qcollator Update copyright headers 2015-02-11 06:49:51 +00:00
qcommandlineparser Update copyright headers 2015-02-11 06:49:51 +00:00
qcontiguouscache Update copyright headers 2015-02-11 06:49:51 +00:00
qcryptographichash Update copyright headers 2015-02-11 06:49:51 +00:00
qdate Update copyright headers 2015-02-11 06:49:51 +00:00
qdatetime Update copyright headers 2015-02-11 06:49:51 +00:00
qeasingcurve Update copyright headers 2015-02-11 06:49:51 +00:00
qelapsedtimer Update copyright headers 2015-02-11 06:49:51 +00:00
qexplicitlyshareddatapointer Update copyright headers 2015-02-11 06:49:51 +00:00
qfreelist Update copyright headers 2015-02-11 06:49:51 +00:00
qhash Update copyright headers 2015-02-11 06:49:51 +00:00
qhash_strictiterators Make sure all containers compile in strict-iterator mode 2014-02-22 04:38:01 +01:00
qhashfunctions Update copyright headers 2015-02-11 06:49:51 +00:00
qline Update copyright headers 2015-02-11 06:49:51 +00:00
qlinkedlist Update copyright headers 2015-02-11 06:49:51 +00:00
qlist tst_QList: test all memory layouts 2015-02-17 15:04:49 +00:00
qlist_strictiterators Make sure all containers compile in strict-iterator mode 2014-02-22 04:38:01 +01:00
qlocale Update copyright headers 2015-02-11 06:49:51 +00:00
qmap Update copyright headers 2015-02-11 06:49:51 +00:00
qmap_strictiterators Make sure all containers compile in strict-iterator mode 2014-02-22 04:38:01 +01:00
qmargins Update copyright headers 2015-02-11 06:49:51 +00:00
qmessageauthenticationcode Update copyright headers 2015-02-11 06:49:51 +00:00
qpair Update copyright headers 2015-02-11 06:49:51 +00:00
qpoint Update copyright headers 2015-02-11 06:49:51 +00:00
qpointf Update copyright headers 2015-02-11 06:49:51 +00:00
qqueue Update copyright headers 2015-02-11 06:49:51 +00:00
qrect Update copyright headers 2015-02-11 06:49:51 +00:00
qregexp QtCore: assorted migrations to QString::asprintf 2015-02-12 19:40:04 +00:00
qregularexpression Update copyright headers 2015-02-11 06:49:51 +00:00
qringbuffer Update copyright headers 2015-02-11 06:49:51 +00:00
qscopedpointer Update copyright headers 2015-02-11 06:49:51 +00:00
qscopedvaluerollback Update copyright headers 2015-02-11 06:49:51 +00:00
qset Update copyright headers 2015-02-11 06:49:51 +00:00
qsharedpointer Update copyright headers 2015-02-11 06:49:51 +00:00
qsize Update copyright headers 2015-02-11 06:49:51 +00:00
qsizef Update copyright headers 2015-02-11 06:49:51 +00:00
qstl Update copyright headers 2015-02-11 06:49:51 +00:00
qstring Update copyright headers 2015-02-11 06:49:51 +00:00
qstring_no_cast_from_bytearray Update copyright headers 2015-02-11 06:49:51 +00:00
qstringbuilder Update copyright headers 2015-02-11 06:49:51 +00:00
qstringiterator Update copyright headers 2015-02-11 06:49:51 +00:00
qstringlist Update copyright headers 2015-02-11 06:49:51 +00:00
qstringmatcher Update copyright headers 2015-02-11 06:49:51 +00:00
qstringref Update copyright headers 2015-02-11 06:49:51 +00:00
qtextboundaryfinder Update copyright headers 2015-02-11 06:49:51 +00:00
qtime Update copyright headers 2015-02-11 06:49:51 +00:00
qtimeline Update copyright headers 2015-02-11 06:49:51 +00:00
qtimezone Update copyright headers 2015-02-11 06:49:51 +00:00
qvarlengtharray Update copyright headers 2015-02-11 06:49:51 +00:00
qvector Update copyright headers 2015-02-11 06:49:51 +00:00
qvector_strictiterators Make sure all containers compile in strict-iterator mode 2014-02-22 04:38:01 +01:00
qversionnumber Update copyright headers 2015-02-11 06:49:51 +00:00
tools.pro tst_QHash: Factor qHash()-related test cases into a separate test 2015-01-05 20:18:51 +01:00