From 44f2bac6de37a36c4334e91af3a8362d184bcfb9 Mon Sep 17 00:00:00 2001 From: Hall Liu Date: Thu, 12 Nov 2015 10:30:18 -0800 Subject: Fix build breakage due to bad manual cherry-pick Change-Id: I1a020321ba71760485aa4df2313d3877c4795f5a --- tests/src/com/android/dialer/calllog/CallLogAdapterTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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 -- cgit v1.2.3