diff options
author | Daniel Lehmann <lehmannd@google.com> | 2010-08-12 20:12:59 -0700 |
---|---|---|
committer | Daniel Lehmann <lehmannd@google.com> | 2010-08-12 20:12:59 -0700 |
commit | 76dfa406e2cde19c824983c37fc92c1c5bf63eec (patch) | |
tree | 3684d872f585aca57bcc2339f3321e148673c408 /tests | |
parent | 5b3634b24d3c21618f96860e969fd5c9ba7d9ca8 (diff) | |
download | packages_providers_ContactsProvider-76dfa406e2cde19c824983c37fc92c1c5bf63eec.zip packages_providers_ContactsProvider-76dfa406e2cde19c824983c37fc92c1c5bf63eec.tar.gz packages_providers_ContactsProvider-76dfa406e2cde19c824983c37fc92c1c5bf63eec.tar.bz2 |
Fix the build
Change-Id: I750f1c6b4c3d05d93bb07ee306f11486bfd9ce40
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/com/android/providers/contacts/ContactAggregatorTest.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/src/com/android/providers/contacts/ContactAggregatorTest.java b/tests/src/com/android/providers/contacts/ContactAggregatorTest.java index 38cd4bb..8f68ed9 100644 --- a/tests/src/com/android/providers/contacts/ContactAggregatorTest.java +++ b/tests/src/com/android/providers/contacts/ContactAggregatorTest.java @@ -902,12 +902,12 @@ public class ContactAggregatorTest extends BaseContactsProvider2Test { public void testAggregationSuggestionsQueryBuilderWithValues() throws Exception { Uri uri = AggregationSuggestions.builder() - .addParameter(AggregationSuggestions.MATCH_NAME, "name1") - .addParameter(AggregationSuggestions.MATCH_NAME, "name2") - .addParameter(AggregationSuggestions.MATCH_EMAIL, "email1") - .addParameter(AggregationSuggestions.MATCH_EMAIL, "email2") - .addParameter(AggregationSuggestions.MATCH_PHONE, "phone1") - .addParameter(AggregationSuggestions.MATCH_NICKNAME, "nickname1") + .addParameter(AggregationSuggestions.PARAMETER_MATCH_NAME, "name1") + .addParameter(AggregationSuggestions.PARAMETER_MATCH_NAME, "name2") + .addParameter(AggregationSuggestions.PARAMETER_MATCH_EMAIL, "email1") + .addParameter(AggregationSuggestions.PARAMETER_MATCH_EMAIL, "email2") + .addParameter(AggregationSuggestions.PARAMETER_MATCH_PHONE, "phone1") + .addParameter(AggregationSuggestions.PARAMETER_MATCH_NICKNAME, "nickname1") .setLimit(7) .build(); assertEquals("content://com.android.contacts/contacts/-1/suggestions?" @@ -925,7 +925,7 @@ public class ContactAggregatorTest extends BaseContactsProvider2Test { long rawContactId2 = createRawContactWithName("first2", "last2"); Uri uri = AggregationSuggestions.builder() - .addParameter(AggregationSuggestions.MATCH_NAME, "last1 first1") + .addParameter(AggregationSuggestions.PARAMETER_MATCH_NAME, "last1 first1") .build(); Cursor cursor = mResolver.query( |