Remove Q_ASSERT's from qsharedpointer autotest
authorJason McDonald <jason.mcdonald@nokia.com>
Tue, 3 May 2011 02:56:16 +0000 (12:56 +1000)
committerRohan McGovern <rohan.mcgovern@nokia.com>
Wed, 18 May 2011 00:46:43 +0000 (10:46 +1000)
commit44bb3c62cbe785e7fc9c2455de308717894e6a6b
tree53c139c951d29c606d6d82c802dfdd0a7ca3897c
parent982405f2d0f233872d83579893f07699810050bf
Remove Q_ASSERT's from qsharedpointer autotest

Report a meaningful warning message into the test output rather than
aborting in debug mode and doing nothing in release mode.

Change-Id: I6883fccbce0139c763f36f6839bb3452d8f69c1c
Task-number: QTBUG-17582
Reviewed-by: Rohan McGovern
(cherry picked from commit 5b86c4abc676b36d60e6625e89535e7f4907d2b3)
tests/auto/qsharedpointer/externaltests.cpp