Home
last modified time | relevance | path

Searched refs:mockAuthenticator (Results 1 – 1 of 1) sorted by relevance

/cts/tests/tests/accounts/src/android/accounts/cts/
DAccountManagerTest.java101 private static MockAccountAuthenticator mockAuthenticator; field in AccountManagerTest
106 if (null == mockAuthenticator) { in getMockAuthenticator()
107 mockAuthenticator = new MockAccountAuthenticator(context); in getMockAuthenticator()
109 return mockAuthenticator; in getMockAuthenticator()
137 mockAuthenticator.clearData(); in tearDown()
155 mockAuthenticator.clearData(); in tearDown()
175 assertTrue(mockAuthenticator.isRecentlyCalled()); in validateSuccessfulTokenFetchingLifecycle()
187 assertEquals(isCachingExpected, !mockAuthenticator.isRecentlyCalled()); in validateSuccessfulTokenFetchingLifecycle()
192 Thread.sleep(mockAuthenticator.getTokenDurationMillis() + 1L); in validateSuccessfulTokenFetchingLifecycle()
203 assertEquals(isCachingExpected, !mockAuthenticator.isRecentlyCalled()); in validateSuccessfulTokenFetchingLifecycle()
[all …]