Remove Q_ASSERT's from QObject autotest
authorJason McDonald <jason.mcdonald@nokia.com>
Mon, 9 May 2011 03:16:39 +0000 (13:16 +1000)
committerRohan McGovern <rohan.mcgovern@nokia.com>
Wed, 18 May 2011 00:46:47 +0000 (10:46 +1000)
commit179954667524ee3d6bd472605cf2f48326826fa8
treecfa3669ba83976c6f81b6536d187cc4797e1b10f
parent9e31e99a13bb0f278bf86455326f005a90f2851e
Remove Q_ASSERT's from QObject autotest

Rather than aborting in debug builds and failing silently in release
builds, report a fatal error in all builds if the helper class
methods are called more than once.

Change-Id: Id1fda8dc7caf008bbc8f6ae6384abee1aa8f50eb
Task-number: QTBUG-17582
Reviewed-by: Rohan McGovern
(cherry picked from commit 0c157af3e5aa7c56c53b9eabe1510cc639610969)
tests/auto/qobject/tst_qobject.cpp