@@ -392,7 +392,7 @@ Rectangle {
392 compare(ApplicationManager.count, 1)
392 compare(ApplicationManager.count, 1)
395− function test_snapDecisionDismissalReturnsFocus() {
395+ function atest_snapDecisionDismissalReturnsFocus() {
396 loadShell("phone");
396 loadShell("phone");
397 swipeAwayGreeter();
397 swipeAwayGreeter();
398 var notifications = findChild(shell, "notificationList");
398 var notifications = findChild(shell, "notificationList");
@@ -453,7 +453,7 @@ Rectangle {
453 mockNotificationsModel.append(n)
453 mockNotificationsModel.append(n)
456− function test_phoneLeftEdgeDrag_data() {
456+ function atest_phoneLeftEdgeDrag_data() {
458 {tag: "without launcher",
458 {tag: "without launcher",
459 revealLauncher: false, swipeLength: units.gu(30), appHides: true, focusedApp: "dialer-app",
459 revealLauncher: false, swipeLength: units.gu(30), appHides: true, focusedApp: "dialer-app",
@@ -485,7 +485,7 @@ Rectangle {
488− function test_phoneLeftEdgeDrag(data) {
488+ function atest_phoneLeftEdgeDrag(data) {
489 loadShell("phone");
489 loadShell("phone");
490 swipeAwayGreeter();
490 swipeAwayGreeter();
491 dragLauncherIntoView();
491 dragLauncherIntoView();
@@ -520,7 +520,7 @@ Rectangle {
520 compare(animateTimer.nextState, "visible");
520 compare(animateTimer.nextState, "visible");
523− function test_tabletLeftEdgeDrag_data() {
523+ function atest_tabletLeftEdgeDrag_data() {
525 {tag: "without password", user: "no-password", loggedIn: true, demo: false},
525 {tag: "without password", user: "no-password", loggedIn: true, demo: false},
526 {tag: "with password", user: "has-password", loggedIn: false, demo: false},
526 {tag: "with password", user: "has-password", loggedIn: false, demo: false},
@@ -528,7 +528,7 @@ Rectangle {
531− function test_tabletLeftEdgeDrag(data) {
531+ function atest_tabletLeftEdgeDrag(data) {
532 setLightDMMockMode("full");
532 setLightDMMockMode("full");
533 loadShell("tablet");
533 loadShell("tablet");
@@ -543,7 +543,7 @@ Rectangle {
543 confirmLoggedIn(data.loggedIn)
543 confirmLoggedIn(data.loggedIn)
546− function test_longLeftEdgeSwipeTakesToAppsAndResetSearchString() {
546+ function atest_longLeftEdgeSwipeTakesToAppsAndResetSearchString() {
547 loadShell("phone");
547 loadShell("phone");
548 swipeAwayGreeter();
548 swipeAwayGreeter();
549 dragLauncherIntoView();
549 dragLauncherIntoView();
@@ -562,7 +562,7 @@ Rectangle {
562 compare(dashCommunicatorSpy.count, 1);
562 compare(dashCommunicatorSpy.count, 1);
565− function test_ClickUbuntuIconInLauncherTakesToAppsAndResetSearchString() {
565+ function atest_ClickUbuntuIconInLauncherTakesToAppsAndResetSearchString() {
566 loadShell("phone");
566 loadShell("phone");
567 swipeAwayGreeter();
567 swipeAwayGreeter();
568 dragLauncherIntoView();
568 dragLauncherIntoView();
@@ -578,7 +578,7 @@ Rectangle {
578 compare(dashCommunicatorSpy.count, 1);
578 compare(dashCommunicatorSpy.count, 1);
581− function test_suspend() {
581+ function atest_suspend() {
582 loadShell("phone");
582 loadShell("phone");
583 swipeAwayGreeter();
583 swipeAwayGreeter();
584 var greeter = findChild(shell, "greeter");
584 var greeter = findChild(shell, "greeter");
@@ -704,7 +704,7 @@ Rectangle {
704 - perform long left edge swipe to go minimize the app and go back to the dash.
704 - perform long left edge swipe to go minimize the app and go back to the dash.
705 - verify the setCurrentScope() D-Bus call to the dash has been called for the correct scope id.
705 - verify the setCurrentScope() D-Bus call to the dash has been called for the correct scope id.
707− function test_minimizingAppTakesToDashApps() {
707+ function atest_minimizingAppTakesToDashApps() {
708 loadShell("phone");
708 loadShell("phone");
709 swipeAwayGreeter();
709 swipeAwayGreeter();
710 dragLauncherIntoView();
710 dragLauncherIntoView();
@@ -726,7 +726,7 @@ Rectangle {
726 compare(dashCommunicatorSpy.signalArguments[0][0], 0);
726 compare(dashCommunicatorSpy.signalArguments[0][0], 0);
729− function test_showInputMethod() {
729+ function atest_showInputMethod() {
730 loadShell("phone");
730 loadShell("phone");
731 swipeAwayGreeter();
731 swipeAwayGreeter();
732 var item = findChild(shell, "inputMethod");
732 var item = findChild(shell, "inputMethod");
@@ -757,7 +757,7 @@ Rectangle {
757 waitUntilTransitionsEnd(appWindowStateGroup);
757 waitUntilTransitionsEnd(appWindowStateGroup);
760− function test_surfaceLosesActiveFocusWhilePanelIsOpen() {
760+ function atest_surfaceLosesActiveFocusWhilePanelIsOpen() {
761 loadShell("phone");
761 loadShell("phone");
762 swipeAwayGreeter();
762 swipeAwayGreeter();
763 var app = ApplicationManager.startApplication("dialer-app");
763 var app = ApplicationManager.startApplication("dialer-app");
@@ -790,7 +790,7 @@ Rectangle {
790 tryCompare(app.session.surface, "activeFocus", true);
790 tryCompare(app.session.surface, "activeFocus", true);
793− function test_launchedAppHasActiveFocus_data() {
793+ function atest_launchedAppHasActiveFocus_data() {
795 {tag: "phone", formFactor: "phone", usageScenario: "phone"},
795 {tag: "phone", formFactor: "phone", usageScenario: "phone"},
796 {tag: "tablet", formFactor: "tablet", usageScenario: "tablet"},
796 {tag: "tablet", formFactor: "tablet", usageScenario: "tablet"},
@@ -798,7 +798,7 @@ Rectangle {
801− function test_launchedAppHasActiveFocus(data) {
801+ function atest_launchedAppHasActiveFocus(data) {
802 loadShell(data.formFactor);
802 loadShell(data.formFactor);
803 shell.usageScenario = data.usageScenario;
803 shell.usageScenario = data.usageScenario;
804 waitForGreeterToStabilize();
804 waitForGreeterToStabilize();
@@ -813,7 +813,7 @@ Rectangle {
813 tryCompare(webApp.session.surface, "activeFocus", true);
813 tryCompare(webApp.session.surface, "activeFocus", true);
816− function test_launchedAppKeepsActiveFocusOnUsageModeChange() {
816+ function atest_launchedAppKeepsActiveFocusOnUsageModeChange() {
817 loadShell("tablet");
817 loadShell("tablet");
818 swipeAwayGreeter();
818 swipeAwayGreeter();
@@ -941,7 +941,7 @@ Rectangle {
941 removeTimeConstraintsFromDirectionalDragAreas(greeter);
941 removeTimeConstraintsFromDirectionalDragAreas(greeter);
944− function test_focusRequestedHidesGreeter() {
944+ function atest_focusRequestedHidesGreeter() {
945 loadShell("phone");
945 loadShell("phone");
946 swipeAwayGreeter();
946 swipeAwayGreeter();
947 var greeter = findChild(shell, "greeter");
947 var greeter = findChild(shell, "greeter");
@@ -963,7 +963,7 @@ Rectangle {
963 waitForRendering(greeter);
963 waitForRendering(greeter);
966− function test_focusRequestedHidesIndicators() {
966+ function atest_focusRequestedHidesIndicators() {
967 loadShell("phone");
967 loadShell("phone");
968 swipeAwayGreeter();
968 swipeAwayGreeter();
969 var indicators = findChild(shell, "indicators");
969 var indicators = findChild(shell, "indicators");
@@ -977,7 +977,7 @@ Rectangle {
977 tryCompare(indicators, "fullyClosed", true);
977 tryCompare(indicators, "fullyClosed", true);
980− function test_showAndHideGreeterDBusCalls() {
980+ function atest_showAndHideGreeterDBusCalls() {
981 loadShell("phone");
981 loadShell("phone");
982 swipeAwayGreeter();
982 swipeAwayGreeter();
983 var greeter = findChild(shell, "greeter")
983 var greeter = findChild(shell, "greeter")
@@ -990,7 +990,7 @@ Rectangle {
990 tryCompare(greeter, "shown", false)
990 tryCompare(greeter, "shown", false)
993− function test_greeterLoginsAutomaticallyWhenNoPasswordSet() {
993+ function atest_greeterLoginsAutomaticallyWhenNoPasswordSet() {
994 loadShell("phone");
994 loadShell("phone");
995 swipeAwayGreeter();
995 swipeAwayGreeter();
@@ -1002,7 +1002,7 @@ Rectangle {
1002 tryCompare(sessionSpy, "count", 1);
1002 tryCompare(sessionSpy, "count", 1);
1005− function test_fullscreen() {
1005+ function atest_fullscreen() {
1006 loadShell("phone");
1006 loadShell("phone");
1007 swipeAwayGreeter();
1007 swipeAwayGreeter();
1008 var panel = findChild(shell, "panel");
1008 var panel = findChild(shell, "panel");
@@ -1017,7 +1017,7 @@ Rectangle {
1017 tryCompare(panel, "fullscreenMode", false);
1017 tryCompare(panel, "fullscreenMode", false);
1020− function test_leftEdgeDragFullscreen() {
1020+ function atest_leftEdgeDragFullscreen() {
1021 loadShell("phone");
1021 loadShell("phone");
1022 swipeAwayGreeter();
1022 swipeAwayGreeter();
1023 var panel = findChild(shell, "panel");
1023 var panel = findChild(shell, "panel");
@@ -1040,7 +1040,7 @@ Rectangle {
1040 touchRelease(shell);
1040 touchRelease(shell);
1043− function test_unlockedProperties() {
1043+ function atest_unlockedProperties() {
1044 loadShell("phone");
1044 loadShell("phone");
1045 swipeAwayGreeter();
1045 swipeAwayGreeter();
1046 // Confirm that various properties have the correct values when unlocked
1046 // Confirm that various properties have the correct values when unlocked
@@ -1054,13 +1054,13 @@ Rectangle {
1054 tryCompare(indicators, "available", true)
1054 tryCompare(indicators, "available", true)
1057− function test_unlockAllModemsOnBoot() {
1057+ function atest_unlockAllModemsOnBoot() {
1058 loadShell("phone");
1058 loadShell("phone");
1059 swipeAwayGreeter();
1059 swipeAwayGreeter();
1060 tryCompare(unlockAllModemsSpy, "count", 1)
1060 tryCompare(unlockAllModemsSpy, "count", 1)
1063− function test_unlockAllModemsAfterWizard() {
1063+ function atest_unlockAllModemsAfterWizard() {
1064 Wizard.System.wizardEnabled = true;
1064 Wizard.System.wizardEnabled = true;
1065 loadShell("phone");
1065 loadShell("phone");
@@ -1075,7 +1075,7 @@ Rectangle {
1075 compare(unlockAllModemsSpy.count, 1);
1075 compare(unlockAllModemsSpy.count, 1);
1078− function test_wizardEarlyExit() {
1078+ function atest_wizardEarlyExit() {
1079 Wizard.System.wizardEnabled = true;
1079 Wizard.System.wizardEnabled = true;
1080 AccountsService.demoEdges = true;
1080 AccountsService.demoEdges = true;
1081 loadShell("phone");
1081 loadShell("phone");
@@ -1111,7 +1111,7 @@ Rectangle {
1111 compare(tutorialLeft, null); // should be destroyed with tutorial
1111 compare(tutorialLeft, null); // should be destroyed with tutorial
1114− function test_tutorialPausedDuringGreeter() {
1114+ function atest_tutorialPausedDuringGreeter() {
1115 loadShell("phone");
1115 loadShell("phone");
1117 var tutorial = findChild(shell, "tutorial");
1117 var tutorial = findChild(shell, "tutorial");
@@ -1124,7 +1124,7 @@ Rectangle {
1124 tryCompare(tutorial, "paused", false);
1124 tryCompare(tutorial, "paused", false);
1127− function test_tapOnRightEdgeReachesApplicationSurface() {
1127+ function atest_tapOnRightEdgeReachesApplicationSurface() {
1128 loadShell("phone");
1128 loadShell("phone");
1129 swipeAwayGreeter();
1129 swipeAwayGreeter();
1130 var topmostSpreadDelegate = findChild(shell, "appDelegate0");
1130 var topmostSpreadDelegate = findChild(shell, "appDelegate0");
@@ -1153,7 +1153,7 @@ Rectangle {
1153 that no touch event was sent to it (ie, they were all consumed
1153 that no touch event was sent to it (ie, they were all consumed
1154 by the right-edge drag area)
1154 by the right-edge drag area)
1156− function test_rightEdgeDragDoesNotReachApplicationSurface() {
1156+ function atest_rightEdgeDragDoesNotReachApplicationSurface() {
1157 loadShell("phone");
1157 loadShell("phone");
1158 swipeAwayGreeter();
1158 swipeAwayGreeter();
1159 var topmostSpreadDelegate = findChild(shell, "appDelegate0");
1159 var topmostSpreadDelegate = findChild(shell, "appDelegate0");
@@ -1199,7 +1199,7 @@ Rectangle {
1199 tryCompare(spreadView, "phase", 2);
1199 tryCompare(spreadView, "phase", 2);
1202− function test_tapUbuntuIconInLauncherOverAppSpread() {
1202+ function atest_tapUbuntuIconInLauncherOverAppSpread() {
1203 launcherShowDashHomeSpy.clear();
1203 launcherShowDashHomeSpy.clear();
1205 loadShell("phone");
1205 loadShell("phone");
@@ -1245,7 +1245,7 @@ Rectangle {
1245 tryCompare(launcherPanel, "x", -launcherPanel.width);
1245 tryCompare(launcherPanel, "x", -launcherPanel.width);
1248− function test_tabletLogin_data() {
1248+ function atest_tabletLogin_data() {
1249 return [
1249 return [
1250 {tag: "auth error", user: "auth-error", loggedIn: false, password: ""},
1250 {tag: "auth error", user: "auth-error", loggedIn: false, password: ""},
1251 {tag: "with password", user: "has-password", loggedIn: true, password: "password"},
1251 {tag: "with password", user: "has-password", loggedIn: true, password: "password"},
@@ -1253,7 +1253,7 @@ Rectangle {
1256− function test_tabletLogin(data) {
1256+ function atest_tabletLogin(data) {
1257 setLightDMMockMode("full");
1257 setLightDMMockMode("full");
1258 loadShell("tablet");
1258 loadShell("tablet");
@@ -1269,7 +1269,7 @@ Rectangle {
1269 confirmLoggedIn(data.loggedIn);
1269 confirmLoggedIn(data.loggedIn);
1272− function test_appLaunchDuringGreeter_data() {
1272+ function atest_appLaunchDuringGreeter_data() {
1273 return [
1273 return [
1274 {tag: "auth error", user: "auth-error", loggedIn: false, passwordFocus: false},
1274 {tag: "auth error", user: "auth-error", loggedIn: false, passwordFocus: false},
1275 {tag: "without password", user: "no-password", loggedIn: true, passwordFocus: false},
1275 {tag: "without password", user: "no-password", loggedIn: true, passwordFocus: false},
@@ -1277,7 +1277,7 @@ Rectangle {
1280− function test_appLaunchDuringGreeter(data) {
1280+ function atest_appLaunchDuringGreeter(data) {
1281 setLightDMMockMode("full");
1281 setLightDMMockMode("full");
1282 loadShell("tablet");
1282 loadShell("tablet");
@@ -1294,7 +1294,7 @@ Rectangle {
1297− function test_stageLoader_data() {
1297+ function atest_stageLoader_data() {
1298 return [
1298 return [
1299 {tag: "phone", source: "Stages/PhoneStage.qml", formFactor: "phone", usageScenario: "phone"},
1299 {tag: "phone", source: "Stages/PhoneStage.qml", formFactor: "phone", usageScenario: "phone"},
1300 {tag: "tablet", source: "Stages/TabletStage.qml", formFactor: "tablet", usageScenario: "tablet"},
1300 {tag: "tablet", source: "Stages/TabletStage.qml", formFactor: "tablet", usageScenario: "tablet"},
@@ -1302,14 +1302,14 @@ Rectangle {
1305− function test_stageLoader(data) {
1305+ function atest_stageLoader(data) {
1306 loadShell(data.formFactor);
1306 loadShell(data.formFactor);
1307 shell.usageScenario = data.usageScenario;
1307 shell.usageScenario = data.usageScenario;
1308 var stageLoader = findChild(shell, "applicationsDisplayLoader");
1308 var stageLoader = findChild(shell, "applicationsDisplayLoader");
1309 verify(String(stageLoader.source).indexOf(data.source) >= 0);
1309 verify(String(stageLoader.source).indexOf(data.source) >= 0);
1312− function test_launcherInverted_data() {
1312+ function atest_launcherInverted_data() {
1313 return [
1313 return [
1314 {tag: "phone", formFactor: "phone", usageScenario: "phone", launcherInverted: true},
1314 {tag: "phone", formFactor: "phone", usageScenario: "phone", launcherInverted: true},
1315 {tag: "tablet", formFactor: "tablet", usageScenario: "tablet", launcherInverted: true},
1315 {tag: "tablet", formFactor: "tablet", usageScenario: "tablet", launcherInverted: true},
@@ -1317,7 +1317,7 @@ Rectangle {
1320− function test_launcherInverted(data) {
1320+ function atest_launcherInverted(data) {
1321 loadShell(data.formFactor);
1321 loadShell(data.formFactor);
1322 shell.usageScenario = data.usageScenario;
1322 shell.usageScenario = data.usageScenario;
@@ -1325,7 +1325,7 @@ Rectangle {
1325 compare(launcher.inverted, data.launcherInverted);
1325 compare(launcher.inverted, data.launcherInverted);
1328− function test_unfocusedAppsGetSuspendedAfterEnteringStagedMode() {
1328+ function atest_unfocusedAppsGetSuspendedAfterEnteringStagedMode() {
1329 loadShell("tablet");
1329 loadShell("tablet");
1330 shell.usageScenario = "desktop";
1330 shell.usageScenario = "desktop";
@@ -1347,7 +1347,7 @@ Rectangle {
1347 tryCompare(galleryApp, "requestedState", ApplicationInfoInterface.RequestedSuspended);
1347 tryCompare(galleryApp, "requestedState", ApplicationInfoInterface.RequestedSuspended);
1350− function test_unfocusedAppsAreResumedWhenEnteringWindowedMode() {
1350+ function atest_unfocusedAppsAreResumedWhenEnteringWindowedMode() {
1351 loadShell("tablet");
1351 loadShell("tablet");
1352 shell.usageScenario = "tablet";
1352 shell.usageScenario = "tablet";
@@ -1369,7 +1369,7 @@ Rectangle {
1369 tryCompare(galleryApp, "requestedState", ApplicationInfoInterface.RequestedRunning);
1369 tryCompare(galleryApp, "requestedState", ApplicationInfoInterface.RequestedRunning);
1372− function test_altTabSwitchesFocus() {
1372+ function atest_altTabSwitchesFocus() {
1373 loadShell("desktop");
1373 loadShell("desktop");
1374 shell.usageScenario = "desktop"
1374 shell.usageScenario = "desktop"
1375 waitForRendering(root)
1375 waitForRendering(root)
@@ -1406,7 +1406,7 @@ Rectangle {
1406 tryCompare(app3.session.surface, "activeFocus", true)
1406 tryCompare(app3.session.surface, "activeFocus", true)
1409− function test_altTabWrapAround() {
1409+ function atest_altTabWrapAround() {
1410 loadDesktopShellWithApps();
1410 loadDesktopShellWithApps();
1412 var desktopStage = findChild(shell, "stage");
1412 var desktopStage = findChild(shell, "stage");
@@ -1455,7 +1455,7 @@ Rectangle {
1455 tryCompare(focused.session.surface, "activeFocus", true)
1455 tryCompare(focused.session.surface, "activeFocus", true)
1458− function test_altBackTabNavigation() {
1458+ function atest_altBackTabNavigation() {
1459 loadDesktopShellWithApps();
1459 loadDesktopShellWithApps();
1461 var spreadRepeater = findInvisibleChild(shell, "spreadRepeater");
1461 var spreadRepeater = findInvisibleChild(shell, "spreadRepeater");
@@ -1486,7 +1486,7 @@ Rectangle {
1486 keyRelease(Qt.Key_Control);
1486 keyRelease(Qt.Key_Control);
1489− function test_highlightFollowsMouse() {
1489+ function atest_highlightFollowsMouse() {
1490 loadDesktopShellWithApps()
1490 loadDesktopShellWithApps()
1492 var spreadRepeater = findInvisibleChild(shell, "spreadRepeater");
1492 var spreadRepeater = findInvisibleChild(shell, "spreadRepeater");
@@ -1514,7 +1514,7 @@ Rectangle {
1514 keyRelease(Qt.Key_Control);
1514 keyRelease(Qt.Key_Control);
1517− function test_closeFromSpread() {
1517+ function atest_closeFromSpread() {
1518 loadDesktopShellWithApps()
1518 loadDesktopShellWithApps()
1520 var spreadRepeater = findInvisibleChild(shell, "spreadRepeater");
1520 var spreadRepeater = findInvisibleChild(shell, "spreadRepeater");
@@ -1550,14 +1550,14 @@ Rectangle {
1550 keyRelease(Qt.Key_Control);
1550 keyRelease(Qt.Key_Control);
1553− function test_selectFromSpreadWithMouse_data() {
1553+ function atest_selectFromSpreadWithMouse_data() {
1554 return [
1554 return [
1555 {tag: "click on tileInfo", tileInfo: true },
1555 {tag: "click on tileInfo", tileInfo: true },
1556 {tag: "click on surface", tileInfo: false },
1556 {tag: "click on surface", tileInfo: false },
1560− function test_selectFromSpreadWithMouse(data) {
1560+ function atest_selectFromSpreadWithMouse(data) {
1561 loadDesktopShellWithApps()
1561 loadDesktopShellWithApps()
1563 var stage = findChild(shell, "stage");
1563 var stage = findChild(shell, "stage");
@@ -1597,7 +1597,7 @@ Rectangle {
1597 keyRelease(Qt.Key_Control);
1597 keyRelease(Qt.Key_Control);
1600− function test_progressiveAutoScrolling() {
1600+ function atest_progressiveAutoScrolling() {
1601 loadDesktopShellWithApps()
1601 loadDesktopShellWithApps()
1603 var appRepeater = findInvisibleChild(shell, "appRepeater");
1603 var appRepeater = findInvisibleChild(shell, "appRepeater");
@@ -1634,7 +1634,7 @@ Rectangle {
1635 // This makes sure the hoverMouseArea is set to invisible AND disabled
1635 // This makes sure the hoverMouseArea is set to invisible AND disabled
1636 // when not needed. Otherwise it'll eat mouse hover events for the rest of the shell/apps
1636 // when not needed. Otherwise it'll eat mouse hover events for the rest of the shell/apps
1637− function test_hoverMouseAreaDisabledAndInvisible() {
1637+ function atest_hoverMouseAreaDisabledAndInvisible() {
1638 loadDesktopShellWithApps()
1638 loadDesktopShellWithApps()
1640 var hoverMouseArea = findChild(shell, "hoverMouseArea");
1640 var hoverMouseArea = findChild(shell, "hoverMouseArea");
@@ -1653,7 +1653,7 @@ Rectangle {
1653 tryCompare(hoverMouseArea, "visible", false)
1653 tryCompare(hoverMouseArea, "visible", false)
1656− function test_workspacePreviewsHighlightedApp() {
1656+ function atest_workspacePreviewsHighlightedApp() {
1657 loadDesktopShellWithApps()
1657 loadDesktopShellWithApps()
1659 var targetZ = ApplicationManager.count + 1;
1659 var targetZ = ApplicationManager.count + 1;
@@ -1688,7 +1688,7 @@ Rectangle {
1688 keyRelease(Qt.Key_Control);
1688 keyRelease(Qt.Key_Control);
1691− function test_focusAppFromLauncherExitsSpread() {
1691+ function atest_focusAppFromLauncherExitsSpread() {
1692 loadDesktopShellWithApps()
1692 loadDesktopShellWithApps()
1694 var desktopSpread = findChild(shell, "spread");
1694 var desktopSpread = findChild(shell, "spread");
@@ -1714,7 +1714,7 @@ Rectangle {
1716 // regression test for http://pad.lv/1443319
1716 // regression test for http://pad.lv/1443319
1717− function test_closeMaximizedAndRestart() {
1717+ function atest_closeMaximizedAndRestart() {
1718 loadDesktopShellWithApps();
1718 loadDesktopShellWithApps();
1720 var appRepeater = findChild(shell, "appRepeater")
1720 var appRepeater = findChild(shell, "appRepeater")
@@ -1739,7 +1739,7 @@ Rectangle {
1741 // bug http://pad.lv/1431566
1741 // bug http://pad.lv/1431566
1742− function test_switchToStagedHidesPanelButtons() {
1742+ function atest_switchToStagedHidesPanelButtons() {
1743 loadDesktopShellWithApps();
1743 loadDesktopShellWithApps();
1744 var appRepeater = findChild(shell, "appRepeater")
1744 var appRepeater = findChild(shell, "appRepeater")
1745 var appId = ApplicationManager.get(0).appId;
1745 var appId = ApplicationManager.get(0).appId;
@@ -1761,7 +1761,7 @@ Rectangle {
1761 tryCompare(panelButtons, "visible", true);
1761 tryCompare(panelButtons, "visible", true);
1764− function test_lockingGreeterHidesPanelButtons() {
1764+ function atest_lockingGreeterHidesPanelButtons() {
1765 loadDesktopShellWithApps();
1765 loadDesktopShellWithApps();
1766 var appRepeater = findChild(shell, "appRepeater")
1766 var appRepeater = findChild(shell, "appRepeater")
1767 var appId = ApplicationManager.get(0).appId;
1767 var appId = ApplicationManager.get(0).appId;
@@ -1799,6 +1799,7 @@ Rectangle {
1799 var app2 = ApplicationManager.startApplication("dialer-app");
1799 var app2 = ApplicationManager.startApplication("dialer-app");
1800 waitUntilAppWindowIsFullyLoaded(app2);
1800 waitUntilAppWindowIsFullyLoaded(app2);
1802+ compare(app1.session.surface.activeFocus, false);
1802 compare(app1.isTouchApp, false); // sanity check our mock, which sets this for us
1803 compare(app1.isTouchApp, false); // sanity check our mock, which sets this for us
1803 compare(app1.requestedState, ApplicationInfoInterface.RequestedRunning);
1804 compare(app1.requestedState, ApplicationInfoInterface.RequestedRunning);
@@ -1821,6 +1822,7 @@ Rectangle {
1821 var app2 = ApplicationManager.startApplication("dialer-app");
1822 var app2 = ApplicationManager.startApplication("dialer-app");
1822 waitUntilAppWindowIsFullyLoaded(app2);
1823 waitUntilAppWindowIsFullyLoaded(app2);
1825+ compare(app1.session.surface.activeFocus, false);
1824 compare(app1.requestedState, ApplicationInfoInterface.RequestedRunning);
1826 compare(app1.requestedState, ApplicationInfoInterface.RequestedRunning);