diff options
author | Ta-wei Yen <twyen@google.com> | 2017-02-14 21:15:51 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2017-02-14 21:15:51 +0000 |
commit | f097acc6090efdc45d73c717eaaa73a1503206e2 (patch) | |
tree | 0cc7371311b192736e7491d65811a844343996c9 | |
parent | 54fe662f5d29780b2330b9ed2bf4af8a12476bdf (diff) | |
parent | c4b2bcdf4cb3a7d3eed268cc60340173f3749cb6 (diff) | |
download | ContactsProvider-nougat-mr2-dev.tar.gz |
Merge "Fix VoicemailProviderTest for new columns" into nyc-mr2-devandroid-7.1.2_r9android-7.1.2_r8android-7.1.2_r6android-7.1.2_r5android-7.1.2_r4android-7.1.2_r39android-7.1.2_r38android-7.1.2_r37android-7.1.2_r36android-7.1.2_r33android-7.1.2_r32android-7.1.2_r30android-7.1.2_r3android-7.1.2_r29android-7.1.2_r28android-7.1.2_r27android-7.1.2_r25android-7.1.2_r24android-7.1.2_r23android-7.1.2_r2android-7.1.2_r19android-7.1.2_r18android-7.1.2_r17android-7.1.2_r16android-7.1.2_r15android-7.1.2_r14android-7.1.2_r13android-7.1.2_r12android-7.1.2_r11android-7.1.2_r10android-7.1.2_r1nougat-mr2.3-releasenougat-mr2.2-releasenougat-mr2.1-releasenougat-mr2-security-releasenougat-mr2-releasenougat-mr2-pixel-releasenougat-mr2-dev
-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); |