Commit 61dd293a authored by Jan Arve Sæther's avatar Jan Arve Sæther
Browse files

Stabilize tst_QQuickAccessible


There is no reason to wait for the window to activate

Task-number: QTBUG-42355
Change-Id: I5faaff5bddd367e6dd57a6a922011c87c847148e
Reviewed-by: default avatarTony Sarajärvi <tony.sarajarvi@digia.com>
parent e703f417
Branches
No related merge requests found
Showing with 0 additions and 4 deletions
...@@ -383,8 +383,6 @@ void tst_QQuickAccessible::checkableTest() ...@@ -383,8 +383,6 @@ void tst_QQuickAccessible::checkableTest()
QScopedPointer<QQuickView> window(new QQuickView()); QScopedPointer<QQuickView> window(new QQuickView());
window->setSource(testFileUrl("checkbuttons.qml")); window->setSource(testFileUrl("checkbuttons.qml"));
window->show(); window->show();
window->requestActivate();
QVERIFY(QTest::qWaitForWindowActive(window.data()));
QQuickItem *contentItem = window->contentItem(); QQuickItem *contentItem = window->contentItem();
QVERIFY(contentItem); QVERIFY(contentItem);
...@@ -462,8 +460,6 @@ void tst_QQuickAccessible::ignoredTest() ...@@ -462,8 +460,6 @@ void tst_QQuickAccessible::ignoredTest()
QScopedPointer<QQuickView> window(new QQuickView()); QScopedPointer<QQuickView> window(new QQuickView());
window->setSource(testFileUrl("ignored.qml")); window->setSource(testFileUrl("ignored.qml"));
window->show(); window->show();
window->requestActivate();
QVERIFY(QTest::qWaitForWindowActive(window.data()));
QQuickItem *contentItem = window->contentItem(); QQuickItem *contentItem = window->contentItem();
QVERIFY(contentItem); QVERIFY(contentItem);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment