Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowAccountManagerTest.java307 Account account1 = new Account("unknown", "type"); in testBlockingGetAuthToken() local
308 assertThat(am.blockingGetAuthToken(account1, "token_type_1", false)).isNull(); in testBlockingGetAuthToken()
452 Account account1 = new Account("name", "type1"); in invalidateAuthToken_noToken() local
453 shadowOf(am).addAccount(account1); in invalidateAuthToken_noToken()
459 Account account1 = new Account("name", "type1"); in invalidateAuthToken_multipleAccounts() local
460 shadowOf(am).addAccount(account1); in invalidateAuthToken_multipleAccounts()
465 am.setAuthToken(account1, "token_type_1", "token1"); in invalidateAuthToken_multipleAccounts()
468 assertThat(am.peekAuthToken(account1, "token_type_1")).isEqualTo("token1"); in invalidateAuthToken_multipleAccounts()
473 assertThat(am.peekAuthToken(account1, "token_type_1")).isNull(); in invalidateAuthToken_multipleAccounts()
478 assertThat(am.peekAuthToken(account1, "token_type_1")).isNull(); in invalidateAuthToken_multipleAccounts()