From 1ed8a7bff503aacf55f7f880ddaad461ea15e5e1 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Mon, 22 Feb 2016 20:29:32 +0100 Subject: QTest: support nullptr in QCOMPARE This allows to write QCOMPARE(ptr, nullptr); instead of QVERIFY(ptr); Task-number: QTBUG-49973 Change-Id: I6e1327d4327bcf17bd9b59de4352fdcaae98ac27 Reviewed-by: Olivier Goffart (Woboq GmbH) --- tests/auto/testlib/selftests/expected_cmptest.lightxml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/auto/testlib/selftests/expected_cmptest.lightxml') diff --git a/tests/auto/testlib/selftests/expected_cmptest.lightxml b/tests/auto/testlib/selftests/expected_cmptest.lightxml index 440429e430..d4ba020000 100644 --- a/tests/auto/testlib/selftests/expected_cmptest.lightxml +++ b/tests/auto/testlib/selftests/expected_cmptest.lightxml @@ -33,6 +33,10 @@ + + + + -- cgit v1.2.3