Remove Q_ASSERT's from QWizard autotest
authorJason McDonald <jason.mcdonald@nokia.com>
Tue, 3 May 2011 06:08:25 +0000 (16:08 +1000)
committerRohan McGovern <rohan.mcgovern@nokia.com>
Wed, 18 May 2011 00:46:43 +0000 (10:46 +1000)
commitaffdd6283c32e144b6c9d5f58b492eebf56e966e
tree57c0a1a06afd2ad135f66d2d6a601dc710ab748a
parent079dde144fd372ba76a5639fe69fca4e13c91ad7
Remove Q_ASSERT's from QWizard autotest

Combine the two checking functions (check and checkInvariant) and have
the resulting check function return a bool instead of asserting so that
the test function can QVERIFY and fail gracefully.

Change-Id: Ib069b5424483ba6ffb9caf75036c4f325e9dba51
Task-number: QTBUG-17582
Reviewed-by: Rohan McGovern
(cherry picked from commit a54900d2227bfb2021c5d1255817824aff11cf32)
tests/auto/qwizard/tst_qwizard.cpp