Lines Matching defs:SUBJECT
74 private static final String SUBJECT = "This is the subject";
159 mSubjectView = (EditText) a.findViewById(R.id.subject);
196 * Subject = Re: Subject
202 final Message message = buildTestMessage(RECIPIENT_TO, SENDER, SUBJECT, BODY);
213 checkFields(SENDER + ", ", null, null, "Re: " + SUBJECT, null, null);
226 checkFields(REPLYTO + ", ", null, null, "Re: " + SUBJECT, null, null);
238 * Subject = Re: Subject
245 final Message message = buildTestMessage(RECIPIENT_TO, SENDER, SUBJECT, BODY);
257 checkFields(RECIPIENT_TO + ", ", null, null, "Re: " + SUBJECT, null, null);
270 checkFields(RECIPIENT_TO + ", ", null, null, "Re: " + SUBJECT, null, null);
282 "Re: " + SUBJECT, null, null);
289 final Message message = buildTestMessage(RECIPIENT_TO, SENDER, SUBJECT, BODY);
300 checkFields(SENDER + ", ", null, null, "Re: " + SUBJECT, null, SIGNATURE);
313 checkFields(REPLYTO + ", ", null, null, "Re: " + SUBJECT, null, SIGNATURE);
321 final Message message = buildTestMessage(RECIPIENT_TO, SENDER, SUBJECT, BODY);
331 checkFields(null, null, null, "Fwd: " + SUBJECT, null, SIGNATURE);
410 * Subject = Fwd: Subject
414 final Message message = buildTestMessage(RECIPIENT_TO, SENDER, SUBJECT, BODY);
423 checkFields(null, null, null, "Fwd: " + SUBJECT, null, null);
433 * Subject = Subject
440 final Message message = buildTestMessage(RECIPIENT_TO, SENDER, SUBJECT, BODY);
448 checkFields(RECIPIENT_TO + ", ", null, null, SUBJECT, BODY, null);
453 // if subject is null, then cursor should be there instead
489 // if subject is null, then cursor should be there instead
525 // if subject is null, then cursor should be there instead
698 intent.putExtra(Intent.EXTRA_SUBJECT, SUBJECT);
706 checkFields(RECIPIENT_TO + ", ", RECIPIENT_CC + ", ", RECIPIENT_BCC + ", ", SUBJECT,
787 * data=mailto:user@domain.com?subject=This%20is%20%the%subject
792 Uri uri = Uri.parse("mailto:" + RECIPIENT_TO + "?subject=This%20is%20the%20subject");
802 RECIPIENT_TO + ", ", null, null, "This is the subject", null, mSignature);
816 subject, and content views.
821 * @param subject expected value (null = it must be empty)
825 private void checkFields(String to, String cc, String bcc, String subject, String content,
852 if (subject == null) {
855 assertEquals(subject, subjectText);
901 * @param subject Subject of the message
905 private Message buildTestMessage(String to, String sender, String subject, String content) {
918 message.mSubject = subject;