Add column to the cursor used in tests.
A new column was added to the projection used by the call log.
This commit adds the matching column in the MatrixCursor used by tests.
Change-Id: I5f0cc359204d6e533a907c3ea3545159417f8da0
diff --git a/tests/src/com/android/contacts/activities/CallLogActivityTests.java b/tests/src/com/android/contacts/activities/CallLogActivityTests.java
index 8900c5e..ef029fc 100644
--- a/tests/src/com/android/contacts/activities/CallLogActivityTests.java
+++ b/tests/src/com/android/contacts/activities/CallLogActivityTests.java
@@ -54,8 +54,6 @@
@LargeTest
public class CallLogActivityTests
extends ActivityInstrumentationTestCase2<CallLogActivity> {
- private static final String TAG = "CallLogActivityTests";
-
private static final String[] EXTENDED_CALL_LOG_PROJECTION = new String[] {
Calls._ID,
Calls.NUMBER,
@@ -63,6 +61,7 @@
Calls.DURATION,
Calls.TYPE,
Calls.COUNTRY_ISO,
+ Calls.VOICEMAIL_URI,
CallLogFragment.CallLogQuery.SECTION_NAME,
};
private static final int RAND_DURATION = -1;
@@ -431,6 +430,7 @@
}
row.add(type); // type
row.add(TEST_COUNTRY_ISO); // country ISO
+ row.add(null); // voicemail_uri
row.add(CallLogFragment.CallLogQuery.SECTION_OLD_ITEM); // section
}