fix tryCompare in tst_Shell
commit21f4a8767cfad6482e90441d8c30fe8583533bbb
authorMichael Zanetti <michael.zanetti@canonical.com>
dateWed 2 Apr 2014, 17:59 (13 years ago)
parentd25dde7
tests/qmltests/tst_Shell.qml+1−1
@@ -192,7 +192,7 @@ Item {
192192 verify(mainAppId != "");
193193 var mainApp = ApplicationManager.findApplication(mainAppId);
194194 verify(mainApp);
195− tryCompare(mainApp.state, ApplicationInfo.Running);
195+ tryCompare(mainApp, "state", ApplicationInfo.Running);
196196
197197 // Try to suspend while proximity is engaged...
198198 Powerd.displayPowerStateChange(Powerd.Off, Powerd.UseProximity);