HomeSort by relevance Sort by last modified time
    Searched refs:testMailbox (Results 1 - 2 of 2) sorted by null

  /packages/apps/Email/tests/src/com/android/email/mail/
StoreTests.java 102 Mailbox testMailbox = new Mailbox();
104 Store.updateMailbox(testMailbox, 1L, "inbox", '/', true, Mailbox.TYPE_MAIL);
105 assertEquals(1L, testMailbox.mAccountKey);
106 assertEquals("inbox", testMailbox.mDisplayName);
107 assertEquals("inbox", testMailbox.mServerId);
108 assertEquals('/', testMailbox.mDelimiter);
110 Store.updateMailbox(testMailbox, 2L, "inbox/a", '/', true, Mailbox.TYPE_MAIL);
111 assertEquals(2L, testMailbox.mAccountKey);
112 assertEquals("a", testMailbox.mDisplayName);
113 assertEquals("inbox/a", testMailbox.mServerId)
    [all...]
  /packages/apps/Email/tests/src/com/android/emailcommon/provider/
MailboxTests.java 221 Mailbox testMailbox;
223 testMailbox = ProviderTestUtils.setupMailbox("box1", 1, true, c, Mailbox.TYPE_MAIL);
225 "x", testMailbox, Mailbox.restoreMailboxWithId(c, testMailbox.mId));
226 testMailbox = ProviderTestUtils.setupMailbox("box2", 1, true, c, Mailbox.TYPE_MAIL);
228 "x", testMailbox, Mailbox.restoreMailboxWithId(c, testMailbox.mId));
237 Mailbox testMailbox;
238 testMailbox = ProviderTestUtils.setupMailbox("a/b/c/box", 1, true, c, Mailbox.TYPE_MAIL);
240 "x", testMailbox, Mailbox.restoreMailboxForPath(c, 1, "a/b/c/box"))
    [all...]

Completed in 845 milliseconds