qt5base-lts/tests/auto/modeltest
Jason McDonald 97e0db61c7 Remove Q_ASSERT's from modeltest
Rather than aborting in debug builds and ignoring the failures in
release builds, report specific warnings on each failure, count the
failures, and fail the test if the failure counts are non-zero at the
end of the test.

The same change is also made for a QCOMPARE that appeared
inappropriately inside a helper class.  QCOMPARE may only appear
directly in a test function.

Change-Id: I81f0ce80512fa72c67f5aa72c0511a4b650d5d20
Task-number: QTBUG-17582
Reviewed-by: Rohan McGovern
(cherry picked from commit 11254ff409395b67cb28453b3c069860bc28c14d)
2011-05-18 10:46:46 +10:00
..
dynamictreemodel.cpp Remove Q_ASSERT's from modeltest 2011-05-18 10:46:45 +10:00
dynamictreemodel.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
modeltest.cpp Remove Q_ASSERT from modeltest 2011-05-18 10:46:45 +10:00
modeltest.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
modeltest.pro Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
tst_modeltest.cpp Remove Q_ASSERT's from modeltest 2011-05-18 10:46:46 +10:00