Searched refs:expectedId (Results 1 – 6 of 6) sorted by relevance
394 int expectedId = 1; in testGetSelected() local395 mAdapterView.setSelection(expectedId); in testGetSelected()396 assertEquals(expectedId, mAdapterView.getSelectedItemId()); in testGetSelected()397 assertEquals(expectedId, mAdapterView.getSelectedItemPosition()); in testGetSelected()398 assertEquals(FRUIT[expectedId], mAdapterView.getSelectedItem()); in testGetSelected()401 expectedId = -1; in testGetSelected()402 mAdapterView.setSelection(expectedId); in testGetSelected()407 expectedId = mAdapterView.getCount(); in testGetSelected()408 mAdapterView.setSelection(expectedId); in testGetSelected()
124 @NonNull String expectedId) { in assertChildSessionContext() argument126 assertThat(session.context.getLocusId()).isEqualTo(new LocusId(expectedId)); in assertChildSessionContext()350 @NonNull AutofillId expectedId) { in assertViewDisappeared() argument353 .that(event.getId()).isEqualTo(expectedId); in assertViewDisappeared()392 final AutofillId expectedId = session.newAutofillId(parentId, childId); in assertVirtualViewAppeared() local394 .that(node.getAutofillId()).isEqualTo(expectedId); in assertVirtualViewAppeared()443 @NonNull AutofillId expectedId, @NonNull String expectedText) { in assertViewTextChanged() argument446 .isEqualTo(expectedId); in assertViewTextChanged()
140 private void assertRequest(List<LocusIdRequest> requests, int index, String expectedId, in assertRequest() argument147 .isEqualTo(expectedId); in assertRequest()
155 String expectedId = component.flattenToShortString(); in assertInfo() local156 assertEquals(expectedId, info.getId()); in assertInfo()
315 final Long expectedId = expected.getAccessibilityIdForRegion(expectedRegion); in assertEqualsTouchDelegateInfo() local320 if (expectedRegion.equals(actualRegion) && expectedId.equals(actualId)) { in assertEqualsTouchDelegateInfo()
562 final AutofillId expectedId = new AutofillId(42); in assertMyClientState() local564 assertThat(actualId).isEqualTo(expectedId); in assertMyClientState()566 assertThat(actualMyId).isEqualTo(new MyAutofillId(expectedId)); in assertMyClientState()