Lines Matching defs:account
52 * Add an account to our list of test accounts; we'll delete it automatically in tearDown()
53 * @param account the account to be added to our list of test accounts
55 protected void addTestAccount(Account account) {
56 if (account.mId > 0) {
57 mCreatedAccountIds.add(account.mId);
62 * Create a test account that will be automatically deleted when the test is finished
63 * @param name the name of the account
64 * @param saveIt whether or not to save the account in EmailProvider
65 * @return the account created
68 Account account = EmailContentSetupUtils.setupAccount(name, saveIt, mProviderContext);
69 addTestAccount(account);
70 return account;