@@ -44,7 +44,6 @@ Item {
45 Rectangle {
45 Rectangle {
46 anchors { fill: parent; leftMargin: phoneStage.width }
46 anchors { fill: parent; leftMargin: phoneStage.width }
50 anchors { left: parent.left; right: parent.right; top: parent.top; margins: units.gu(1) }
49 anchors { left: parent.left; right: parent.right; top: parent.top; margins: units.gu(1) }
@@ -58,7 +57,10 @@ Item {
60 anchors { left: parent.left; right: parent.right }
59 anchors { left: parent.left; right: parent.right }
61− text: "Add App"
60+ text: "Remove App"
62+ ApplicationManager.stopApplication(ApplicationManager.get(0).appId)
@@ -228,39 +230,6 @@ Item {
228 compare(ApplicationManager.focusedApplicationId, selectedApp.appId);
230 compare(ApplicationManager.focusedApplicationId, selectedApp.appId);
231− function test_fullscreenMode() {
232− var fullscreenApp = null;
233− var normalApp = null;
235− for (var i = 0; i < 5; i++) {
237− var newApp = ApplicationManager.get(0);
238− tryCompare(phoneStage, "fullscreen", newApp.fullscreen);
239− if (newApp.fullscreen && fullscreenApp == null) {
240− fullscreenApp = newApp;
241− } else if (!newApp.fullscreen && normalApp == null){
245− verify(fullscreenApp != null); // Can't continue the test without having a fullscreen app
246− verify(normalApp != null); // Can't continue the test without having a non-fullscreen app
248− // Select a normal app
250− phoneStage.select(normalApp.appId);
251− tryCompare(phoneStage, "fullscreen", false);
253− // Select a fullscreen app
255− phoneStage.select(fullscreenApp.appId);
256− tryCompare(phoneStage, "fullscreen", true);
258− // Select a normal app
260− phoneStage.select(normalApp.appId);
261− tryCompare(phoneStage, "fullscreen", false);
264 function cleanup() {
233 function cleanup() {
265 while (ApplicationManager.count > 0) {
234 while (ApplicationManager.count > 0) {
266 var oldCount = ApplicationManager.count;
235 var oldCount = ApplicationManager.count;