summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAndrew Sapperstein <asapperstein@google.com>2014-06-30 21:12:16 -0700
committerAndrew Sapperstein <asapperstein@google.com>2014-07-01 21:11:56 -0700
commitde40dd3a292531c7dd8a5741eb0980f666a88b84 (patch)
tree644ea210fc47042456ac0dbebd43401d383d312e /tests
parent0cc8da7c682ef29e8557f06b1e568944a9f44a40 (diff)
downloadandroid_packages_apps_UnifiedEmail-de40dd3a292531c7dd8a5741eb0980f666a88b84.tar.gz
android_packages_apps_UnifiedEmail-de40dd3a292531c7dd8a5741eb0980f666a88b84.tar.bz2
android_packages_apps_UnifiedEmail-de40dd3a292531c7dd8a5741eb0980f666a88b84.zip
Message header ui update. b/15595931
Change-Id: Ic3ce06409707e326e4dc2eef6bb8617f5f03d1b8
Diffstat (limited to 'tests')
-rw-r--r--tests/src/com/android/mail/browse/MessageHeaderViewTest.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/src/com/android/mail/browse/MessageHeaderViewTest.java b/tests/src/com/android/mail/browse/MessageHeaderViewTest.java
index 1cadb73cd..f5fd55776 100644
--- a/tests/src/com/android/mail/browse/MessageHeaderViewTest.java
+++ b/tests/src/com/android/mail/browse/MessageHeaderViewTest.java
@@ -17,6 +17,7 @@
package com.android.mail.browse;
+import android.support.v4.text.BidiFormatter;
import android.test.AndroidTestCase;
import android.test.suitebuilder.annotation.SmallTest;
@@ -31,7 +32,7 @@ public class MessageHeaderViewTest extends AndroidTestCase {
String[] to = makeRecipientArray("TO", 60);
String[] cc = makeRecipientArray("CC", 60);
String summary = MessageHeaderView.getRecipientSummaryText(getContext(), "", "", to, cc,
- null, new HashMap<String, Address>(), null).toString();
+ null, new HashMap<String, Address>(), null, BidiFormatter.getInstance()).toString();
assertTrue(summary.contains("TO00"));
assertTrue(summary.contains("TO49"));
@@ -44,7 +45,7 @@ public class MessageHeaderViewTest extends AndroidTestCase {
String[] cc = makeRecipientArray("CC", 10);
String[] bcc = makeRecipientArray("BB", 60);
String summary = MessageHeaderView.getRecipientSummaryText(getContext(), "", "", to, cc,
- bcc, new HashMap<String, Address>(), null).toString();
+ bcc, new HashMap<String, Address>(), null, BidiFormatter.getInstance()).toString();
assertTrue(summary.contains("TO00"));
assertTrue(summary.contains("TO19"));