diff options
author | Tyler Gunn <tgunn@google.com> | 2014-08-07 11:16:39 -0700 |
---|---|---|
committer | Tyler Gunn <tgunn@google.com> | 2014-08-07 11:16:39 -0700 |
commit | c2756debb05846b1be1d77ebfb8650dcea9f1c9c (patch) | |
tree | 520d2939e0b1ed1251561c2f2a92f2160f9898d7 /tests/src/com | |
parent | eefa1c9abd925709356758b64cdca930abc44621 (diff) |
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
Diffstat (limited to 'tests/src/com')
-rw-r--r-- | tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.java | 4 |
1 files changed, 3 insertions, 1 deletions
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))); |