Loading packages/SystemUI/multivalentTests/src/com/android/systemui/accessibility/keygesture/ui/KeyGestureDialogStartableTest.kt +8 −1 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ package com.android.systemui.accessibility.keygesture.ui import android.hardware.input.KeyGestureEvent import android.platform.test.annotations.DisableFlags import android.platform.test.annotations.EnableFlags import android.view.Display.DEFAULT_DISPLAY import androidx.test.annotation.UiThreadTest Loading Loading @@ -80,8 +81,10 @@ class KeyGestureDialogStartableTest : SysuiTestCase() { fun tearDown() { // If we show the dialog, we must dismiss the dialog at the end of the test on the main // thread. if (::underTest.isInitialized) { underTest.currentDialog?.dismiss() } } @Test fun start_doesNotShowDialogByDefault() = Loading @@ -93,6 +96,8 @@ class KeyGestureDialogStartableTest : SysuiTestCase() { } @Test @Ignore("b/425722546 - we have one in review CL ag/35510953 for fixing the crash") @DisableFlags(Flags.FLAG_ENABLE_MAGNIFY_MAGNIFICATION_KEY_GESTURE_DIALOG) fun start_onMagnificationInfoFlowCollected_showDialog() = testScope.runTest { underTest.start() Loading @@ -114,6 +119,8 @@ class KeyGestureDialogStartableTest : SysuiTestCase() { } @Test @Ignore("b/425722546 - we have one in review CL ag/35510953 for fixing the crash") @DisableFlags(Flags.FLAG_ENABLE_MAGNIFY_MAGNIFICATION_KEY_GESTURE_DIALOG) fun start_onMagnificationInfoFlowCollected_dialogShowing_ignoreAdditionalFlows() = testScope.runTest { underTest.start() Loading Loading
packages/SystemUI/multivalentTests/src/com/android/systemui/accessibility/keygesture/ui/KeyGestureDialogStartableTest.kt +8 −1 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ package com.android.systemui.accessibility.keygesture.ui import android.hardware.input.KeyGestureEvent import android.platform.test.annotations.DisableFlags import android.platform.test.annotations.EnableFlags import android.view.Display.DEFAULT_DISPLAY import androidx.test.annotation.UiThreadTest Loading Loading @@ -80,8 +81,10 @@ class KeyGestureDialogStartableTest : SysuiTestCase() { fun tearDown() { // If we show the dialog, we must dismiss the dialog at the end of the test on the main // thread. if (::underTest.isInitialized) { underTest.currentDialog?.dismiss() } } @Test fun start_doesNotShowDialogByDefault() = Loading @@ -93,6 +96,8 @@ class KeyGestureDialogStartableTest : SysuiTestCase() { } @Test @Ignore("b/425722546 - we have one in review CL ag/35510953 for fixing the crash") @DisableFlags(Flags.FLAG_ENABLE_MAGNIFY_MAGNIFICATION_KEY_GESTURE_DIALOG) fun start_onMagnificationInfoFlowCollected_showDialog() = testScope.runTest { underTest.start() Loading @@ -114,6 +119,8 @@ class KeyGestureDialogStartableTest : SysuiTestCase() { } @Test @Ignore("b/425722546 - we have one in review CL ag/35510953 for fixing the crash") @DisableFlags(Flags.FLAG_ENABLE_MAGNIFY_MAGNIFICATION_KEY_GESTURE_DIALOG) fun start_onMagnificationInfoFlowCollected_dialogShowing_ignoreAdditionalFlows() = testScope.runTest { underTest.start() Loading