summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests/expected_testlib.txt
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-05-19 10:25:45 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2021-05-26 11:02:48 +0000
commitae021882330abc5f6fbaadca290e6e5670c89028 (patch)
tree99821d2caae31319e00a89a5ecf858e38ebf4f6e /tests/auto/testlib/selftests/expected_testlib.txt
parent25a7034d78aeb12726a1052d64c0aa3314a1f69d (diff)
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>
Diffstat (limited to 'tests/auto/testlib/selftests/expected_testlib.txt')
-rw-r--r--tests/auto/testlib/selftests/expected_testlib.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/testlib/selftests/expected_testlib.txt b/tests/auto/testlib/selftests/expected_testlib.txt
index a3f463e7d4..b8437fa8b4 100644
--- a/tests/auto/testlib/selftests/expected_testlib.txt
+++ b/tests/auto/testlib/selftests/expected_testlib.txt
@@ -1,7 +1,7 @@
********* Start testing of tst_TestLib *********
Config: Using QtTest library
PASS : tst_TestLib::initTestCase()
-FAIL! : tst_TestLib::basics() Compared pointers are not the same
+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)