Home
last modified time | relevance | path

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

/packages/apps/Email/tests/src/com/android/email/mail/
DStoreTests.java64 Account testAccount = ProviderTestUtils.setupAccount("pop", false, mMockContext); in testGetInstance() local
66 testAccount.mHostAuthRecv = testAuth; in testGetInstance()
69 testAccount.save(mMockContext); in testGetInstance()
71 testStore = Store.getInstance(testAccount, getContext()); in testGetInstance()
73 assertSame(testStore, Store.sStores.get(testAccount.mId)); in testGetInstance()
77 testAccount = ProviderTestUtils.setupAccount("pop", false, mMockContext); in testGetInstance()
79 testAccount.mHostAuthRecv = testAuth; in testGetInstance()
82 testAccount.save(mMockContext); in testGetInstance()
83 testStore = Store.getInstance(testAccount, getContext()); in testGetInstance()
85 assertSame(testStore, Store.sStores.get(testAccount.mId)); in testGetInstance()
[all …]
/packages/apps/Email/tests/src/com/android/email/mail/store/
DImapStoreUnitTests.java154 Account testAccount = new Account(); in setUp() local
158 testAccount.mHostAuthRecv = testAuth; in setUp()
159 mStore = (ImapStore) ImapStore.newInstance(testAccount, mTestContext); in setUp()
347 Account testAccount; in testImapIdDeviceId() local
353 testAccount = new Account(); in testImapIdDeviceId()
354 testAccount.mHostAuthRecv = testAuth; in testImapIdDeviceId()
355 ImapStore testStore1A = (ImapStore) ImapStore.newInstance(testAccount, mTestContext); in testImapIdDeviceId()
361 testAccount = new Account(); in testImapIdDeviceId()
362 testAccount.mHostAuthRecv = testAuth; in testImapIdDeviceId()
363 ImapStore testStore1B = (ImapStore) ImapStore.newInstance(testAccount, mTestContext); in testImapIdDeviceId()
[all …]
DPop3StoreUnitTests.java73 Account testAccount = ProviderTestUtils.setupAccount("acct1", false, mMockContext); in setUp() local
77 testAccount.mHostAuthRecv = mHostAuth; in setUp()
78 testAccount.save(mMockContext); in setUp()
79 mStore = (Pop3Store) Pop3Store.newInstance(testAccount, mMockContext); in setUp()
/packages/apps/Email/tests/src/com/android/email/mail/transport/
DSmtpSenderUnitTests.java73 Account testAccount = new Account(); in setUp() local
77 testAccount.mHostAuthSend = mHostAuth; in setUp()
78 mSender = (SmtpSender) SmtpSender.newInstance(testAccount, mProviderContext); in setUp()