qt5base-lts/tests/auto/testlib/selftests/expected_testlib.txt
Friedemann Kleint ae02188233 QTestlib: Add formatting for QObject * in QCOMPARE
Output object name and class in QCOMPARE(). This should help
to debug flaky QWidget tests that for example check on focusWidget().

[ChangeLog][QtTestLib] QCOMPARE() now reports QObject * values by class and objectName().

Task-number: QTBUG-64446
Change-Id: Ife04e89bba04fc78d077c8f0f07af17a17c9cf8c
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2021-05-26 11:02:48 +00:00

16 lines
675 B
Plaintext

********* Start testing of tst_TestLib *********
Config: Using QtTest library
PASS : tst_TestLib::initTestCase()
FAIL! : tst_TestLib::basics() Compared QObject pointers are not the same
Loc: [qtbase/tests/auto/testlib/selftests/testlib/tst_testlib.cpp(0)]
PASS : tst_TestLib::delays()
PASS : tst_TestLib::reals(zero)
PASS : tst_TestLib::reals(self-qQNaN)
PASS : tst_TestLib::reals(self-qInf)
PASS : tst_TestLib::reals(infineg)
PASS : tst_TestLib::reals(Sin(turn/4))
PASS : tst_TestLib::reals(Cos(turn/2))
PASS : tst_TestLib::cleanupTestCase()
Totals: 9 passed, 1 failed, 0 skipped, 0 blacklisted, 0ms
********* Finished testing of tst_TestLib *********