Fix text input delay related test failures.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Thu, 29 Sep 2011 02:31:30 +0000 (12:31 +1000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 30 Sep 2011 08:37:05 +0000 (10:37 +0200)
commit54c1fa834aae16fc98fe2f9a3d2a93adc93254df
treebfbfea12e180fbf61339edba7d6884298e0a0309
parente1f2f15a6cbea8918e9250ff8d2826cf3ca89a50
Fix text input delay related test failures.

Allow a small delay after mouse or key events for the events to be
processed before verifying the result, and use the QTRY_ macros to be
doubly sure.

Task-number: QTBUG-21690
Change-Id: I44e7fa58ef2e57572b6e342af7f4f18649144770
Reviewed-on: http://codereview.qt-project.org/5763
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
tests/auto/declarative/qsgtextedit/tst_qsgtextedit.cpp
tests/auto/declarative/qsgtextinput/tst_qsgtextinput.cpp