diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2021-02-16 16:53:55 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2021-02-18 11:21:03 +0100 |
commit | 6fa9f487db1a1947815c9e4125688b9dc4df117f (patch) | |
tree | 8c38fc2ff6405a2cdaf87ff06b36dff337a5bcb2 /tests/auto/corelib/tools/qsharedpointer/tst_qsharedpointer.cpp | |
parent | 76c2e9ea23e6bf9e9783813c89c80737ac72d468 (diff) |
Return early after test-helpers if they fail
The QTimeZone tests have some helper functions to test details of a
QTZP instance; these use QCOMPARE(), so may return early on failure.
The callers then need to notice the failure and, in their turn, also
return.
Change-Id: I0a188e9641ced70c9ffedd95e91f39681fad768a
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Diffstat (limited to 'tests/auto/corelib/tools/qsharedpointer/tst_qsharedpointer.cpp')
0 files changed, 0 insertions, 0 deletions