Use qWaitForWindowActive() where it is required.
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>
Fri, 6 Jul 2012 12:10:38 +0000 (14:10 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 9 Jul 2012 15:36:35 +0000 (17:36 +0200)
commit02675dc0208d46e6e10880a3003bcca27ac9caeb
tree6ac2b0d5189e14fbc4b81e974eda0436fc4ab083
parente1d6b323d474acc5cd70fd9a0b283326316f55a0
Use qWaitForWindowActive() where it is required.

Prepare a change in qtbase in which the implementation
of qWaitForWindowShown() will be changed to
qWaitForWindowExposed() instead of qWaitForWindowActive().
Try to stabilize further tests by introduing
wait functions instead of calls to qApp->processEvents().

Change-Id: I9825885430d78be1610a3fe20023fad24aaacba9
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
tests/auto/quick/qquickflickable/tst_qquickflickable.cpp
tests/auto/quick/qquickfocusscope/tst_qquickfocusscope.cpp
tests/auto/quick/qquickgridview/tst_qquickgridview.cpp
tests/auto/quick/qquickitem/tst_qquickitem.cpp
tests/auto/quick/qquickitemlayer/tst_qquickitemlayer.cpp
tests/auto/quick/qquicklistview/tst_qquicklistview.cpp
tests/auto/quick/qquicktextedit/tst_qquicktextedit.cpp
tests/auto/quick/qquicktextinput/tst_qquicktextinput.cpp