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.java122 private static MockAccountAuthenticator mockAuthenticator; field in AccountManagerTest
127 if (null == mockAuthenticator) { in getMockAuthenticator()
128 mockAuthenticator = new MockAccountAuthenticator(context); in getMockAuthenticator()
130 return mockAuthenticator; in getMockAuthenticator()
174 mockAuthenticator.clearData(); in tearDown()
192 mockAuthenticator.clearData(); in tearDown()
212 assertTrue(mockAuthenticator.isRecentlyCalled()); in validateSuccessfulTokenFetchingLifecycle()
224 assertEquals(isCachingExpected, !mockAuthenticator.isRecentlyCalled()); in validateSuccessfulTokenFetchingLifecycle()
229 Thread.sleep(mockAuthenticator.getTokenDurationMillis() + 50L); in validateSuccessfulTokenFetchingLifecycle()
240 assertEquals(isCachingExpected, !mockAuthenticator.isRecentlyCalled()); in validateSuccessfulTokenFetchingLifecycle()
[all …]