Searched refs:ImapSimpleString (Results 1 - 7 of 7) sorted by relevance

/packages/apps/Email/tests/src/com/android/email/mail/store/imap/
H A DImapResponseTest.java23 import com.android.email.mail.store.imap.ImapSimpleString;
38 assertTrue(buildResponse(null, false, new ImapSimpleString("OK")).isOk());
39 assertFalse(buildResponse(null, false, new ImapSimpleString("NO")).isOk());
43 final ImapResponse OK = buildResponse("tag", false, new ImapSimpleString("OK"));
44 final ImapResponse SEARCH = buildResponse(null, false, new ImapSimpleString("SEARCH"),
45 new ImapSimpleString("1"));
46 final ImapResponse EXISTS = buildResponse(null, false, new ImapSimpleString("3"),
47 new ImapSimpleString("EXISTS"));
49 final ImapResponse TAGGED_EXISTS = buildResponse("tag", false, new ImapSimpleString("1"),
50 new ImapSimpleString("EXIST
[all...]
H A DImapResponseParserTest.java87 new ImapSimpleString("STATUS"),
88 new ImapSimpleString("INBOX"),
90 new ImapSimpleString("UNSEEN"),
91 new ImapSimpleString("2")
97 new ImapSimpleString("OK"),
98 new ImapSimpleString("STATUS completed") // one string
103 new ImapSimpleString("continuation request+(") // one string
108 new ImapSimpleString("STATUS"),
111 new ImapSimpleString("UNSEEN"),
112 new ImapSimpleString("1
[all...]
H A DImapStringTest.java58 assertTrue(new ImapSimpleString(null).isEmpty());
62 final ImapSimpleString s = new ImapSimpleString("AbcD");
84 assertEquals(1234, new ImapSimpleString("1234").getNumberOrZero());
85 assertEquals(-1, new ImapSimpleString("-1").getNumberOrZero());
86 assertEquals(0, new ImapSimpleString("").getNumberOrZero());
87 assertEquals(0, new ImapSimpleString("X").getNumberOrZero());
88 assertEquals(0, new ImapSimpleString("1234E").getNumberOrZero());
91 assertEquals(0, new ImapSimpleString("99999999999999999999").getNumberOrZero());
95 final ImapString date = new ImapSimpleString("0
[all...]
H A DImapListTest.java23 import com.android.email.mail.store.imap.ImapSimpleString;
64 final ImapString ABC = new ImapSimpleString("AbC");
135 final ImapString K1 = new ImapSimpleString("aBCd");
136 final ImapString K2 = new ImapSimpleString("Def");
137 final ImapString K3 = new ImapSimpleString("abC");
165 final ImapString K1 = new ImapSimpleString("Key");
178 final ImapString K1 = new ImapSimpleString("Key");
191 final ImapString K1 = new ImapSimpleString("aBCd");
192 final ImapString K2 = new ImapSimpleString("Def");
193 final ImapString K3 = new ImapSimpleString("ab
[all...]
H A DImapTestUtils.java23 import com.android.email.mail.store.imap.ImapSimpleString;
39 public static final ImapString STRING_1 = new ImapSimpleString("aBc");
40 public static final ImapString STRING_2 = new ImapSimpleString("X y z");
/packages/apps/Email/src/com/android/email/mail/store/imap/
H A DImapSimpleString.java27 public class ImapSimpleString extends ImapString { class in inherits:ImapString
30 /* package */ ImapSimpleString(String string) { method in class:ImapSimpleString
H A DImapResponseParser.java266 responseToDestroy.add(new ImapSimpleString(readUntilEol()));
306 responseToDestroy.add(new ImapSimpleString(rest));
339 return new ImapSimpleString(readUntil('"'));
390 return new ImapSimpleString(s);

Completed in 66 milliseconds