Reduce usage of Q_ASSERT in autotests.
authorJason McDonald <jason.mcdonald@nokia.com>
Wed, 18 May 2011 00:45:16 +0000 (10:45 +1000)
committerRohan McGovern <rohan.mcgovern@nokia.com>
Wed, 18 May 2011 01:00:07 +0000 (11:00 +1000)
commit11baecf60014e71ec599f7c98c84e27cc1b92f30
tree7ab1dd0f45c6d56d102041b5185e7c68756e4a68
parent939ef5eb383c43122d7ea44ab58c2f8b62461e39
Reduce usage of Q_ASSERT in autotests.

Using Q_ASSERT does nothing in release-mode builds, and in debug builds
it causes tests to terminate prematurely.  It is much better to use
QVERIFY or QCOMPARE.

Task-number: QTBUG-17582
Reviewed-by: Rohan McGovern
(cherry picked from commit 3475168550c1a804f04f2a4edfeb30c04cd36551)
tests/auto/declarative/qdeclarativedebug/tst_qdeclarativedebug.cpp
tests/auto/declarative/qdeclarativedebugclient/tst_qdeclarativedebugclient.cpp
tests/auto/declarative/qdeclarativedebugservice/tst_qdeclarativedebugservice.cpp
tests/auto/declarative/qdeclarativefontloader/tst_qdeclarativefontloader.cpp