Remove Q_ASSERT from QCompleter autotest
authorJason McDonald <jason.mcdonald@nokia.com>
Wed, 20 Apr 2011 02:16:58 +0000 (12:16 +1000)
committerRohan McGovern <rohan.mcgovern@nokia.com>
Wed, 18 May 2011 00:46:41 +0000 (10:46 +1000)
commite1f221118841f80072f3d2223906a6dc21038148
tree50c7dfa7dc9c5b66ed81aafddb8720156fbb2f0a
parent50fd0092db7b3de82fc017f1885cb0d4fdfed205
Remove Q_ASSERT from QCompleter autotest

If a combobox had no completer, this test would assert in a debug build
and crash in a release build.  This commit makes the test report a test
failure and avoid terminating in all builds.

Change-Id: Ib2924412e3d55f10875675cb65079259cd4ef552
Task-number: QTBUG-17582
Reviewed-by: Rohan McGovern
(cherry picked from commit a5bd4abed834ce3670b2f28d4f932d612a033b36)
tests/auto/qcompleter/tst_qcompleter.cpp