diff options
author | Dave Santoro <dsantoro@google.com> | 2011-10-05 16:04:23 -0700 |
---|---|---|
committer | Dave Santoro <dsantoro@google.com> | 2011-10-05 16:06:00 -0700 |
commit | 280eaf5da5ab5086e82eac76d34e7ecd0bbf91f9 (patch) | |
tree | 8b58acb389443f50ac7f00acc4c8c46f5d24a0ce /tests | |
parent | 3a2043b8a68a800d4b1bedb88fbc0e1da8ce4d80 (diff) | |
download | packages_providers_ContactsProvider-280eaf5da5ab5086e82eac76d34e7ecd0bbf91f9.zip packages_providers_ContactsProvider-280eaf5da5ab5086e82eac76d34e7ecd0bbf91f9.tar.gz packages_providers_ContactsProvider-280eaf5da5ab5086e82eac76d34e7ecd0bbf91f9.tar.bz2 |
Fix search tests.
Change-Id: I70c53f954c1b0ef74edf505e8427cb78d66a4a8e
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/com/android/providers/contacts/GlobalSearchSupportTest.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/src/com/android/providers/contacts/GlobalSearchSupportTest.java b/tests/src/com/android/providers/contacts/GlobalSearchSupportTest.java index 40ac1ba..066c47e 100644 --- a/tests/src/com/android/providers/contacts/GlobalSearchSupportTest.java +++ b/tests/src/com/android/providers/contacts/GlobalSearchSupportTest.java @@ -122,31 +122,31 @@ public class GlobalSearchSupportTest extends BaseContactsProvider2Test { ContentValues values = new ContentValues(); Uri searchUri = new Uri.Builder().scheme("content").authority(ContactsContract.AUTHORITY) - .appendPath(SearchManager.SUGGEST_URI_PATH_QUERY).appendPath("12345").build(); + .appendPath(SearchManager.SUGGEST_URI_PATH_QUERY).appendPath("12345678").build(); Cursor c = mResolver.query(searchUri, null, null, null, null); assertEquals(2, c.getCount()); c.moveToFirst(); values.put(SearchManager.SUGGEST_COLUMN_TEXT_1, "Dial number"); - values.put(SearchManager.SUGGEST_COLUMN_TEXT_2, "using 12345"); + values.put(SearchManager.SUGGEST_COLUMN_TEXT_2, "using 12345678"); values.put(SearchManager.SUGGEST_COLUMN_ICON_1, String.valueOf(com.android.internal.R.drawable.call_contact)); values.put(SearchManager.SUGGEST_COLUMN_INTENT_ACTION, Intents.SEARCH_SUGGESTION_DIAL_NUMBER_CLICKED); - values.put(SearchManager.SUGGEST_COLUMN_INTENT_DATA, "tel:12345"); + values.put(SearchManager.SUGGEST_COLUMN_INTENT_DATA, "tel:12345678"); values.putNull(SearchManager.SUGGEST_COLUMN_SHORTCUT_ID); assertCursorValues(c, values); c.moveToNext(); values.clear(); values.put(SearchManager.SUGGEST_COLUMN_TEXT_1, "Create contact"); - values.put(SearchManager.SUGGEST_COLUMN_TEXT_2, "using 12345"); + values.put(SearchManager.SUGGEST_COLUMN_TEXT_2, "using 12345678"); values.put(SearchManager.SUGGEST_COLUMN_ICON_1, String.valueOf(com.android.internal.R.drawable.create_contact)); values.put(SearchManager.SUGGEST_COLUMN_INTENT_ACTION, Intents.SEARCH_SUGGESTION_CREATE_CONTACT_CLICKED); - values.put(SearchManager.SUGGEST_COLUMN_INTENT_DATA, "tel:12345"); + values.put(SearchManager.SUGGEST_COLUMN_INTENT_DATA, "tel:12345678"); values.put(SearchManager.SUGGEST_COLUMN_SHORTCUT_ID, SearchManager.SUGGEST_NEVER_MAKE_SHORTCUT); assertCursorValues(c, values); |