diff options
author | Yorke Lee <yorkelee@google.com> | 2015-03-02 11:50:15 -0800 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2015-03-02 11:50:15 -0800 |
commit | 896a443b6e6c701270000542c921bc4e1e26189b (patch) | |
tree | 2c466f43b532b3dd171bec48aeccfeed3ce48b51 /tests/src/com | |
parent | d6391e36fbe0a7c4b92bccfd578e338fed5b40d6 (diff) |
Only consider toString value of TtsSpan for unit tests
Change-Id: I84da99d70801a6d1621de0883b801fa43ea5e5fd
Diffstat (limited to 'tests/src/com')
-rw-r--r-- | tests/src/com/android/dialer/calllog/CallLogFragmentTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/com/android/dialer/calllog/CallLogFragmentTest.java b/tests/src/com/android/dialer/calllog/CallLogFragmentTest.java index b88989d4d..5d9a05f83 100644 --- a/tests/src/com/android/dialer/calllog/CallLogFragmentTest.java +++ b/tests/src/com/android/dialer/calllog/CallLogFragmentTest.java @@ -627,7 +627,7 @@ public class CallLogFragmentTest extends ActivityInstrumentationTestCase2<Fragme /** Asserts that the name text view is shown and contains the given text. */ private void assertNameIs(CallLogListItemViews views, String name) { assertEquals(View.VISIBLE, views.phoneCallDetailsViews.nameView.getVisibility()); - assertEquals(name, views.phoneCallDetailsViews.nameView.getText()); + assertEquals(name, views.phoneCallDetailsViews.nameView.getText().toString()); } /** Asserts that the label text view contains the given text. */ |