Searched refs:mCountryList (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ListViewTest.java | 59 private final String[] mCountryList = new String[] { field in ListViewTest 88 android.R.layout.simple_list_item_1, mCountryList); in setUp() 180 assertEquals(mCountryList.length, mListView.getCount()); in testAccessAdapter() 375 assertEquals(mCountryList[1], item); in testSetSelection() 380 assertEquals(mCountryList[5], item); in testSetSelection() 385 assertEquals(mCountryList[0], item); in testSetSelection() 402 assertEquals(mCountryList[2], child.getText().toString()); in testPerformItemClick() 436 assertEquals(mCountryList[1], item); in testDispatchKeyEvent() 453 assertEquals(mCountryList[4], item); in testDispatchKeyEvent() 462 assertEquals(mCountryList[0], child.getText().toString()); in testRequestChildRectangleOnScreen() [all …]
|
D | AbsListViewTest.java | 61 private final String[] mCountryList = new String[] { field in AbsListViewTest 101 android.R.layout.simple_list_item_1, mCountryList); in setUp() 187 assertEquals(mCountryList.length, onScrollListener.getTotalItemCount()); in testSetOnScrollListener() 197 assertEquals(mCountryList.length, onScrollListener.getTotalItemCount()); in testSetOnScrollListener() 290 assertEquals(mCountryList.length-1, mListView.getSelectedItemPosition()); in testAccessStackFromBottom() 298 assertEquals(mCountryList[0], tv.getText().toString()); in testAccessSelectedItem() 302 assertEquals(mCountryList[5], tv.getText().toString()); in testAccessSelectedItem() 306 assertEquals(mCountryList[2], tv.getText().toString()); in testAccessSelectedItem()
|