Home
last modified time | relevance | path

Searched refs:hasCount (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Contacts/tests/src/com/android/contacts/database/
DSimContactDaoTests.java140 assertThat(cursor, ContactsMatchers.hasCount(2)); in importFromSim()
146 assertThat(cursor, ContactsMatchers.hasCount(2)); in importFromSim()
152 assertThat(cursor, ContactsMatchers.hasCount(4)); in importFromSim()
169 assertThat(cursor, ContactsMatchers.hasCount(1)); in importContactWhichOnlyHasName()
184 assertThat(cursor, ContactsMatchers.hasCount(1)); in importContactWhichOnlyHasPhone()
203 assertThat(contactsCursor, ContactsMatchers.hasCount(1)); in ignoresEmptyContacts()
207 assertThat(dataCursor, ContactsMatchers.hasCount(1)); in ignoresEmptyContacts()
231 assertThat(contactsCursor, ContactsMatchers.hasCount(MAX_SIM_CONTACTS)); in largeImport()
236 assertThat(dataCursor, ContactsMatchers.hasCount(MAX_SIM_CONTACTS * 3)); in largeImport()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/
DContactsMatchers.java70 public static Matcher<Cursor> hasCount(final int count) { in hasCount() method in ContactsMatchers
/packages/apps/Contacts/tests/src/com/android/contacts/activities/
DSimImportActivityTest.java299 assertThat(cursor, ContactsMatchers.hasCount(3 * 2)); in selectionsAreImportedAndDisabledOnSubsequentImports()