on xenial help sign in
Fix test killApps method
4a1024dGerry Boland
tests/qmltests/tst_Shell.qml+2−2
@@ -66,7 +66,7 @@ Item {
66 }
66 }
67
67
68 // kill all (fake) running apps
68 // kill all (fake) running apps
69− killApps(ApplicationManager.applications);
69+ killApps(ApplicationManager);
70
70
71 var dashHome = findChild(shell, "DashHome");
71 var dashHome = findChild(shell, "DashHome");
72 swipeUntilScopeViewIsReached(dashHome);
72 swipeUntilScopeViewIsReached(dashHome);
@@ -75,7 +75,7 @@ Item {
75 function killApps(apps) {
75 function killApps(apps) {
76 if (!apps) return;
76 if (!apps) return;
77 while (apps.count > 0) {
77 while (apps.count > 0) {
78− ApplicationManager.stopApplication(apps.get(0));
78+ ApplicationManager.stopApplication(apps.get(0).appId);
79 }
79 }
80 }
80 }
81
81