Merge "Fix test flake in sysui test suite." into udc-dev
This commit is contained in:
@@ -187,9 +187,7 @@ public class KeyguardAbsKeyInputViewControllerTest extends SysuiTestCase {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testLockedOut_verifyPasswordAndUnlock_doesNotEnableViewInput() {
|
public void testLockedOut_verifyPasswordAndUnlock_doesNotEnableViewInput() {
|
||||||
mKeyguardAbsKeyInputViewController.handleAttemptLockout(
|
mKeyguardAbsKeyInputViewController.handleAttemptLockout(SystemClock.elapsedRealtime());
|
||||||
SystemClock.elapsedRealtime() + 1000);
|
|
||||||
mKeyguardAbsKeyInputViewController.verifyPasswordAndUnlock();
|
|
||||||
verify(mAbsKeyInputView).setPasswordEntryInputEnabled(false);
|
verify(mAbsKeyInputView).setPasswordEntryInputEnabled(false);
|
||||||
verify(mAbsKeyInputView).setPasswordEntryEnabled(false);
|
verify(mAbsKeyInputView).setPasswordEntryEnabled(false);
|
||||||
verify(mAbsKeyInputView, never()).setPasswordEntryInputEnabled(true);
|
verify(mAbsKeyInputView, never()).setPasswordEntryInputEnabled(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user