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.java97 private static MockAccountAuthenticator mockAuthenticator; field in AccountManagerTest
102 if (null == mockAuthenticator) { in getMockAuthenticator()
103 mockAuthenticator = new MockAccountAuthenticator(context); in getMockAuthenticator()
105 return mockAuthenticator; in getMockAuthenticator()
133 mockAuthenticator.clearData(); in tearDown()
151 mockAuthenticator.clearData(); in tearDown()
171 assertTrue(mockAuthenticator.isRecentlyCalled()); in validateSuccessfulTokenFetchingLifecycle()
183 assertEquals(isCachingExpected, !mockAuthenticator.isRecentlyCalled()); in validateSuccessfulTokenFetchingLifecycle()
188 Thread.sleep(mockAuthenticator.getTokenDurationMillis() + 1L); in validateSuccessfulTokenFetchingLifecycle()
199 assertEquals(isCachingExpected, !mockAuthenticator.isRecentlyCalled()); in validateSuccessfulTokenFetchingLifecycle()
[all …]