summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorHall Liu <hallliu@google.com>2015-11-12 10:30:18 -0800
committerHall Liu <hallliu@google.com>2015-11-12 10:30:18 -0800
commit44f2bac6de37a36c4334e91af3a8362d184bcfb9 (patch)
tree9db09844b78d7fac1d8fd89940e7aa66523f167f /tests
parent35e44d4b757427a240e8764467bdd220e2124473 (diff)
Fix build breakage due to bad manual cherry-pick
Change-Id: I1a020321ba71760485aa4df2313d3877c4795f5a
Diffstat (limited to 'tests')
-rw-r--r--tests/src/com/android/dialer/calllog/CallLogAdapterTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/com/android/dialer/calllog/CallLogAdapterTest.java b/tests/src/com/android/dialer/calllog/CallLogAdapterTest.java
index 13ca0fd76..12ae78538 100644
--- a/tests/src/com/android/dialer/calllog/CallLogAdapterTest.java
+++ b/tests/src/com/android/dialer/calllog/CallLogAdapterTest.java
@@ -266,7 +266,7 @@ public class CallLogAdapterTest extends AndroidTestCase {
}
@MediumTest
- public void testBindView_ContactWithPrefix() {
+ public void testBindView_ContactWithPostDialDigits() {
createCallLogEntry(TEST_NUMBER, TEST_POST_DIAL_DIGITS, NO_VALUE_SET, NO_VALUE_SET);
mAdapter.injectContactInfoForTest(TEST_NUMBER + TEST_POST_DIAL_DIGITS, TEST_COUNTRY_ISO,
createContactInfo());
@@ -274,7 +274,7 @@ public class CallLogAdapterTest extends AndroidTestCase {
mAdapter.changeCursor(mCursor);
mAdapter.onBindViewHolder(mViewHolder, 0);
- assertNameIs(mViewHolder, TEST_CACHED_NAME);
+ assertNameIs(mViewHolder, TEST_CACHED_NAME_PRIMARY);
}
@MediumTest