Merge changes from topic "presubmit-am-d05e9dc23fa04dc3b45b8fa33d154783-sc-dev" into sc-mainline-prod
* changes:
[automerge] [DO NOT MERGE] Ignore flaky tests 2p: 5c85eadaa8
[DO NOT MERGE] Ignore flaky tests
This commit is contained in:
@@ -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;
|
||||
@@ -129,6 +130,7 @@ public class KeyguardViewMediatorTest extends SysuiTestCase {
|
||||
mViewMediator.onSystemReady();
|
||||
}
|
||||
|
||||
@Ignore("flaky, b/223385977")
|
||||
@Test
|
||||
public void testOnGoingToSleep_UpdatesKeyguardGoingAway() {
|
||||
mViewMediator.onStartedGoingToSleep(OFF_BECAUSE_OF_USER);
|
||||
@@ -136,12 +138,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();
|
||||
|
||||
Reference in New Issue
Block a user