on xenial help sign in
Make the fake timer implementation a bit less dummy
commitcc52f63fc7888485fecdc1a2619e5ec1b4912aa1 authorAlbert Astals Cid <albert.astals@canonical.com> dateTue 19 Jan 2016, 16:36 (11 years ago) parent1f86976
1 file changed+3
tests/qmltests/Launcher/tst_Launcher.qml+3
tests/qmltests/Launcher/tst_Launcher.qml+3
@@ -165,9 +165,11 @@ Item {
165165 signal triggered
166166
167167 function stop() {
168+ running = false;
168169 }
169170
170171 function restart() {
172+ running = true;
171173 }
172174 }
173175
@@ -915,6 +917,7 @@ Item {
915917 mouseMove(root, root.width, root.height / 2)
916918
917919 // trigger the hide timer
920+ compare(fakeDismissTimer.running, true);
918921 fakeDismissTimer.triggered();
919922 tryCompare(panel, "x", 0);
920923