コード例 #1
0
  private void finishAuthWithTestAccount(TestAccount testAccount) {
    testAccountId = testAccount.getId();

    AccessToken accessToken =
        AccessToken.createFromString(
            testAccount.getAccessToken(), requestedPermissions, AccessTokenSource.TEST_USER);
    finishAuthOrReauth(accessToken, null);
  }
コード例 #2
0
 private static synchronized void storeTestAccount(TestAccount testAccount) {
   appTestAccounts.put(testAccount.getId(), testAccount);
 }