on xenial help sign in
... and some more
c45dee0Lukáš Tinkl
tests/qmltests/Launcher/tst_Drawer.qml−19
@@ -249,25 +249,6 @@ StyledItem {
249 compare(launcher.lastSelectedApplication, "camera-app");
249 compare(launcher.lastSelectedApplication, "camera-app");
250 }
250 }
251
251
252− function test_dragDirectionOnLeftEdgeDrag_data() {
253− return [
254− { tag: "reveal", direction: "right", endState: "drawer" },
255− { tag: "cancel", direction: "left", endState: "visible" },
256− ]
257− }
258−
259− function test_dragDirectionOnLeftEdgeDrag(data) {
260− var startX = launcher.dragAreaWidth/2;
261− var startY = launcher.height/2;
262− var stopX = startX + units.gu(35);
263− var endX = stopX + (units.gu(4) * (data.direction === "left" ? -1 : 1))
264−
265− touchFlick(launcher, startX, startY, stopX, startY, true, false);
266− touchFlick(launcher, stopX, startY, endX, startY, false, true);
267−
268− tryCompare(launcher, "state", data.endState)
269− }
270−
271 function test_directSearch() {
252 function test_directSearch() {
272 dragDrawerIntoView();
253 dragDrawerIntoView();
273 var drawer = findChild(launcher, "drawer");
254 var drawer = findChild(launcher, "drawer");