Reduce usage of Q_ASSERT in autotests.
authorJason McDonald <jason.mcdonald@nokia.com>
Wed, 18 May 2011 00:45:40 +0000 (10:45 +1000)
committerRohan McGovern <rohan.mcgovern@nokia.com>
Wed, 18 May 2011 01:04:38 +0000 (11:04 +1000)
commite5bd6e8e4a6764b989b37d083aeda31b44d73ce1
treef92d7fb3a4d9f97e23fd41c34b94d56a789ce557
parent8e5afca78e74af708469ca6a7520193376ecf0d8
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/xmlpatternsxqts/tst_suitetest.cpp