on xenial help sign in
fix whitespace tests
5ab3d3bMichael Zanetti
tests/qmltests/Stages/tst_PhoneStage.qml+3−6
@@ -27,7 +27,7 @@ Item {
27 height: units.gu(70)
27 height: units.gu(70)
28
28
29 Rectangle {
29 Rectangle {
30−
30+
31 }
31 }
32
32
33 PhoneStage {
33 PhoneStage {
@@ -51,14 +51,14 @@ Item {
51 anchors { left: parent.left; right: parent.right; top: parent.top; margins: units.gu(1) }
51 anchors { left: parent.left; right: parent.right; top: parent.top; margins: units.gu(1) }
52 spacing: units.gu(1)
52 spacing: units.gu(1)
53 Button {
53 Button {
54− anchors { left: parent.left; right: parent.right }
54+ anchors { left: parent.left; right: parent.right }
55 text: "Add App"
55 text: "Add App"
56 onClicked: {
56 onClicked: {
57 testCase.addApps();
57 testCase.addApps();
58 }
58 }
59 }
59 }
60 Button {
60 Button {
61− anchors { left: parent.left; right: parent.right }
61+ anchors { left: parent.left; right: parent.right }
62 text: "Add App"
62 text: "Add App"
63 }
63 }
64 }
64 }
@@ -155,7 +155,6 @@ Item {
155
155
156 tryCompare(phoneStage, "painting", false);
156 tryCompare(phoneStage, "painting", false);
157 tryCompare(ApplicationManager, "focusedApplicationId", newFocusedApp.appId);
157 tryCompare(ApplicationManager, "focusedApplicationId", newFocusedApp.appId);
158−
159 }
158 }
160
159
161 function test_selectAppFromSpread_data() {
160 function test_selectAppFromSpread_data() {
@@ -176,8 +175,6 @@ Item {
176
175
177 var spreadView = findChild(phoneStage, "spreadView");
176 var spreadView = findChild(phoneStage, "spreadView");
178
177
179−// waitForRendering(phoneStage)
180−
181 var startX = phoneStage.width;
178 var startX = phoneStage.width;
182 var startY = phoneStage.height / 2;
179 var startY = phoneStage.height / 2;
183 var endY = startY;
180 var endY = startY;