Remove Q_ASSERT from QThread autotest
authorJason McDonald <jason.mcdonald@nokia.com>
Tue, 3 May 2011 06:12:05 +0000 (16:12 +1000)
committerRohan McGovern <rohan.mcgovern@nokia.com>
Wed, 18 May 2011 00:46:43 +0000 (10:46 +1000)
commitab6c90367d01d1961b4969c8eb45399db17f8cec
treef783a4f24708bccccd2f98a6905ebef7ec8c8724
parentaffdd6283c32e144b6c9d5f58b492eebf56e966e
Remove Q_ASSERT from QThread autotest

Report a meaningful fatal error instead of aborting in debug mode builds
and failing silently in release mode builds.

Change-Id: If9a6c0655e021b3bb6b7d894aefd9bbcc58e4605
Task-number: QTBUG-17582
Reviewed-by: Rohan McGovern
(cherry picked from commit fed42f25e129af1f4f2c03a075530ad7111d2fdd)
tests/auto/qthread/tst_qthread.cpp