on xenial help sign in
Remove a now unrelated test from tst_WindowResizeArea
commit86935c177dff31cb0581d544b5d0b200de7c0590 authorDaniel d'Andrada <daniel.dandrada@canonical.com> dateThu 8 Oct 2015, 11:27 (11 years ago) parentedf4371
1 file changed−19
tests/qmltests/Stages/tst_WindowResizeArea.qml−19
tests/qmltests/Stages/tst_WindowResizeArea.qml−19
@@ -147,25 +147,6 @@ Item {
147147 compare(fakeWindow.y, Math.min(initialWindowY + data.dy, initialWindowY + maxMoveY));
148148 }
149149
150− function test_saveRestorePosition() {
151− var initialWindowX = fakeWindow.x;
152− var initialWindowY = fakeWindow.y;
153−
154− var moveDelta = units.gu(5);
155−
156− fakeWindow.x = initialWindowX + moveDelta
157− fakeWindow.y = initialWindowY + moveDelta
158−
159− // This will destroy the window and recreate it
160− windowLoader.active = false;
161− waitForRendering(root);
162− windowLoader.active = true;
163−
164− // Make sure it's again where we left it before destroying
165− tryCompare(fakeWindow, "x", initialWindowX + moveDelta)
166− tryCompare(fakeWindow, "y", initialWindowX + moveDelta)
167− }
168−
169150 function test_saveRestoreSize() {
170151 var initialWindowX = fakeWindow.x;
171152 var initialWindowY = fakeWindow.y;