Remove Q_ASSERT from QMetaType autotest
authorJason McDonald <jason.mcdonald@nokia.com>
Fri, 6 May 2011 06:34:15 +0000 (16:34 +1000)
committerRohan McGovern <rohan.mcgovern@nokia.com>
Wed, 18 May 2011 00:46:46 +0000 (10:46 +1000)
commite3ee32848d19c767e51e1ce87f61c9e5c74c1daf
tree703bdf61e0d15ef01ae309c9f4f1204c8e04bfc8
parent175bb0eac6dff4911393593c363c61b7ebbb0851
Remove Q_ASSERT from QMetaType autotest

Replace Q_ASSERT in helper class with code to count failures and report
meaningful warnings.  The test function then fails the test if any
failures were recorded.

Change-Id: I0d6650e6036c8e45729c16d1dbb7543b4fb42553
Task-number: QTBUG-17582
Reviewed-by: Rohan McGovern
(cherry picked from commit 8512dc16553ecf511c40a2ba7a815f777d7d5c59)
tests/auto/qmetatype/tst_qmetatype.cpp