Home
last modified time | relevance | path

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

/packages/apps/Exchange/tests/src/com/android/exchange/provider/
DMailboxUtilitiesTests.java74 Mailbox box2 = EmailContentSetupUtils.setupMailbox("box2", mAccount.mId, true, in testSetupParentKeyAndFlag() local
93 box2 = Mailbox.restoreMailboxWithId(mProviderContext, box2.mId); in testSetupParentKeyAndFlag()
103 assertEquals(Mailbox.FLAG_HOLDS_MAIL, box2.mFlags); in testSetupParentKeyAndFlag()
104 assertEquals(box1.mId, box2.mParentKey); in testSetupParentKeyAndFlag()
136 Mailbox box2 = EmailContentSetupUtils.setupMailbox( in testParentKeyAddFolder1() local
145 box2 = Mailbox.restoreMailboxWithId(mProviderContext, box2.mId); in testParentKeyAddFolder1()
151 assertEquals(CHILD_FLAGS, box2.mFlags); in testParentKeyAddFolder1()
152 assertEquals(box1.mId, box2.mParentKey); in testParentKeyAddFolder1()
163 box2 = Mailbox.restoreMailboxWithId(mProviderContext, box2.mId); in testParentKeyAddFolder1()
170 assertEquals(CHILD_FLAGS, box2.mFlags); in testParentKeyAddFolder1()
[all …]
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/
DMailboxUtilitiesTests.java74 Mailbox box2 = EmailContentSetupUtils.setupMailbox("box2", mAccount.mId, true, in testSetupParentKeyAndFlag() local
93 box2 = Mailbox.restoreMailboxWithId(mProviderContext, box2.mId); in testSetupParentKeyAndFlag()
103 assertEquals(Mailbox.FLAG_HOLDS_MAIL, box2.mFlags); in testSetupParentKeyAndFlag()
104 assertEquals(box1.mId, box2.mParentKey); in testSetupParentKeyAndFlag()
136 Mailbox box2 = EmailContentSetupUtils.setupMailbox( in testParentKeyAddFolder1() local
145 box2 = Mailbox.restoreMailboxWithId(mProviderContext, box2.mId); in testParentKeyAddFolder1()
151 assertEquals(CHILD_FLAGS, box2.mFlags); in testParentKeyAddFolder1()
152 assertEquals(box1.mId, box2.mParentKey); in testParentKeyAddFolder1()
163 box2 = Mailbox.restoreMailboxWithId(mProviderContext, box2.mId); in testParentKeyAddFolder1()
170 assertEquals(CHILD_FLAGS, box2.mFlags); in testParentKeyAddFolder1()
[all …]
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/
DExchangeServiceAccountTests.java53 Mailbox box2 = EmailContentSetupUtils.setupMailbox("box2", acct1.mId, true, in testReleaseSyncHolds() local
64 errorMap.put(box2.mId, ioError); in testReleaseSyncHolds()
75 assertNotNull(errorMap.get(box2.mId)); in testReleaseSyncHolds()
89 assertNotNull(errorMap.get(box2.mId)); in testReleaseSyncHolds()
108 Mailbox box2 = EmailContentSetupUtils.setupMailbox("box2", acct1.mId, true, in testIsSyncable() local
117 assertFalse(ExchangeService.isSyncable(box2)); in testIsSyncable()
/packages/apps/Exchange/tests/src/com/android/exchange/
DExchangeServiceAccountTests.java53 Mailbox box2 = EmailContentSetupUtils.setupMailbox("box2", acct1.mId, true, in testReleaseSyncHolds() local
64 errorMap.put(box2.mId, ioError); in testReleaseSyncHolds()
75 assertNotNull(errorMap.get(box2.mId)); in testReleaseSyncHolds()
89 assertNotNull(errorMap.get(box2.mId)); in testReleaseSyncHolds()
108 Mailbox box2 = EmailContentSetupUtils.setupMailbox("box2", acct1.mId, true, in testIsSyncable() local
117 assertFalse(ExchangeService.isSyncable(box2)); in testIsSyncable()
/packages/apps/Email/tests/src/com/android/email/
DControllerProviderOpsTests.java185 Mailbox box2 = ProviderTestUtils.setupMailbox("box2", account1Id, true, mProviderContext); in testMoveMessage() local
186 long box2Id = box2.mId; in testMoveMessage()
399 Mailbox box2 = ProviderTestUtils.setupMailbox("box2", account1Id, true, mProviderContext); in testWipeSyncedData() local
400 long box2Id = box2.mId; in testWipeSyncedData()
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/
DFolderSyncParserTests.java153 Mailbox box2 = setupBoxSync(Account.CHECK_INTERVAL_NEVER, SyncWindow.SYNC_WINDOW_UNKNOWN, in testSaveAndRestoreMailboxSyncOptions() local
184 box2.mServerId); in testSaveAndRestoreMailboxSyncOptions()
207 assertTrue(syncOptionsSame(box2, box2x)); in testSaveAndRestoreMailboxSyncOptions()
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/
DFolderSyncParserTests.java153 Mailbox box2 = setupBoxSync(Account.CHECK_INTERVAL_NEVER, SyncWindow.SYNC_WINDOW_UNKNOWN, in testSaveAndRestoreMailboxSyncOptions() local
184 box2.mServerId); in testSaveAndRestoreMailboxSyncOptions()
207 assertTrue(syncOptionsSame(box2, box2x)); in testSaveAndRestoreMailboxSyncOptions()
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DMailboxTests.java102 Mailbox box2 = Mailbox.restoreMailboxWithId(c, box1Id); in testSave() local
104 ProviderTestUtils.assertMailboxEqual("testMailboxSave", box1, box2); in testSave()
117 Mailbox box2 = ProviderTestUtils.setupMailbox("box2", account1Id, true, c); in testDelete() local
118 long box2Id = box2.mId; in testDelete()