qt5base-lts/tests/auto/widgets/kernel
Volker Hilsheimer 92e696b4ba Use debug stream in QTest::toString's default fallback if possible
For built-in types, this is a compile-time assert - we should not have
any types in Qt for which we have neither debug streaming nor a
QTest::toString specialization implemented. A build of most of Qt
submodules passes with this change, after minor modifications to some
tests. We cannot declare QSizeHint::Policy as a metatype after the
QMetaType has already been instantiated for it, and the QDebug stream
operator for QElaspedTimer needs to be correctly declared within the
namespace.

Add a self-test function for a custom type, and update reference files
of the self-test.

Task-number: QTBUG-104867
Pick-to: 6.4
Change-Id: I2936db5933f4589fce45f47cf2f3224ed614d8c9
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2022-07-13 15:14:35 +02:00
..
qaction Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qactiongroup Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qapplication BLACKLIST tst_QApplication::sendEventsOnProcessEvents for Ubuntu 22.04 2022-06-20 20:06:20 +03:00
qboxlayout QLayout: add className() to a warning message 2022-07-01 18:19:46 +00:00
qformlayout QLayout: add className() to a warning message 2022-07-01 18:19:46 +00:00
qgesturerecognizer xcb: Delete touch points without target windows 2022-05-20 10:26:18 +02:00
qgridlayout Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qlayout Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qshortcut Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qsizepolicy Use debug stream in QTest::toString's default fallback if possible 2022-07-13 15:14:35 +02:00
qstackedlayout Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtooltip Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qwidget QWidget: use WA_InputMethodEnabled when ImEnabled is not implemented 2022-07-08 09:41:29 +02:00
qwidget_window Harden drag and drop handling in widget window 2022-07-01 22:38:45 +00:00
qwidgetaction Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qwidgetmetatype Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qwidgetrepaintmanager Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qwidgetsvariant Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qwindowcontainer Fix separate delete of window and windowcontainer 2022-05-23 21:25:46 +02:00
CMakeLists.txt Android: activate tst_QWidget 2022-03-29 13:56:14 +01:00