summaryrefslogtreecommitdiffstats
path: root/tests/src
diff options
context:
space:
mode:
authorAndrew Sapperstein <asapperstein@google.com>2014-01-23 13:19:45 -0800
committerAndrew Sapperstein <asapperstein@google.com>2014-01-23 13:19:45 -0800
commit890afa256f9c30003b9690135922903354b51a67 (patch)
tree3f50693625969957ce8dbfbdc1771c37d6aa3f74 /tests/src
parent2b7f4f1f757bfa29b4c752fba27f5fd060c606f3 (diff)
downloadandroid_packages_apps_UnifiedEmail-890afa256f9c30003b9690135922903354b51a67.tar.gz
android_packages_apps_UnifiedEmail-890afa256f9c30003b9690135922903354b51a67.tar.bz2
android_packages_apps_UnifiedEmail-890afa256f9c30003b9690135922903354b51a67.zip
RTL - properly align from address in compose.
b/12687526. Change-Id: I5f09303674da08b7870a84ef6477d7bfac4015cd
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/com/android/mail/compose/ComposeActivityTest.java13
1 files changed, 7 insertions, 6 deletions
diff --git a/tests/src/com/android/mail/compose/ComposeActivityTest.java b/tests/src/com/android/mail/compose/ComposeActivityTest.java
index d2cc308df..52066e982 100644
--- a/tests/src/com/android/mail/compose/ComposeActivityTest.java
+++ b/tests/src/com/android/mail/compose/ComposeActivityTest.java
@@ -22,6 +22,7 @@ import android.content.Intent;
import android.database.Cursor;
import android.database.MatrixCursor;
import android.net.Uri;
+import android.support.v4.text.BidiFormatter;
import android.test.ActivityInstrumentationTestCase2;
import android.test.suitebuilder.annotation.SmallTest;
import android.text.Html;
@@ -149,7 +150,7 @@ public class ComposeActivityTest extends ActivityInstrumentationTestCase2<Compos
activity.mFromSpinner.setCurrentAccount(currentAccount);
activity.mFromSpinner.initialize(ComposeActivity.REPLY_ALL,
- currentAccount.account, EMPTY_ACCOUNT_LIST, null);
+ currentAccount.account, EMPTY_ACCOUNT_LIST, null, BidiFormatter.getInstance());
runTestOnUiThread(new Runnable() {
@Override
public void run() {
@@ -183,7 +184,7 @@ public class ComposeActivityTest extends ActivityInstrumentationTestCase2<Compos
activity.mFromSpinner.setCurrentAccount(currentAccount);
activity.mFromSpinner.initialize(ComposeActivity.REPLY_ALL,
- currentAccount.account, EMPTY_ACCOUNT_LIST, null);
+ currentAccount.account, EMPTY_ACCOUNT_LIST, null, BidiFormatter.getInstance());
runTestOnUiThread(new Runnable() {
@Override
public void run() {
@@ -222,7 +223,7 @@ public class ComposeActivityTest extends ActivityInstrumentationTestCase2<Compos
activity.mFromSpinner.setCurrentAccount(currentAccount);
activity.mFromSpinner.initialize(ComposeActivity.REPLY_ALL,
- currentAccount.account, EMPTY_ACCOUNT_LIST, null);
+ currentAccount.account, EMPTY_ACCOUNT_LIST, null, BidiFormatter.getInstance());
runTestOnUiThread(new Runnable() {
@Override
public void run() {
@@ -550,7 +551,7 @@ public class ComposeActivityTest extends ActivityInstrumentationTestCase2<Compos
mAccount.name, mAccount.name, mAccount.name, true, false);
activity.mFromSpinner.setCurrentAccount(currentAccount);
activity.mFromSpinner.initialize(ComposeActivity.REPLY, currentAccount.account,
- EMPTY_ACCOUNT_LIST, null);
+ EMPTY_ACCOUNT_LIST, null, BidiFormatter.getInstance());
runTestOnUiThread(new Runnable() {
@Override
@@ -590,7 +591,7 @@ public class ComposeActivityTest extends ActivityInstrumentationTestCase2<Compos
mAccount.name, mAccount.name, mAccount.name, true, false);
activity.mFromSpinner.setCurrentAccount(currentAccount);
activity.mFromSpinner.initialize(ComposeActivity.REPLY_ALL,
- currentAccount.account, EMPTY_ACCOUNT_LIST, null);
+ currentAccount.account, EMPTY_ACCOUNT_LIST, null, BidiFormatter.getInstance());
runTestOnUiThread(new Runnable() {
@Override
public void run() {
@@ -632,7 +633,7 @@ public class ComposeActivityTest extends ActivityInstrumentationTestCase2<Compos
mAccount.name, mAccount.name, mAccount.name, true, false);
activity.mFromSpinner.setCurrentAccount(currentAccount);
activity.mFromSpinner.initialize(ComposeActivity.REPLY_ALL,
- currentAccount.account, EMPTY_ACCOUNT_LIST, null);
+ currentAccount.account, EMPTY_ACCOUNT_LIST, null, BidiFormatter.getInstance());
runTestOnUiThread(new Runnable() {
@Override
public void run() {