Merge change 23315 into eclair

* changes:
  Fix 2085862; add email address to test Account
This commit is contained in:
Android (Google) Code Review 2009-08-31 22:30:05 -07:00
commit fe75cef7c7

View File

@ -149,6 +149,8 @@ public class AccountSettingsTests extends ActivityInstrumentationTestCase2<Accou
private Intent getTestIntent(String name, String storeUri, String senderUri) {
EmailContent.Account mAccount = new EmailContent.Account();
mAccount.setSenderName(name);
// For EAS, at least, email address is required
mAccount.mEmailAddress = "user@server.com";
mAccount.setStoreUri(mContext, storeUri);
mAccount.setSenderUri(mContext, senderUri);
mAccount.save(mContext);