Remove Q_ASSERT calls from gestures autotest
authorJason McDonald <jason.mcdonald@nokia.com>
Tue, 19 Apr 2011 02:05:59 +0000 (12:05 +1000)
committerRohan McGovern <rohan.mcgovern@nokia.com>
Wed, 18 May 2011 00:46:40 +0000 (10:46 +1000)
commit4044d3c8f5f9baff81816193433537fd033bf782
treec8051a24f63750d8f6ee41e94cb87868ccc00a3f
parent084b7ababd33be9f2671efd1aa2faf9ac8d74cb6
Remove Q_ASSERT calls from gestures autotest

Make the test report a useful warning, rather than terminating with an
unintelligible assertion failure, if the GestureState enum is ever
extended.

Change-Id: Ib876a5f2986cbea4e181678a83a72e0d1444f1ee
Task-number: QTBUG-17582
Reviewed-by: Rohan McGovern
(cherry picked from commit ed5dd84582881bc30a5ce85902b37aae9c243978)
tests/auto/gestures/tst_gestures.cpp