Remove testing of active window change on hide
authorAlan Alpert <416365416c@gmail.com>
Tue, 31 Mar 2015 01:06:44 +0000 (18:06 -0700)
committerAlan Alpert <aalpert@blackberry.com>
Tue, 2 Jun 2015 21:11:18 +0000 (21:11 +0000)
We don't actually control where the window manager
assigns focus if the currently active window is hidden,
so don't test for specific behavior.

We can now remove the blacklist entry for this test.

Change-Id: Ie09fc91c6317f6bb2d4b91000641ef241556fddf
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
tests/auto/quick/qquickwindow/BLACKLIST [deleted file]
tests/auto/quick/qquickwindow/tst_qquickwindow.cpp

diff --git a/tests/auto/quick/qquickwindow/BLACKLIST b/tests/auto/quick/qquickwindow/BLACKLIST
deleted file mode 100644 (file)
index 1201ef1..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-[testWindowVisibilityOrder]
-osx
index 7c94cf6d178f317a424674f19f0793c0808f5342..f638505c721096a2ffdf1f763f7312ff80947f76 100644 (file)
@@ -1716,14 +1716,6 @@ void tst_qquickwindow::testWindowVisibilityOrder()
     QTest::qWaitForWindowExposed(window5);
     QVERIFY(window4->isVisible());
     QVERIFY(window5->isVisible());
-    window4->hide();
-    window5->hide();
-
-    window3->hide();
-    QTRY_COMPARE(window2 == QGuiApplication::focusWindow(), true);
-
-    window2->hide();
-    QTRY_COMPARE(window1 == QGuiApplication::focusWindow(), true);
 }
 
 void tst_qquickwindow::blockClosing()