qt6-bb10/tests/auto/widgets/graphicsview
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
..
qgraphicsanchorlayout Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qgraphicsanchorlayout1 Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qgraphicseffectsource Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qgraphicsgridlayout Use debug stream in QTest::toString's default fallback if possible 2022-07-13 15:14:35 +02:00
qgraphicsitem Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qgraphicsitemanimation Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qgraphicslayout Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qgraphicslayoutitem Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qgraphicslinearlayout Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qgraphicsobject Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qgraphicspixmapitem Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qgraphicspolygonitem Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qgraphicsproxywidget unblacklist passing tests 2022 2022-06-23 01:36:01 +02:00
qgraphicsscene tst_QGraphicsScene: fix -Wsuggest-override 2022-07-06 17:56:57 +02:00
qgraphicssceneindex Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qgraphicstransform Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qgraphicsview unblacklist passing tests 2022 2022-05-18 23:59:19 +02:00
qgraphicswidget Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
CMakeLists.txt Activate tst_qgraphicsview for Android 2022-02-24 14:34:32 +01:00