Home
last modified time | relevance | path

Searched refs:message1 (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Email/tests/src/com/android/emailcommon/internet/
DRfc822OutputTests.java127 Message message1 = createTestMessage("", true); in testBuildBodyText() local
128 Body body1 = createTestBody(message1); in testBuildBodyText()
131 bodyParts = Rfc822Output.buildBodyText(body1, message1.mFlags, false); in testBuildBodyText()
134 message1.mId = -1; // Changing the message; need to reset the id in testBuildBodyText()
135 message1.mText = TEXT; in testBuildBodyText()
136 message1.save(mMockContext); in testBuildBodyText()
137 body1 = createTestBody(message1); in testBuildBodyText()
139 bodyParts = Rfc822Output.buildBodyText(body1, message1.mFlags, false); in testBuildBodyText()
143 message1.mId = -1; // Changing the message; need to reset the id in testBuildBodyText()
144 message1.mTextReply = null; in testBuildBodyText()
[all …]
DMimeMessageTest.java111 MimeMessage message1 = new MimeMessage(); in testMessageId() local
113 String id1 = message1.getMessageId(); in testMessageId()
121 message1.setMessageId(testId1); in testMessageId()
122 assertEquals("set and get Message-ID", testId1, message1.getMessageId()); in testMessageId()
/packages/apps/Email/tests/src/com/android/email/
DControllerProviderOpsTests.java190 Message message1 = ProviderTestUtils.setupMessage("message1", account1Id, box1Id, false, in testMoveMessage() local
194 long message1Id = message1.mId; in testMoveMessage()
279 Message message1 = in testDeleteMessageNoTrash() local
282 long message1Id = message1.mId; in testDeleteMessageNoTrash()
309 Message message1 = in testReadUnread() local
312 long message1Id = message1.mId; in testReadUnread()
341 Message message1 = in testFavorites() local
344 long message1Id = message1.mId; in testFavorites()
/packages/apps/Email/tests/src/com/android/email/mail/store/
DImapStoreUnitTests.java1070 Message message1 = mFolder.createMessage("1"); in testNilMessage() local
1075 mFolder.fetch(new Message[] { message1 }, fp, null); in testNilMessage()
1090 MimeUtility.collectParts(message1, viewables, attachments); in testNilMessage()
1095 mFolder.fetch(new Message[] { message1 }, fp, null); in testNilMessage()
1103 MimeUtility.collectParts(message1, viewables, attachments); in testNilMessage()
1124 Message message1 = mFolder.createMessage("1"); in testExcessFetchResult() local
1125 assertFalse(message1.isSet(Flag.SEEN)); in testExcessFetchResult()
1138 mFolder.fetch(new Message[] { message1 }, fp, null); in testExcessFetchResult()
1141 assertTrue(message1.isSet(Flag.SEEN)); in testExcessFetchResult()