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

Commit ce5e3337 authored by Matt Pietal's avatar Matt Pietal Committed by Presubmit Automerger Backend
Browse files

[automerge] [DO NOT MERGE] Ignore flaky tests 2p: 5c85eada

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17159706

Change-Id: Ia0867ce4a3efe2dfa89c606ccf0a2544ac9be097
parents eaa20335 5c85eada
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -61,6 +61,7 @@ import com.android.systemui.util.concurrency.FakeExecutor;
import com.android.systemui.util.time.FakeSystemClock;

import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
@@ -128,6 +129,7 @@ public class KeyguardViewMediatorTest extends SysuiTestCase {
        mViewMediator.start();
    }

    @Ignore("flaky, b/223385977")
    @Test
    public void testOnGoingToSleep_UpdatesKeyguardGoingAway() {
        mViewMediator.onStartedGoingToSleep(OFF_BECAUSE_OF_USER);
@@ -135,12 +137,14 @@ public class KeyguardViewMediatorTest extends SysuiTestCase {
        verify(mStatusBarKeyguardViewManager, never()).setKeyguardGoingAwayState(anyBoolean());
    }

    @Ignore("flaky, b/223385977")
    @Test
    public void testRegisterDumpable() {
        verify(mDumpManager).registerDumpable(KeyguardViewMediator.class.getName(), mViewMediator);
        verify(mStatusBarKeyguardViewManager, never()).setKeyguardGoingAwayState(anyBoolean());
    }

    @Ignore("flaky, b/223385977")
    @Test
    public void testKeyguardGone_notGoingaway() {
        mViewMediator.mViewMediatorCallback.keyguardGone();