on xenial help sign in
Make the fake timer implementation a bit less dummy
cc52f63Albert Astals Cid
tests/qmltests/Launcher/tst_Launcher.qml+3
@@ -165,9 +165,11 @@ Item {
165 signal triggered
165 signal triggered
166
166
167 function stop() {
167 function stop() {
168+ running = false;
168 }
169 }
169
170
170 function restart() {
171 function restart() {
172+ running = true;
171 }
173 }
172 }
174 }
173
175
@@ -915,6 +917,7 @@ Item {
915 mouseMove(root, root.width, root.height / 2)
917 mouseMove(root, root.width, root.height / 2)
916
918
917 // trigger the hide timer
919 // trigger the hide timer
920+ compare(fakeDismissTimer.running, true);
918 fakeDismissTimer.triggered();
921 fakeDismissTimer.triggered();
919 tryCompare(panel, "x", 0);
922 tryCompare(panel, "x", 0);
920
923