qt5base-lts/tests/auto/corelib
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
..
animation Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
global function_ref test: Don't take reference of temporaries 2022-06-20 19:52:01 +00:00
io Long live QDebug op<< QMetaType! 2022-07-09 06:40:08 +02:00
itemmodels Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
kernel Use debug stream in QTest::toString's default fallback if possible 2022-07-13 15:14:35 +02:00
mimetypes Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
platform Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
plugin Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
serialization Port QXmlStremReader to QAnyStringView 2022-07-12 13:24:56 +02:00
text Add wasm exception for tst_qchar 2022-07-11 17:21:27 +02:00
thread QThread: Initialize bindingStatus for adopted threads 2022-07-13 12:51:59 +02:00
time Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
tools Increase timeout of slow test for ASAN-enabled build 2022-06-15 23:58:16 +02:00
CMakeLists.txt Add tests for QAndroidApplication's sdkVersion and activity 2021-05-13 01:41:36 +03:00