diff options
author | Paul Westbrook <pwestbro@google.com> | 2013-07-12 18:17:19 -0700 |
---|---|---|
committer | Paul Westbrook <pwestbro@google.com> | 2013-07-12 18:17:19 -0700 |
commit | c97ec3e157f1b2a30ebdc96ba9c6007f2f719aa6 (patch) | |
tree | 208a0679205d572de1328ea7811b34712cb7113d /tests/src | |
parent | 81aea35d45b3d0191ec595562a2fcf67009845d5 (diff) | |
download | android_packages_apps_UnifiedEmail-c97ec3e157f1b2a30ebdc96ba9c6007f2f719aa6.tar.gz android_packages_apps_UnifiedEmail-c97ec3e157f1b2a30ebdc96ba9c6007f2f719aa6.tar.bz2 android_packages_apps_UnifiedEmail-c97ec3e157f1b2a30ebdc96ba9c6007f2f719aa6.zip |
Fix replying from "combined account"
A bug to tracking the addition of the unit test has been filed
in bug 9823857
Bug: 9595801
Change-Id: Ie5eb8b5ea4cfddf9c111144c7b5b8ad2844e31b3
Diffstat (limited to 'tests/src')
-rw-r--r-- | tests/src/com/android/mail/compose/ComposeActivityTest.java | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/src/com/android/mail/compose/ComposeActivityTest.java b/tests/src/com/android/mail/compose/ComposeActivityTest.java index 1241cd664..f7662e977 100644 --- a/tests/src/com/android/mail/compose/ComposeActivityTest.java +++ b/tests/src/com/android/mail/compose/ComposeActivityTest.java @@ -118,8 +118,8 @@ public class ComposeActivityTest extends ActivityInstrumentationTestCase2<Compos ReplyFromAccount currentAccount = new ReplyFromAccount(mAccount, mAccount.uri, mAccount.name, mAccount.name, customFrom, true, false); mActivity.mFromSpinner.setCurrentAccount(currentAccount); - mActivity.mFromSpinner.asyncInitFromSpinner(ComposeActivity.REPLY_ALL, - currentAccount.account, null); + mActivity.mFromSpinner.initialize(ComposeActivity.REPLY_ALL, + currentAccount.account, null, null); mActivity.runOnUiThread(new Runnable() { @Override public void run() { @@ -151,8 +151,8 @@ public class ComposeActivityTest extends ActivityInstrumentationTestCase2<Compos ReplyFromAccount currentAccount = new ReplyFromAccount(mAccount, mAccount.uri, mAccount.name, mAccount.name, mAccount.name, true, false); mActivity.mFromSpinner.setCurrentAccount(currentAccount); - mActivity.mFromSpinner.asyncInitFromSpinner(ComposeActivity.REPLY_ALL, - currentAccount.account, null); + mActivity.mFromSpinner.initialize(ComposeActivity.REPLY_ALL, + currentAccount.account, null, null); mActivity.runOnUiThread(new Runnable() { @Override public void run() { @@ -189,8 +189,8 @@ public class ComposeActivityTest extends ActivityInstrumentationTestCase2<Compos ReplyFromAccount currentAccount = new ReplyFromAccount(mAccount, mAccount.uri, mAccount.name, mAccount.name, customFrom, true, false); mActivity.mFromSpinner.setCurrentAccount(currentAccount); - mActivity.mFromSpinner.asyncInitFromSpinner(ComposeActivity.REPLY_ALL, - currentAccount.account, null); + mActivity.mFromSpinner.initialize(ComposeActivity.REPLY_ALL, + currentAccount.account, null, null); mActivity.runOnUiThread(new Runnable() { @Override public void run() { @@ -516,8 +516,8 @@ public class ComposeActivityTest extends ActivityInstrumentationTestCase2<Compos ReplyFromAccount currentAccount = new ReplyFromAccount(mAccount, mAccount.uri, mAccount.name, mAccount.name, mAccount.name, true, false); mActivity.mFromSpinner.setCurrentAccount(currentAccount); - mActivity.mFromSpinner.asyncInitFromSpinner(ComposeActivity.REPLY, currentAccount.account, - null); + mActivity.mFromSpinner.initialize(ComposeActivity.REPLY, currentAccount.account, + null, null); mActivity.runOnUiThread(new Runnable() { @Override @@ -556,8 +556,8 @@ public class ComposeActivityTest extends ActivityInstrumentationTestCase2<Compos ReplyFromAccount currentAccount = new ReplyFromAccount(mAccount, mAccount.uri, mAccount.name, mAccount.name, mAccount.name, true, false); mActivity.mFromSpinner.setCurrentAccount(currentAccount); - mActivity.mFromSpinner.asyncInitFromSpinner(ComposeActivity.REPLY_ALL, - currentAccount.account, null); + mActivity.mFromSpinner.initialize(ComposeActivity.REPLY_ALL, + currentAccount.account, null, null); mActivity.runOnUiThread(new Runnable() { @Override public void run() { @@ -598,8 +598,8 @@ public class ComposeActivityTest extends ActivityInstrumentationTestCase2<Compos ReplyFromAccount currentAccount = new ReplyFromAccount(mAccount, mAccount.uri, mAccount.name, mAccount.name, mAccount.name, true, false); mActivity.mFromSpinner.setCurrentAccount(currentAccount); - mActivity.mFromSpinner.asyncInitFromSpinner(ComposeActivity.REPLY_ALL, - currentAccount.account, null); + mActivity.mFromSpinner.initialize(ComposeActivity.REPLY_ALL, + currentAccount.account, null, null); mActivity.runOnUiThread(new Runnable() { @Override public void run() { |