Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2739848e authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "[flexiglass] Re-enable CentralSurfacesImplTests" into main

parents c932ac73 933a1b0b
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -226,7 +226,6 @@ 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;
@@ -712,7 +711,6 @@ 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);
@@ -995,7 +993,8 @@ public class CentralSurfacesImplTest extends SysuiTestCase {
    }

    @Test
    @Ignore("b/427066068")
    // When the scene container is enabled, StatusBarStateController.setState() is no longer needed.
    @DisableSceneContainer
    public void testShowKeyguardImplementation_setsState() {
        when(mLockscreenUserManager.getCurrentProfiles()).thenReturn(new SparseArray<>());

@@ -1259,7 +1258,6 @@ 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);
@@ -1310,7 +1308,6 @@ 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);
@@ -1324,7 +1321,6 @@ 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);