Skip to content

Commit

Permalink
Lines authored by ostrulovich
Browse files Browse the repository at this point in the history
This commit forms part of the blame-preserving initial commit suite.
  • Loading branch information
strulovich authored and Robert Spencer committed Mar 29, 2017
1 parent 9f3beb4 commit d61c9a5
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,8 @@ public static Predicate<View> hasVisibleTextWithTag(
return Predicates.and(hasVisibleText(text), hasTag(tagId, tagValue));
}

public static Predicate<View> matchesText(final String text) {
final Pattern pattern = Pattern.compile(text);

return new Predicate<View>() {
@Override

0 comments on commit d61c9a5

Please sign in to comment.