summaryrefslogtreecommitdiff
path: root/tests/src/com/android/dialer/PhoneCallDetailsHelperTest.java
diff options
context:
space:
mode:
authorEd Heyl <edheyl@google.com>2014-05-29 06:46:56 +0000
committerEd Heyl <edheyl@google.com>2014-05-29 06:46:56 +0000
commit8bde324e003a081bf8d83fe28f040c318a4d2165 (patch)
tree7f62a380281b100e076e8ff9f4fd73ecb1888ce9 /tests/src/com/android/dialer/PhoneCallDetailsHelperTest.java
parentfabd82363920a24be32d68adb5966412c626dea0 (diff)
Fix build breakage: Revert "Fix broken Dialer tests"
This reverts commit fabd82363920a24be32d68adb5966412c626dea0. Change-Id: If65df0d4badc3381f60923a04412f4bec5c36c62
Diffstat (limited to 'tests/src/com/android/dialer/PhoneCallDetailsHelperTest.java')
-rw-r--r--tests/src/com/android/dialer/PhoneCallDetailsHelperTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/src/com/android/dialer/PhoneCallDetailsHelperTest.java b/tests/src/com/android/dialer/PhoneCallDetailsHelperTest.java
index 679335e57..30fd0e2a7 100644
--- a/tests/src/com/android/dialer/PhoneCallDetailsHelperTest.java
+++ b/tests/src/com/android/dialer/PhoneCallDetailsHelperTest.java
@@ -112,6 +112,8 @@ public class PhoneCallDetailsHelperTest extends AndroidTestCase {
setPhoneCallDetailsWithNumber("14125551212",
Calls.PRESENTATION_ALLOWED, "1-412-555-1212");
assertTrue(mViews.callLocationAndDate.getText().toString().contains("Yesterday"));
+ assertTrue(mViews.callLocationAndDate.getText().toString().contains(
+ "<font color='#33b5e5'><b>Yesterday</b></font>"));
}
/** Asserts that a char sequence is actually a Spanned corresponding to the expected HTML. */