92e696b4ba
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>
24 lines
1.7 KiB
Plaintext
24 lines
1.7 KiB
Plaintext
##teamcity[testSuiteStarted name='tst_TestLib' flowId='tst_TestLib']
|
|
##teamcity[testStarted name='initTestCase()' flowId='tst_TestLib']
|
|
##teamcity[testFinished name='initTestCase()' flowId='tst_TestLib']
|
|
##teamcity[testStarted name='basics()' flowId='tst_TestLib']
|
|
##teamcity[testFailed name='basics()' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/testlib/tst_testlib.cpp(0)|]' details='Compared QObject pointers are not the same|n Actual (QTest::testObject()): tst_TestLib/"TestObject"|n Expected (nullptr) : (nullptr)' flowId='tst_TestLib']
|
|
##teamcity[testFinished name='basics()' flowId='tst_TestLib']
|
|
##teamcity[testStarted name='delays()' flowId='tst_TestLib']
|
|
##teamcity[testFinished name='delays()' flowId='tst_TestLib']
|
|
##teamcity[testStarted name='reals(zero)' flowId='tst_TestLib']
|
|
##teamcity[testFinished name='reals(zero)' flowId='tst_TestLib']
|
|
##teamcity[testStarted name='reals(self-qQNaN)' flowId='tst_TestLib']
|
|
##teamcity[testFinished name='reals(self-qQNaN)' flowId='tst_TestLib']
|
|
##teamcity[testStarted name='reals(self-qInf)' flowId='tst_TestLib']
|
|
##teamcity[testFinished name='reals(self-qInf)' flowId='tst_TestLib']
|
|
##teamcity[testStarted name='reals(infineg)' flowId='tst_TestLib']
|
|
##teamcity[testFinished name='reals(infineg)' flowId='tst_TestLib']
|
|
##teamcity[testStarted name='reals(Sin(turn/4))' flowId='tst_TestLib']
|
|
##teamcity[testFinished name='reals(Sin(turn/4))' flowId='tst_TestLib']
|
|
##teamcity[testStarted name='reals(Cos(turn/2))' flowId='tst_TestLib']
|
|
##teamcity[testFinished name='reals(Cos(turn/2))' flowId='tst_TestLib']
|
|
##teamcity[testStarted name='cleanupTestCase()' flowId='tst_TestLib']
|
|
##teamcity[testFinished name='cleanupTestCase()' flowId='tst_TestLib']
|
|
##teamcity[testSuiteFinished name='tst_TestLib' flowId='tst_TestLib']
|