qt6-bb10/tests/auto/corelib
Thiago Macieira 26a81bd4fb QVariant: do reset is_null after setValue()
Issue introduced by a68e4f3b96 ("Use the
new QMetaType API in QVariant") in 6.0, which removed the d.is_null
reset at the same time as it replaced the std::destroy_at /
std::construct_at pair with an assignment operation.

[ChangeLog][QtCore][QVariant] Fixed a bug that would allow the class to
keep returning isNull() = true even after calling setValue().

Fixes: QTBUG-125472
Pick-to: 6.5 6.7
Change-Id: If05cb740b64f42eba21efffd17d13f6b1e8113c2
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2024-05-21 18:25:02 -05:00
..
animation Change license for tests files 2024-02-04 09:56:42 +01:00
global QLibraryInfo: add tests 2024-05-21 18:53:10 +02:00
io Exclude VxWorks from qstorageinfo tests 2024-05-16 21:36:03 +02:00
ipc QNativeIpcKey: use new comparison helper macros 2024-04-17 20:30:37 +02:00
itemmodels Extend QTest::failOnWarning() to a no-parameter fail-on-any-warning 2024-05-06 20:27:41 +02:00
kernel QVariant: do reset is_null after setValue() 2024-05-21 18:25:02 -05:00
mimetypes QMimeType: use modernize comparisons 2024-04-30 17:46:34 +02:00
platform tst_qcomobject: Reduce size of Qt-namespace 2024-05-13 15:25:36 +02:00
plugin Add copyright and licensing to build system files missing it 2024-05-21 17:23:21 +02:00
serialization Fix test compilation issues with QtLite configuration 2024-05-06 14:29:02 +00:00
text Fix separator in QLocale::uiLanguages() 2024-05-16 01:57:04 +08:00
thread QtPrivate::ResultIteratorBase: use modernize comparisons 2024-05-14 00:32:35 +02:00
time Decouple the TZ and ICU backends for timezone data 2024-05-16 16:51:15 +02:00
tools tst_QCryptographicHash: mask a QSKIP in addDataAcceptsNullByteArrayView() 2024-05-19 14:27:01 +02:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00