Remove Q_ASSERT's from QMetaType autotest.
authorJason McDonald <jason.mcdonald@nokia.com>
Tue, 3 May 2011 01:48:40 +0000 (11:48 +1000)
committerRohan McGovern <rohan.mcgovern@nokia.com>
Wed, 18 May 2011 00:46:42 +0000 (10:46 +1000)
commitd0d393d86f3cc0300fe6329733b409e713263cb3
tree69483e15f2f73d798d4ad12c1fa2f051bff7240d
parent4bf7ac3968ea6d3aa3f438fe0bd2a53ac7e357b7
Remove Q_ASSERT's from QMetaType autotest.

Instead of asserting in debug mode and doing nothing in release mode,
put specific warnings in the test output and fail the test gracefully.

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