/frameworks/support/core-ui/tests/java/android/support/v4/view/ |
H A D | ViewPagerWithTabStripTest.java | 21 import static android.support.test.espresso.action.ViewActions.click; 50 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Red"))).perform(click()); 54 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Green"))).perform(click()); 58 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Red"))).perform(click()); 65 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Green"))).perform(click()); 69 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Blue"))).perform(click());
|
H A D | ViewPagerWithTitleStripTest.java | 21 import static android.support.test.espresso.action.ViewActions.click; 51 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Red"))).perform(click()); 55 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Green"))).perform(click()); 61 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Red"))).perform(click()); 65 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Green"))).perform(click()); 69 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Blue"))).perform(click());
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/ |
H A D | RenameDocumentUiTest.java | 79 bots.main.menuRename().click(); 83 bots.main.findDialogOkButton().click(); 94 bots.main.menuRename().click(); 108 bots.main.menuRename().click(); 112 bots.main.findDialogCancelButton().click(); 126 bots.main.menuRename().click(); 141 bots.main.menuRename().click();
|
H A D | FilesActivityUiTest.java | 119 bots.main.menuNewFolder().click(); 134 bots.main.menuDelete().click(); 136 bots.main.findDialogOkButton().click(); 148 bots.main.menuDelete().click(); 150 bots.main.findDialogCancelButton().click(); 217 doc.click();
|
H A D | TestInputEvent.java | 78 public static TestInputEvent click(int position) { method in class:TestInputEvent
|
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
H A D | UiBot.java | 67 click(notification, "bug report notification"); 121 public void click(UiObject uiObject, String description) { method in class:UiBot 123 boolean clicked = uiObject.click(); 124 // TODO: assertion below fails sometimes, even though the click succeeded, 126 // assertTrue("could not click on object '" + description + "'", clicked); 167 click(activity, name); 182 click(justOnce, "Just Once");
|
H A D | BugreportReceiverTest.java | 239 mUiBot.click(cancelButton, "cancel_button"); 510 // Send notification and click on share. 524 mUiBot.click(dontShowAgain, "dont-show-again"); 531 mUiBot.click(dontShowAgain, "dont-show-again"); 534 mUiBot.click(ok, "ok"); 905 mUiBot.click(screenshotButton, "screenshot_button"); 961 mUiBot.click(detailsButton, "details_button"); 963 mUiBot.click(notification, "notification"); 998 mUiBot.click(nameField, "name_field"); 1006 mUiBot.click(titleFiel [all...] |
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/ |
H A D | AlertDialogCursorTest.java | 44 import static android.support.test.espresso.action.ViewActions.click; 153 onView(withId(R.id.test_button)).perform(click()); 171 // Verify that our click listener hasn't been called yet 173 // Test that a click on an item invokes the registered listener 179 interactionForClick.inRoot(isDialog()).perform(click()); 241 onView(withId(R.id.test_button)).perform(click()); 254 // We're going to click item #1 and test that the click listener has been invoked to 261 interactionForClick.inRoot(isDialog()).perform(click()); 264 // Now click ite [all...] |
H A D | AlertDialogTest.java | 50 import static android.support.test.espresso.action.ViewActions.click; 128 onView(withId(R.id.test_button)).perform(click()); 159 onView(withId(R.id.test_button)).perform(click()); 174 onView(withId(R.id.test_button)).perform(click()); 228 onView(withId(R.id.test_button)).perform(click()); 256 onView(withId(R.id.test_button)).perform(click()); 297 onView(withId(R.id.test_button)).perform(click()); 312 onView(withId(R.id.test_button)).perform(click()); 340 onView(withId(R.id.test_button)).perform(click()); 359 onView(withId(R.id.test_button)).perform(click()); [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | TextViewActivityMouseTest.java | 38 import static android.support.test.espresso.action.ViewActions.click; 70 onView(withId(R.id.textview)).perform(click()); 94 onView(withId(R.id.textview)).perform(click()); 105 onView(withId(R.id.textview)).perform(click()); 156 onView(withId(R.id.textview)).perform(click()); 173 onView(withId(R.id.textview)).perform(click()); 190 onView(withId(R.id.textview)).perform(click()); 215 onView(withId(R.id.textview)).perform(click()); 240 onView(withId(R.id.textview)).perform(click()); 251 onView(withId(R.id.textview)).perform(click()); [all...] |
H A D | TextViewActivityTest.java | 38 import static android.support.test.espresso.action.ViewActions.click; 78 onView(withId(R.id.textview)).perform(click()); 87 onView(withId(R.id.textview)).perform(click()); 101 onView(withId(R.id.textview)).perform(click()); 122 onView(withId(R.id.textview)).perform(click()); 136 onView(withId(R.id.textview)).perform(click()); 147 onView(withId(R.id.textview)).perform(click()); 160 onView(withId(R.id.textview)).perform(click()); 171 onView(withId(R.id.textview)).perform(click()); 193 onView(withId(R.id.textview)).perform(click()); [all...] |
H A D | SuggestionsPopupWindowTest.java | 22 import static android.support.test.espresso.action.ViewActions.click; 88 onView(withId(R.id.textview)).perform(click()); 106 onView(withId(R.id.textview)).perform(click()); 128 onView(withId(R.id.textview)).perform(click()); 136 onHandleView(com.android.internal.R.id.insertion_handle).perform(click()); 157 onView(withId(R.id.textview)).perform(click()); 195 onView(withId(R.id.textview)).perform(click()); 222 onView(withId(R.id.textview)).perform(click()); 289 onView(withId(R.id.textview)).perform(click());
|
H A D | EditorCursorTest.java | 28 import static android.support.test.espresso.action.ViewActions.click; 79 onView(sameInstance(mEditText)).perform(click());
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
H A D | FloatingToolbarEspressoUtils.java | 20 import static android.support.test.espresso.action.ViewActions.click; 93 .perform(click()); 152 onFloatingToolBarItem(withText(itemLabel)).perform(click());
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/ |
H A D | AppCompatSpinnerTest.java | 30 import static android.support.test.espresso.action.ViewActions.click; 67 onView(withId(spinnerId)).perform(click()); 87 onView(withText(itemText)).perform(click());
|
H A D | PopupMenuTest.java | 20 import static android.support.test.espresso.action.ViewActions.click; 106 onView(withId(R.id.test_button)).perform(click()); 269 onView(withId(R.id.test_button)).perform(click()); 292 onView(withId(R.id.test_button)).perform(click()); 316 onView(withId(R.id.test_button)).perform(click()); 372 onView(withId(R.id.test_button)).perform(click()); 374 // Verify that our menu item click listener hasn't been called yet 379 .perform(click()); 381 // Verify that out menu item click listener has been called with the expected menu item 395 onView(withId(R.id.test_button)).perform(click()); [all...] |
H A D | ListPopupWindowTest.java | 43 import static android.support.test.espresso.action.ViewActions.click; 68 * Item click listener that dismisses our <code>ListPopupWindow</code> when any item 98 onView(withId(R.id.test_button)).perform(click()); 126 onView(withId(R.id.test_button)).perform(click()); 151 onView(withId(R.id.test_button)).perform(click()); 170 // Also register a click listener on the top-level container 174 onView(withId(R.id.test_button)).perform(click()); 225 assertFalse("Popup window not showing after outside click", mListPopupWindow.isShowing()); 227 // Also test that the click outside the popup bounds has been "delivered" to the main 250 onView(withId(R.id.test_button)).perform(click()); [all...] |
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/bots/ |
H A D | RootsListBot.java | 56 new UiObject(hamburger).click(); 68 findRoot(label).click();
|
H A D | UiBot.java | 98 searchView.click(); 112 obj.click(); 124 mode.click(); 126 menuListMode().click();
|
H A D | DirectoryListBot.java | 118 doc.click(); 123 findDocument(label).click();
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/ |
H A D | DocumentHolderTest.java | 56 click(); 65 public void click() { method in class:DocumentHolderTest
|
H A D | MultiSelectManagerTest.java | 83 click(11); 84 click(RecyclerView.NO_POSITION); 341 private void click(int position) { method in class:MultiSelectManagerTest 342 mManager.onSingleTapUp(TestInputEvent.click(position));
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
H A D | BottomNavigationViewTest.java | 21 import static android.support.test.espresso.action.ViewActions.click; 120 isDescendantOfA(withId(R.id.bottom_navigation)), isDisplayed())).perform(click()); 121 // Verify our listener has been notified of the click 130 isDescendantOfA(withId(R.id.bottom_navigation)), isDisplayed())).perform(click()); 131 // Verify our listener has been notified of the click 138 // Set null listener to test that the next click is not going to notify the 144 isDescendantOfA(withId(R.id.bottom_navigation)), isDisplayed())).perform(click()); 145 // And that our previous listener has not been notified of the click
|
H A D | BottomSheetBehaviorTouchTest.java | 99 .perform(ViewActions.click()) // Click outside the bottom sheet
|
H A D | TextInputLayoutTest.java | 27 import static android.support.test.espresso.action.ViewActions.click; 119 // Now click the toggle button 120 onView(withId(R.id.text_input_password_toggle)).perform(click()); 157 // Now click the toggle button 158 onView(withId(R.id.text_input_password_toggle)).perform(click()); 200 // First click on the EditText, so that it is focused and the hint collapses... 201 onView(withId(R.id.textinput_edittext)).perform(click());
|