Loading packages/SystemUI/multivalentTests/src/com/android/systemui/scene/SceneFrameworkIntegrationTest.kt +11 −1 Original line number Diff line number Diff line Loading @@ -327,6 +327,16 @@ class SceneFrameworkIntegrationTest : SysuiTestCase() { assertCurrentScene(Scenes.Lockscreen) } @Test fun lockDeviceLocksDevice() = testScope.runTest { unlockDevice() assertCurrentScene(Scenes.Gone) lockDevice() assertCurrentScene(Scenes.Lockscreen) } @Test fun deviceGoesToSleep_switchesToLockscreen() = testScope.runTest { Loading Loading @@ -616,7 +626,7 @@ class SceneFrameworkIntegrationTest : SysuiTestCase() { assertWithMessage("The authentication method of $authMethod is not secure, cannot lock!") .that(authMethod.isSecure) .isTrue() kosmos.sceneInteractor.changeScene(Scenes.Lockscreen, "") runCurrent() } Loading Loading
packages/SystemUI/multivalentTests/src/com/android/systemui/scene/SceneFrameworkIntegrationTest.kt +11 −1 Original line number Diff line number Diff line Loading @@ -327,6 +327,16 @@ class SceneFrameworkIntegrationTest : SysuiTestCase() { assertCurrentScene(Scenes.Lockscreen) } @Test fun lockDeviceLocksDevice() = testScope.runTest { unlockDevice() assertCurrentScene(Scenes.Gone) lockDevice() assertCurrentScene(Scenes.Lockscreen) } @Test fun deviceGoesToSleep_switchesToLockscreen() = testScope.runTest { Loading Loading @@ -616,7 +626,7 @@ class SceneFrameworkIntegrationTest : SysuiTestCase() { assertWithMessage("The authentication method of $authMethod is not secure, cannot lock!") .that(authMethod.isSecure) .isTrue() kosmos.sceneInteractor.changeScene(Scenes.Lockscreen, "") runCurrent() } Loading