Loading packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/CentralSurfacesImplTest.java +8 −0 Original line number Diff line number Diff line Loading @@ -224,6 +224,7 @@ import dagger.Lazy; import kotlinx.coroutines.test.TestScope; import org.junit.Before; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.ArgumentCaptor; Loading Loading @@ -701,6 +702,7 @@ public class CentralSurfacesImplTest extends SysuiTestCase { } @Test @Ignore("b/427066068") public void lockscreenStateMetrics_notShowing_secure() { // uninteresting state, except that fingerprint must be non-zero when(mKeyguardStateController.isOccluded()).thenReturn(false); Loading Loading @@ -983,6 +985,7 @@ public class CentralSurfacesImplTest extends SysuiTestCase { } @Test @Ignore("b/427066068") public void testShowKeyguardImplementation_setsState() { when(mLockscreenUserManager.getCurrentProfiles()).thenReturn(new SparseArray<>()); Loading Loading @@ -1133,6 +1136,7 @@ public class CentralSurfacesImplTest extends SysuiTestCase { } @Test @Ignore("b/416718983") public void testKeyguardHideDelayedIfOcclusionAnimationRunning() { // Show the keyguard and verify we've done so. setKeyguardShowingAndOccluded(true /* showing */, false /* occluded */); Loading @@ -1152,6 +1156,7 @@ public class CentralSurfacesImplTest extends SysuiTestCase { } @Test @Ignore("b/416718983") public void testKeyguardHideNotDelayedIfOcclusionAnimationNotRunning() { // Show the keyguard and verify we've done so. setKeyguardShowingAndOccluded(true /* showing */, false /* occluded */); Loading Loading @@ -1242,6 +1247,7 @@ public class CentralSurfacesImplTest extends SysuiTestCase { @Test @DisableFlags(FLAG_KEYBOARD_SHORTCUT_HELPER_REWRITE) @Ignore("b/427066068") public void dismissKeyboardShortcuts_largeScreen_newFlagsDisabled_dismissesTabletVersion() { switchToLargeScreen(); mFeatureFlags.set(SHORTCUT_LIST_SEARCH_LAYOUT, true); Loading Loading @@ -1292,6 +1298,7 @@ public class CentralSurfacesImplTest extends SysuiTestCase { @Test @DisableFlags(FLAG_KEYBOARD_SHORTCUT_HELPER_REWRITE) @Ignore("b/427066068") public void dismissKeyboardShortcuts_smallScreen_bothFlagsDisabled_dismissesPhoneVersion() { switchToSmallScreen(); mFeatureFlags.set(SHORTCUT_LIST_SEARCH_LAYOUT, false); Loading @@ -1305,6 +1312,7 @@ public class CentralSurfacesImplTest extends SysuiTestCase { @Test @EnableFlags(FLAG_KEYBOARD_SHORTCUT_HELPER_REWRITE) @Ignore("b/427066068") public void toggleKeyboardShortcuts_largeScreen_bothFlagsEnabled_doesNotTogglesAny() { switchToLargeScreen(); mFeatureFlags.set(SHORTCUT_LIST_SEARCH_LAYOUT, true); Loading Loading
packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/CentralSurfacesImplTest.java +8 −0 Original line number Diff line number Diff line Loading @@ -224,6 +224,7 @@ import dagger.Lazy; import kotlinx.coroutines.test.TestScope; import org.junit.Before; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.ArgumentCaptor; Loading Loading @@ -701,6 +702,7 @@ public class CentralSurfacesImplTest extends SysuiTestCase { } @Test @Ignore("b/427066068") public void lockscreenStateMetrics_notShowing_secure() { // uninteresting state, except that fingerprint must be non-zero when(mKeyguardStateController.isOccluded()).thenReturn(false); Loading Loading @@ -983,6 +985,7 @@ public class CentralSurfacesImplTest extends SysuiTestCase { } @Test @Ignore("b/427066068") public void testShowKeyguardImplementation_setsState() { when(mLockscreenUserManager.getCurrentProfiles()).thenReturn(new SparseArray<>()); Loading Loading @@ -1133,6 +1136,7 @@ public class CentralSurfacesImplTest extends SysuiTestCase { } @Test @Ignore("b/416718983") public void testKeyguardHideDelayedIfOcclusionAnimationRunning() { // Show the keyguard and verify we've done so. setKeyguardShowingAndOccluded(true /* showing */, false /* occluded */); Loading @@ -1152,6 +1156,7 @@ public class CentralSurfacesImplTest extends SysuiTestCase { } @Test @Ignore("b/416718983") public void testKeyguardHideNotDelayedIfOcclusionAnimationNotRunning() { // Show the keyguard and verify we've done so. setKeyguardShowingAndOccluded(true /* showing */, false /* occluded */); Loading Loading @@ -1242,6 +1247,7 @@ public class CentralSurfacesImplTest extends SysuiTestCase { @Test @DisableFlags(FLAG_KEYBOARD_SHORTCUT_HELPER_REWRITE) @Ignore("b/427066068") public void dismissKeyboardShortcuts_largeScreen_newFlagsDisabled_dismissesTabletVersion() { switchToLargeScreen(); mFeatureFlags.set(SHORTCUT_LIST_SEARCH_LAYOUT, true); Loading Loading @@ -1292,6 +1298,7 @@ public class CentralSurfacesImplTest extends SysuiTestCase { @Test @DisableFlags(FLAG_KEYBOARD_SHORTCUT_HELPER_REWRITE) @Ignore("b/427066068") public void dismissKeyboardShortcuts_smallScreen_bothFlagsDisabled_dismissesPhoneVersion() { switchToSmallScreen(); mFeatureFlags.set(SHORTCUT_LIST_SEARCH_LAYOUT, false); Loading @@ -1305,6 +1312,7 @@ public class CentralSurfacesImplTest extends SysuiTestCase { @Test @EnableFlags(FLAG_KEYBOARD_SHORTCUT_HELPER_REWRITE) @Ignore("b/427066068") public void toggleKeyboardShortcuts_largeScreen_bothFlagsEnabled_doesNotTogglesAny() { switchToLargeScreen(); mFeatureFlags.set(SHORTCUT_LIST_SEARCH_LAYOUT, true); Loading