diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2016-02-22 20:29:32 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2016-04-08 05:38:33 +0000 |
commit | 1ed8a7bff503aacf55f7f880ddaad461ea15e5e1 (patch) | |
tree | 06b264813602be5a9c442b3ba395e3b7227943a2 /tests/auto/testlib/selftests/expected_cmptest.teamcity | |
parent | 3f41e8a2f51698d690a6b1f6a1f4acfe13ff50af (diff) |
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) <ogoffart@woboq.com>
Diffstat (limited to 'tests/auto/testlib/selftests/expected_cmptest.teamcity')
-rw-r--r-- | tests/auto/testlib/selftests/expected_cmptest.teamcity | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/testlib/selftests/expected_cmptest.teamcity b/tests/auto/testlib/selftests/expected_cmptest.teamcity index dea19b60b4..c64060fdf2 100644 --- a/tests/auto/testlib/selftests/expected_cmptest.teamcity +++ b/tests/auto/testlib/selftests/expected_cmptest.teamcity @@ -12,6 +12,8 @@ ##teamcity[testFinished name='compare_class_enums()'] ##teamcity[testStarted name='compare_boolfuncs()'] ##teamcity[testFinished name='compare_boolfuncs()'] +##teamcity[testStarted name='compare_to_nullptr()'] +##teamcity[testFinished name='compare_to_nullptr()'] ##teamcity[testStarted name='compare_pointerfuncs()'] ##teamcity[testFinished name='compare_pointerfuncs()'] ##teamcity[testStarted name='compare_tostring(int, string)'] |