summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/doc_src_qt4-mainwindow.cpp
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-05-05 11:58:24 +1000
committerRohan McGovern <rohan.mcgovern@nokia.com>2011-05-18 10:46:46 +1000
commit97e0db61c788a59bff48e33800802d4c4a0b0e70 (patch)
tree6442768bd3c9c3b6de300cd595c7e4677b81cba3 /doc/src/snippets/code/doc_src_qt4-mainwindow.cpp
parent16c866533b887dff4067484f05be02377d42955b (diff)
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)
Diffstat (limited to 'doc/src/snippets/code/doc_src_qt4-mainwindow.cpp')
0 files changed, 0 insertions, 0 deletions