Searched refs:itemLabel (Results 1 – 3 of 3) sorted by relevance
91 private static void asssertContextMenuContainsItemWithEnabledState(String itemLabel, in asssertContextMenuContainsItemWithEnabledState() argument94 hasDescendant(getVisibleMenuItemMatcher(itemLabel, enabled)))); in asssertContextMenuContainsItemWithEnabledState()97 private static Matcher<View> getVisibleMenuItemMatcher(String itemLabel, boolean enabled) { in getVisibleMenuItemMatcher() argument100 hasDescendant(withText(itemLabel)), in getVisibleMenuItemMatcher()111 public static void assertContextMenuContainsItemEnabled(String itemLabel) { in assertContextMenuContainsItemEnabled() argument112 asssertContextMenuContainsItemWithEnabledState(itemLabel, true); in assertContextMenuContainsItemEnabled()121 public static void assertContextMenuContainsItemDisabled(String itemLabel) { in assertContextMenuContainsItemDisabled() argument122 asssertContextMenuContainsItemWithEnabledState(itemLabel, false); in assertContextMenuContainsItemDisabled()172 public static boolean isMenuItemClickable(String itemLabel) { in isMenuItemClickable() argument175 hasDescendant(getVisibleMenuItemMatcher(itemLabel, true)))); in isMenuItemClickable()[all …]
122 public static void assertFloatingToolbarContainsItem(String itemLabel) { in assertFloatingToolbarContainsItem() argument124 onFloatingToolBar().check(matches(hasDescendant(withText(itemLabel)))); in assertFloatingToolbarContainsItem()133 onFloatingToolBar().check(matches(hasDescendant(withText(itemLabel)))); in assertFloatingToolbarContainsItem()179 public static void assertFloatingToolbarDoesNotContainItem(String itemLabel) { in assertFloatingToolbarDoesNotContainItem() argument182 && itemLabel.equals(((MenuItem) view.getTag()).getTitle().toString()); in assertFloatingToolbarDoesNotContainItem()231 public static void clickFloatingToolbarItem(String itemLabel) { in clickFloatingToolbarItem() argument233 onFloatingToolBarItem(withText(itemLabel)).check(matches(isDisplayed())); in clickFloatingToolbarItem()238 onFloatingToolBarItem(withText(itemLabel)).perform(click()); in clickFloatingToolbarItem()
85 public static void assertSuggestionsPopupContainsItem(String itemLabel) { in assertSuggestionsPopupContainsItem() argument86 onSuggestionsPopupItem(withText(itemLabel)).check(matches(isDisplayed())); in assertSuggestionsPopupContainsItem()94 public static void clickSuggestionsPopupItem(String itemLabel) { in clickSuggestionsPopupItem() argument95 onSuggestionsPopupItem(withText(itemLabel)).perform(new SuggestionItemClickAction()); in clickSuggestionsPopupItem()