qt5base-lts/tests/auto/corelib
Marc Mutz 9f8da21239 QDateTime: future-proof swap()
In Qt 7 32-bit builds, the ShortData will be larger than the
d-pointer.

So don't swap() the d-pointer, but a) delegate to Data to swap itself
and b) swap the ShortData there, adding a static_assert in the .cpp
file that triggers when the assumption that ShortData is always at
least as large as a pointer is violated.

Found while porting away from overly-generic qSwap(), so done that,
too.

Task-number: QTBUG-97601
Pick-to: 6.3 6.2
Change-Id: I5139da58d99e9491a582ff2cb2f817cd96952044
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2022-03-17 06:14:58 +00:00
..
animation tst_qanimationgroup: fix memleaks 2022-01-05 08:22:00 +01:00
global Fix has_signaling_NaN usage for INTEGRITY 2022-03-16 20:09:37 +02:00
io qDecodeDataUrl(): treat ";base64" marker as case-insensitive 2022-03-11 19:15:49 +00:00
itemmodels Fix test to pass with QT_FORCE_ASSERTS 2022-02-18 18:55:38 +01:00
kernel QObject: add another couple of tests for broken connect() 2022-03-17 01:02:15 +00:00
mimetypes Remove unused .qrc files 2022-01-17 23:17:01 +01:00
platform Android: Add runOnMainAndroidThread() under QNativeInterface 2021-05-26 23:24:11 +00:00
plugin Fix test when accessing patched plugin too fast 2022-02-25 14:52:34 +02:00
serialization Revert "Blacklist: test cases blacklisted in tst_QXmlStream:" 2022-03-15 07:32:32 +00:00
text QStringTokenizer::toContainer(): allow more types of target containers 2022-03-15 21:05:31 +01:00
thread QMutexLocker: add isLocked() 2022-03-15 03:32:14 +01:00
time QDateTime: future-proof swap() 2022-03-17 06:14:58 +00:00
tools QFlatMap: make insertion STL-compatible 2022-03-16 18:28:27 +01:00
CMakeLists.txt Add tests for QAndroidApplication's sdkVersion and activity 2021-05-13 01:41:36 +03:00