From c2756debb05846b1be1d77ebfb8650dcea9f1c9c Mon Sep 17 00:00:00 2001 From: Tyler Gunn Date: Thu, 7 Aug 2014 11:16:39 -0700 Subject: Fix video description CallLogListItemHelper unit test. Method signatures have changed for PhoneCallDetails and at some point the wrong method call was made. Bug: 16540503 Change-Id: Ie17facaa26aa6ebbb12a43b04d5ea4994b865a1f --- tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.java b/tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.java index 52f2544c8..c00116573 100644 --- a/tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.java +++ b/tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.java @@ -321,7 +321,9 @@ public class CallLogListItemHelperTest extends AndroidTestCase { PhoneCallDetails details = new PhoneCallDetails(TEST_NUMBER, Calls.PRESENTATION_ALLOWED, TEST_FORMATTED_NUMBER, TEST_COUNTRY_ISO, TEST_GEOCODE, - new int[]{Calls.INCOMING_TYPE, Calls.INCOMING_TYPE}, TEST_DATE, TEST_DURATION); + new int[]{Calls.INCOMING_TYPE, Calls.INCOMING_TYPE}, TEST_DATE, TEST_DURATION, + null, null, Calls.FEATURES_VIDEO, null, null); + CharSequence description = mHelper.getCallDescription(details); assertTrue(description.toString() .contains(this.mResources.getString(R.string.description_video_call, 2))); -- cgit v1.2.3