diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2011-05-05 01:58:24 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2011-05-06 02:54:31 (GMT) |
commit | 11254ff409395b67cb28453b3c069860bc28c14d (patch) | |
tree | 80a875509b5a585aca04e753b633ea1ec3177475 /doc/src/snippets/qstring/stringbuilder.cpp | |
parent | 841cc610df61a266ebcca2bfef2542a7d4fea68d (diff) | |
download | Qt-11254ff409395b67cb28453b3c069860bc28c14d.zip Qt-11254ff409395b67cb28453b3c069860bc28c14d.tar.gz Qt-11254ff409395b67cb28453b3c069860bc28c14d.tar.bz2 |
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
Diffstat (limited to 'doc/src/snippets/qstring/stringbuilder.cpp')
0 files changed, 0 insertions, 0 deletions