Searched refs:textMatches (Results 1 – 10 of 10) sorted by relevance
351 public static @NonNull UiObject2Condition<Boolean> textMatches(@NonNull Pattern regex) {369 public static @NonNull UiObject2Condition<Boolean> textMatches(@NonNull String regex) {370 return textMatches(Pattern.compile(regex, Pattern.DOTALL));396 return textMatches(Pattern.quote(text));404 return textMatches(Patterns.contains(substring));412 return textMatches(Patterns.startsWith(substring));420 return textMatches(Patterns.endsWith(substring));
126 public @NonNull UiSelector textMatches(@NonNull String regex) { in textMatches() method in UiSelector
47 assertTrue(mDevice.findObject(new UiSelector().textMatches(".*text.*")).exists()); in testTextMatches()48 assertFalse(mDevice.findObject(new UiSelector().textMatches(".*nottext.*")).exists()); in testTextMatches()51 new UiSelector().textMatches(".*text.*").toString()); in testTextMatches()
239 assertTrue(target.wait(Until.textMatches("update.*text$"), TIMEOUT_MS)); in testTextMatches()
376 method public androidx.test.uiautomator.UiSelector! textMatches(String!);410 …blic static androidx.test.uiautomator.UiObject2Condition<java.lang.Boolean!>! textMatches(String!);411 …atic androidx.test.uiautomator.UiObject2Condition<java.lang.Boolean!>! textMatches(java.util.regex…
427 method public androidx.test.uiautomator.UiSelector textMatches(String);460 …public static androidx.test.uiautomator.UiObject2Condition<java.lang.Boolean!> textMatches(String);461 …tatic androidx.test.uiautomator.UiObject2Condition<java.lang.Boolean!> textMatches(java.util.regex…
581 method public androidx.test.uiautomator.UiSelector textMatches(String);614 …public static androidx.test.uiautomator.UiObject2Condition<java.lang.Boolean!> textMatches(String);615 …tatic androidx.test.uiautomator.UiObject2Condition<java.lang.Boolean!> textMatches(java.util.regex…