OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:testMailbox
(Results
1 - 4
of
4
) sorted by null
/packages/apps/Email/tests/src/com/android/email/mail/
StoreTests.java
97
Mailbox
testMailbox
= new Mailbox();
99
Store.updateMailbox(
testMailbox
, 1L, "inbox", '/', true, Mailbox.TYPE_MAIL);
100
assertEquals(1L,
testMailbox
.mAccountKey);
101
assertEquals("inbox",
testMailbox
.mDisplayName);
102
assertEquals("inbox",
testMailbox
.mServerId);
103
assertEquals('/',
testMailbox
.mDelimiter);
105
Store.updateMailbox(
testMailbox
, 2L, "inbox/a", '/', true, Mailbox.TYPE_MAIL);
106
assertEquals(2L,
testMailbox
.mAccountKey);
107
assertEquals("a",
testMailbox
.mDisplayName);
108
assertEquals("inbox/a",
testMailbox
.mServerId)
[
all
...]
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
MailboxTests.java
219
Mailbox
testMailbox
;
221
testMailbox
= ProviderTestUtils.setupMailbox("box1", 1, true, c, Mailbox.TYPE_MAIL);
223
"x",
testMailbox
, Mailbox.restoreMailboxWithId(c,
testMailbox
.mId));
224
testMailbox
= ProviderTestUtils.setupMailbox("box2", 1, true, c, Mailbox.TYPE_MAIL);
226
"x",
testMailbox
, Mailbox.restoreMailboxWithId(c,
testMailbox
.mId));
235
Mailbox
testMailbox
;
236
testMailbox
= ProviderTestUtils.setupMailbox("a/b/c/box", 1, true, c, Mailbox.TYPE_MAIL);
238
"x",
testMailbox
, Mailbox.restoreMailboxForPath(c, 1, "a/b/c/box"))
[
all
...]
/packages/apps/Email/tests/src/com/android/email/
ControllerProviderOpsTests.java
120
Mailbox
testMailbox
;
126
testMailbox
= Mailbox.restoreMailboxWithId(mProviderContext, testMailboxId);
127
assertNotNull(
testMailbox
);
128
assertEquals(8,
testMailbox
.mFlags); // Flags should be "holds mail"
129
assertEquals(-1L,
testMailbox
.mParentKey); // Parent is off the top-level
135
testMailbox
= Mailbox.restoreMailboxWithId(mProviderContext, testMailboxId);
136
assertNotNull(
testMailbox
);
137
assertEquals(8,
testMailbox
.mFlags); // Flags should be "holds mail"
138
assertEquals(-1L,
testMailbox
.mParentKey); // Parent is off the top-level
/packages/apps/Email/tests/src/com/android/email/provider/
ProviderTests.java
[
all
...]
Completed in 45 milliseconds