Home
last modified time | relevance | path

Searched refs:shadowListView (Results 1 – 2 of 2) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowListViewTest.java157 ShadowListView shadowListView = prepareListWithThreeItems(); in findItemContainingText_shouldFindChildByString() local
158 View item1 = shadowListView.findItemContainingText("Item 1"); in findItemContainingText_shouldFindChildByString()
164 ShadowListView shadowListView = prepareListWithThreeItems(); in findItemContainingText_shouldReturnNullIfNotFound() local
165 assertThat(shadowListView.findItemContainingText("Non-existent item")).isNull(); in findItemContainingText_shouldReturnNullIfNotFound()
170 ShadowListView shadowListView = prepareListWithThreeItems(); in clickItemContainingText_shouldPerformItemClickOnList() local
177 shadowListView.clickFirstItemContainingText("Item 1"); in clickItemContainingText_shouldPerformItemClickOnList()
190 ShadowListView shadowListView = shadowOf(listView); in clickItemContainingText_shouldPerformItemClickOnList_arrayAdapter() local
197 shadowListView.clickFirstItemContainingText("Item 3"); in clickItemContainingText_shouldPerformItemClickOnList_arrayAdapter()
203 ShadowListView shadowListView = prepareListWithThreeItems(); in clickItemContainingText_shouldThrowExceptionIfNotFound() local
204 shadowListView.clickFirstItemContainingText("Non-existant item"); in clickItemContainingText_shouldThrowExceptionIfNotFound()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowAlertDialog.java59 ShadowListView shadowListView = Shadow.extract(realAlertDialog.getListView()); in clickOnItem() local
60 shadowListView.performItemClick(index); in clickOnItem()