diff options
author | Dmitri Plotnikov <dplotnikov@google.com> | 2010-11-30 17:25:15 -0800 |
---|---|---|
committer | Dmitri Plotnikov <dplotnikov@google.com> | 2010-11-30 17:25:15 -0800 |
commit | 2a8fefb86282c06a7669f80e1b2b86d87619dfc2 (patch) | |
tree | 061fbb1c5924ee8e4e37ecf7f1099c7703bc067e /tests | |
parent | 189273b8a9ae75d88690febfbed2d635138799ec (diff) | |
download | packages_providers_ContactsProvider-2a8fefb86282c06a7669f80e1b2b86d87619dfc2.zip packages_providers_ContactsProvider-2a8fefb86282c06a7669f80e1b2b86d87619dfc2.tar.gz packages_providers_ContactsProvider-2a8fefb86282c06a7669f80e1b2b86d87619dfc2.tar.bz2 |
Running tests against an in-memory database.
The reduces the total run time for the test suite
from about 600sec to 90sec.
Change-Id: I68b5c17f1710ab7415913f256c925beead4dd825
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/com/android/providers/contacts/ContactsProvider2Test.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/src/com/android/providers/contacts/ContactsProvider2Test.java b/tests/src/com/android/providers/contacts/ContactsProvider2Test.java index 9277369..1f48d66 100644 --- a/tests/src/com/android/providers/contacts/ContactsProvider2Test.java +++ b/tests/src/com/android/providers/contacts/ContactsProvider2Test.java @@ -865,11 +865,10 @@ public class ContactsProvider2Test extends BaseContactsProvider2Test { public void testPhonesFilterQuery() { long rawContactId1 = createRawContactWithName("Hot", "Tamale", ACCOUNT_1); - insertPhoneNumber(rawContactId1, "18004664411"); insertPhoneNumber(rawContactId1, "1-800-466-4411"); - long rawContactId2 = createRawContactWithName("Hot", "Tamale", ACCOUNT_2); - insertPhoneNumber(rawContactId2, "1-800-466-4411"); + long rawContactId2 = createRawContactWithName("Chilled", "Guacamole", ACCOUNT_2); + insertPhoneNumber(rawContactId2, "1-800-466-5432"); Uri filterUri1 = Uri.withAppendedPath(Phone.CONTENT_FILTER_URI, "tamale"); ContentValues values = new ContentValues(); |