on xenial help sign in
Fix tests
e46cb95Michael Terry
tests/qmltests/tst_Shell.qml+2−2
@@ -1868,7 +1868,7 @@ Rectangle {
1868 compare(app1.stage, ApplicationInfoInterface.MainStage);
1868 compare(app1.stage, ApplicationInfoInterface.MainStage);
1869 compare(app2.stage, ApplicationInfoInterface.MainStage);
1869 compare(app2.stage, ApplicationInfoInterface.MainStage);
1870 verify(!app1.isTouchApp);
1870 verify(!app1.isTouchApp);
1871− verify(!app1.session.surface.activeFocus);
1871+ verify(!app1.session.lastSurface.activeFocus);
1872
1872
1873 // Make sure app1 is exempt with a requested suspend
1873 // Make sure app1 is exempt with a requested suspend
1874 verify(app1.exemptFromLifecycle);
1874 verify(app1.exemptFromLifecycle);
@@ -1897,7 +1897,7 @@ Rectangle {
1897 // Sanity checking
1897 // Sanity checking
1898 compare(app1.stage, ApplicationInfoInterface.MainStage);
1898 compare(app1.stage, ApplicationInfoInterface.MainStage);
1899 compare(app2.stage, ApplicationInfoInterface.MainStage);
1899 compare(app2.stage, ApplicationInfoInterface.MainStage);
1900− verify(!app1.session.surface.activeFocus);
1900+ verify(!app1.session.lastSurface.activeFocus);
1901
1901
1902 // Make sure app1 is exempt with a requested suspend
1902 // Make sure app1 is exempt with a requested suspend
1903 verify(app1.exemptFromLifecycle);
1903 verify(app1.exemptFromLifecycle);