Lines Matching defs:expected
34 // number of times to poll when checking expected UI state
43 /** Test that we can move the selection and it responds as expected */
90 // check for selection position as expected
117 // check for selection position as expected
150 // check for selection position as expected
225 boolean expected) throws InterruptedException {
227 if (textView.isPopupShowing() == expected) {
232 assertEquals(message, expected, textView.isPopupShowing());
235 private void waitAssertListSelection(AutoCompleteTextView textView, int expected)
237 waitAssertListSelection("getListSelection()", textView, expected);
241 int expected) throws Exception {
245 if (expected == currentSelection) {
250 assertEquals(message, expected, textView.getListSelection());