summaryrefslogtreecommitdiffstats
path: root/tests/src/com
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/com')
-rw-r--r--tests/src/com/android/contacts/common/format/TextHighlighterTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/src/com/android/contacts/common/format/TextHighlighterTest.java b/tests/src/com/android/contacts/common/format/TextHighlighterTest.java
index f6962f8d..b97542d4 100644
--- a/tests/src/com/android/contacts/common/format/TextHighlighterTest.java
+++ b/tests/src/com/android/contacts/common/format/TextHighlighterTest.java
@@ -16,6 +16,7 @@
package com.android.contacts.common.format;
+import android.graphics.Typeface;
import android.test.suitebuilder.annotation.SmallTest;
import android.text.SpannableString;
@@ -36,7 +37,7 @@ public class TextHighlighterTest extends TestCase {
@Override
protected void setUp() throws Exception {
super.setUp();
- mTextHighlighter = new TextHighlighter(TEST_PREFIX_HIGHLIGHT_COLOR);
+ mTextHighlighter = new TextHighlighter(Typeface.BOLD);
}
public void testApply_EmptyPrefix() {