Searched refs:expectedValues (Results 1 – 6 of 6) sorted by relevance
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | BaseContactsProvider2Test.java | 958 protected void assertStoredValues(Uri rowUri, ContentValues expectedValues) { in assertStoredValues() argument 959 assertStoredValues(rowUri, null, null, expectedValues); in assertStoredValues() 962 protected void assertStoredValues(Uri rowUri, ContentValues... expectedValues) { in assertStoredValues() argument 963 assertStoredValues(rowUri, null, null, expectedValues); in assertStoredValues() 967 ContentValues expectedValues) { in assertStoredValues() argument 972 assertCursorValues(c, expectedValues); in assertStoredValues() 981 protected void assertContainsValues(Uri rowUri, ContentValues expectedValues) { in assertContainsValues() argument 986 assertCursorValuesPartialMatch(c, expectedValues); in assertContainsValues() 995 protected void assertStoredValuesWithProjection(Uri rowUri, ContentValues expectedValues) { in assertStoredValuesWithProjection() argument 996 assertStoredValuesWithProjection(rowUri, new ContentValues[] {expectedValues}); in assertStoredValuesWithProjection() [all …]
|
D | LegacyContactsProviderTest.java | 470 ContentValues[] expectedValues = new ContentValues[1]; in testPhonesUpdate() local 471 expectedValues[0] = values; in testPhonesUpdate() 472 expectedValues[0].put(Phones.NUMBER_KEY, "36645550081"); in testPhonesUpdate() 473 assertStoredValues(uri, expectedValues); in testPhonesUpdate() 492 ContentValues[] expectedValues = new ContentValues[1]; in testPhonesFilterQuery() local 493 expectedValues[0] = values; in testPhonesFilterQuery() 494 expectedValues[0].put(Phones.NUMBER_KEY, "1144664008"); in testPhonesFilterQuery() 495 assertStoredValues(filterUri1, expectedValues); in testPhonesFilterQuery()
|
D | ContactMetadataProviderTest.java | 135 ContentValues expectedValues = defaultValues; in testGetMetadataByAccount() local 136 expectedValues.remove(MetadataSyncColumns.ACCOUNT_ID); in testGetMetadataByAccount() 138 assertCursorValues(c, expectedValues); in testGetMetadataByAccount()
|
D | ContactsProvider2Test.java | 6083 ContentValues expectedValues = new ContentValues(); in testStreamItemInsertedOnStatusUpdate() local 6084 expectedValues.put(StreamItems.RAW_CONTACT_ID, rawContactId); in testStreamItemInsertedOnStatusUpdate() 6085 expectedValues.put(StreamItems.TEXT, "hacking"); in testStreamItemInsertedOnStatusUpdate() 6089 expectedValues); in testStreamItemInsertedOnStatusUpdate() local 6105 ContentValues expectedValues = new ContentValues(); in testStreamItemInsertedOnStatusUpdate_HtmlQuoting() local 6106 expectedValues.put(StreamItems.RAW_CONTACT_ID, rawContactId); in testStreamItemInsertedOnStatusUpdate_HtmlQuoting() 6107 expectedValues.put(StreamItems.TEXT, "& <b> test &#39;"); in testStreamItemInsertedOnStatusUpdate_HtmlQuoting() 6111 expectedValues); in testStreamItemInsertedOnStatusUpdate_HtmlQuoting() local 6128 ContentValues expectedValues = new ContentValues(); in testStreamItemUpdatedOnSecondStatusUpdate() local 6129 expectedValues.put(StreamItems.RAW_CONTACT_ID, rawContactId); in testStreamItemUpdatedOnSecondStatusUpdate() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/ |
D | ContextualCardManagerTest.java | 438 final List<Integer> expectedValues = Arrays.asList(VIEW_TYPE_FULL_WIDTH, in getCardsWithViewType_twoConsecutiveSuggestionCards_shouldHaveTwoHalfCards() local 447 assertThat(result.get(i).getViewType()).isEqualTo(expectedValues.get(i)); in getCardsWithViewType_twoConsecutiveSuggestionCards_shouldHaveTwoHalfCards() 483 final List<Integer> expectedValues = Arrays.asList(VIEW_TYPE_FULL_WIDTH, in getCardsWithViewType_threeConsecutiveSuggestionCards_shouldHaveTwoHalfCards() local 492 assertThat(result.get(i).getViewType()).isEqualTo(expectedValues.get(i)); in getCardsWithViewType_threeConsecutiveSuggestionCards_shouldHaveTwoHalfCards() 507 final List<Integer> expectedValues = Arrays.asList(VIEW_TYPE_FULL_WIDTH, in getCardsWithViewType_fourConsecutiveSuggestionCards_shouldHaveFourHalfCards() local 516 assertThat(result.get(i).getViewType()).isEqualTo(expectedValues.get(i)); in getCardsWithViewType_fourConsecutiveSuggestionCards_shouldHaveFourHalfCards()
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
D | RawContactDeltaListTests.java | 199 final ContentValues expectedValues = getValues(expected.getOperation()); in assertDiffPattern() local 202 expectedValues.remove(BaseColumns._ID); in assertDiffPattern() 205 assertEquals("Unexpected values", expectedValues, foundValues); in assertDiffPattern()
|