Skip to content
Snippets Groups Projects
Commit 0bd59178 authored by Nikolai Kosjar's avatar Nikolai Kosjar
Browse files

CppEditor/CppTools: Don't continue in test function on failure


QVERIFY/QCOMPARE are meant to be called in the test function so that on
failure they just can "return" and thus skip subsequent code. Since we
use reusable test code in the test functions (the *TestCase classes), we
need to ensure that on failure no further test code is executed.

This mostly inlines the run function of the test classes into the
constructor.

Change-Id: I320ee032bdde0174ddfe3fdf3f9e18e19abf1d7f
Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
parent c7f3ac40
No related branches found
No related tags found
No related merge requests found
Showing
with 355 additions and 523 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment