diff options
author | Ta-wei Yen <twyen@google.com> | 2017-02-14 21:22:29 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-02-14 21:22:29 +0000 |
commit | 6912192bb18f78fefb894861070e968fc1f9476d (patch) | |
tree | 59ff20714944377636148c5eb61b3a6e941a3ba8 /tests | |
parent | 16b994f6256a10916b1a125f76a9feb1ba02df2d (diff) | |
parent | 2b813a55e26c216e0d1493de883f8a521f956919 (diff) | |
download | ContactsProvider-6912192bb18f78fefb894861070e968fc1f9476d.tar.gz |
Merge "Fix VoicemailProviderTest for new columns" into nyc-mr2-dev am: f097acc609
am: 2b813a55e2
Change-Id: I655012e04a818f6351c56cebdbafe0a141176f3d
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/com/android/providers/contacts/VoicemailProviderTest.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/src/com/android/providers/contacts/VoicemailProviderTest.java b/tests/src/com/android/providers/contacts/VoicemailProviderTest.java index 697c17c5..16abf2f6 100644 --- a/tests/src/com/android/providers/contacts/VoicemailProviderTest.java +++ b/tests/src/com/android/providers/contacts/VoicemailProviderTest.java @@ -61,7 +61,7 @@ public class VoicemailProviderTest extends BaseVoicemailProviderTest { Calls.COUNTRY_ISO }; /** Total number of columns exposed by voicemail provider. */ - private static final int NUM_VOICEMAIL_FIELDS = 19; + private static final int NUM_VOICEMAIL_FIELDS = 23; @Override protected void setUp() throws Exception { @@ -100,6 +100,8 @@ public class VoicemailProviderTest extends BaseVoicemailProviderTest { String[] projection = {Voicemails.NUMBER, Voicemails.DATE, Voicemails.DURATION, Voicemails.TRANSCRIPTION, Voicemails.IS_READ, Voicemails.HAS_CONTENT, Voicemails.SOURCE_DATA, Voicemails.STATE, + Voicemails.BACKED_UP, Voicemails.RESTORED, Voicemails.ARCHIVED, + Voicemails.IS_OMTP_VOICEMAIL }; Cursor c = mResolver.query(uri, projection, Calls.NEW + "=0", null, null); |