Remove Q_ASSERT's from qabstractfileengine test
authorJason McDonald <jason.mcdonald@nokia.com>
Fri, 6 May 2011 03:12:10 +0000 (13:12 +1000)
committerRohan McGovern <rohan.mcgovern@nokia.com>
Wed, 18 May 2011 00:46:46 +0000 (10:46 +1000)
commit51b23f75df6474cb5a185d482f99c6ff663215f5
tree5d9f7c577a43e2986427636883f1e80466e121da
parent97e0db61c788a59bff48e33800802d4c4a0b0e70
Remove Q_ASSERT's from qabstractfileengine test

Rather than aborting in debug builds and failing silently in release
builds, report a meaningful warning message and skip setting the
filename, which should cause a subsequent test failure.

Change-Id: I3ae4f4de7b02bf2194019047fa87d8ae06d95634
Task-number: QTBUG-17582
Reviewed-by: Rohan McGovern
(cherry picked from commit e6f7509f18ae88069373d59073cbdcda88fd19c8)
tests/auto/qabstractfileengine/tst_qabstractfileengine.cpp