@@ -83,7 +83,7 @@ Item {
8383 }
8484
8585 UnityTestCase {
86− name: "WindowMoveResizeArea"
86+ name: "WindowResizeArea"
8787 when: windowShown
8888
8989 function init() {
@@ -150,16 +150,11 @@ Item {
150150 function test_saveRestorePosition() {
151151 var initialWindowX = fakeWindow.x;
152152 var initialWindowY = fakeWindow.y;
153− var initialWindowWidth = fakeWindow.width;
154− var initialWindowHeight = fakeWindow.height;
155153
156154 var moveDelta = units.gu(5);
157− var startDragX = initialWindowX + fakeWindow.width / 2;
158− var startDragY = initialWindowY + fakeWindow.height / 2;
159− mouseFlick(root, startDragX, startDragY, startDragX + moveDelta, startDragY + moveDelta, true, true, units.gu(.5), 10)
160155
161− tryCompare(fakeWindow, "x", initialWindowX + moveDelta)
162− tryCompare(fakeWindow, "y", initialWindowX + moveDelta)
156+ fakeWindow.x = initialWindowX + moveDelta
157+ fakeWindow.y = initialWindowY + moveDelta
163158
164159 // This will destroy the window and recreate it
165160 windowLoader.active = false;