Lines Matching defs:to
10 * Unless required by applicable law or agreed to in writing, software
58 * NOTE: It would probably make sense to rewrite this using a MockProvider, instead of the
69 private static final String RECIPIENT_TO = "recipient-to@android.com";
72 private static final String REPLY_TO = "reply-to@android.com";
109 * Test basic conversion from Store message to Provider message
112 * TODO: There are many special cases in the tested function, that need to be
126 * Test basic conversion from Store message to Provider message, when the provider message
146 private MimeMessage buildTestMessage(String to, String cc, String bcc, String replyTo,
150 if (to != null) {
151 Address[] addresses = Address.parse(to);
186 * Basic test of body parts conversion from Store message to Provider message.
190 * TODO very incomplete, there are many permutations to be explored
209 // Prepare a local message to add the attachments to
231 // Now, convert from legacy to provider and see what happens
263 // Prepare a local message to add the attachments to
272 // Now, convert from legacy to provider and see what happens
299 // Prepare a local message to add the attachments to
308 // Now, convert from legacy to provider and see what happens
344 * @param numAttachments how many attachments to add
419 * Compare attachment that was converted from Part (expected) to Provider Attachment (actual)
469 * Sunny day tests of converting an original message to a legacy message
493 // Test message 3: Body + replied-to text
500 checkLegacyMessage("reply-to", localMessage3, getMessage3);
602 * Test conversion of a legacy account to a provider account
613 * Test conversion of a provider account to a legacy account
616 EmailContent.Account fromAccount = ProviderTestUtils.setupAccount("convert-to-legacy",
667 * Compare a provider account to the legacy account it was created from
702 * Compare a legacy account to the provider account it was created from
742 * Test conversion of a legacy mailbox to a provider mailbox
779 // set a few fields to test values