QtDeclarative: Remove usage of deprecated qWaitForWindowShown().
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>
Thu, 19 Jul 2012 12:13:14 +0000 (14:13 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 19 Jul 2012 12:37:49 +0000 (14:37 +0200)
commitbd618f62d8d796638ee72374a0fcdfd6c6b7aa97
tree708e1e6e1f7b0aefe5d828eb832b6fff24c9af66
parent5480e6c2875d434a3c2264bc50d58cabdd055468
QtDeclarative: Remove usage of deprecated qWaitForWindowShown().

- Replace by qWaitForWindowExposed() or
  qWaitForWindowActive() where applicable.
- Use QVERIFY to verify success.
- Stabilize some tests by checking for 'active',
  add missing call to show().

Change-Id: I6cae063e44a3839760ed9f61dacb26cd1717118d
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
18 files changed:
tests/auto/quick/examples/tst_examples.cpp
tests/auto/quick/qquickanimatedsprite/tst_qquickanimatedsprite.cpp
tests/auto/quick/qquickflickable/tst_qquickflickable.cpp
tests/auto/quick/qquickfocusscope/tst_qquickfocusscope.cpp
tests/auto/quick/qquickgridview/tst_qquickgridview.cpp
tests/auto/quick/qquickimage/tst_qquickimage.cpp
tests/auto/quick/qquickitem2/tst_qquickitem.cpp
tests/auto/quick/qquicklistview/tst_qquicklistview.cpp
tests/auto/quick/qquickmultipointtoucharea/tst_qquickmultipointtoucharea.cpp
tests/auto/quick/qquickpathview/tst_qquickpathview.cpp
tests/auto/quick/qquickpincharea/tst_qquickpincharea.cpp
tests/auto/quick/qquickpositioners/tst_qquickpositioners.cpp
tests/auto/quick/qquickshadereffect/tst_qquickshadereffect.cpp
tests/auto/quick/qquickspritesequence/tst_qquickspritesequence.cpp
tests/auto/quick/qquickstates/tst_qquickstates.cpp
tests/auto/quick/qquicktext/tst_qquicktext.cpp
tests/auto/quick/qquickwindow/tst_qquickwindow.cpp
tests/auto/quick/touchmouse/tst_touchmouse.cpp