-
- All Implemented Interfaces:
public class DetoxMatcher
Created by simonracz on 10/07/2017.
-
-
Method Summary
Modifier and Type Method Description static Matcher<View>
matcherForText(String text)
static Matcher<View>
matcherForContentDescription(String contentDescription)
static Matcher<View>
matcherForTestId(String testId)
static Matcher<View>
matcherForToggleable(boolean value)
static Matcher<View>
matcherForAnd(Matcher<View> m1, Matcher<View> m2)
static Matcher<View>
matcherForOr(Matcher<View> m1, Matcher<View> m2)
static Matcher<View>
matcherForNot(Matcher<View> m)
static Matcher<View>
matcherWithAncestor(Matcher<View> m, Matcher<View> ancestorMatcher)
static Matcher<View>
matcherWithDescendant(Matcher<View> m, Matcher<View> descendantMatcher)
static Matcher<View>
matcherForClass(String className)
static Matcher<View>
matcherForSufficientlyVisible(int pct)
static Matcher<View>
matcherForNotVisible()
static Matcher<View>
matcherForNotNull()
static Matcher<View>
matcherForNull()
static Matcher<View>
matcherForAtIndex(int index, Matcher<View> innerMatcher)
static Matcher<View>
matcherForAnything()
static Matcher<View>
matcherForFocus()
static Matcher<View>
matcherForSliderPosition(double position, double tolerance)
-
-
Method Detail
-
matcherForText
static Matcher<View> matcherForText(String text)
-
matcherForContentDescription
static Matcher<View> matcherForContentDescription(String contentDescription)
-
matcherForTestId
static Matcher<View> matcherForTestId(String testId)
-
matcherForToggleable
static Matcher<View> matcherForToggleable(boolean value)
-
matcherForAnd
static Matcher<View> matcherForAnd(Matcher<View> m1, Matcher<View> m2)
-
matcherForOr
static Matcher<View> matcherForOr(Matcher<View> m1, Matcher<View> m2)
-
matcherForNot
static Matcher<View> matcherForNot(Matcher<View> m)
-
matcherWithAncestor
static Matcher<View> matcherWithAncestor(Matcher<View> m, Matcher<View> ancestorMatcher)
-
matcherWithDescendant
static Matcher<View> matcherWithDescendant(Matcher<View> m, Matcher<View> descendantMatcher)
-
matcherForClass
static Matcher<View> matcherForClass(String className)
-
matcherForSufficientlyVisible
static Matcher<View> matcherForSufficientlyVisible(int pct)
-
matcherForNotVisible
static Matcher<View> matcherForNotVisible()
-
matcherForNotNull
static Matcher<View> matcherForNotNull()
-
matcherForNull
static Matcher<View> matcherForNull()
-
matcherForAtIndex
static Matcher<View> matcherForAtIndex(int index, Matcher<View> innerMatcher)
-
matcherForAnything
static Matcher<View> matcherForAnything()
-
matcherForFocus
static Matcher<View> matcherForFocus()
-
matcherForSliderPosition
static Matcher<View> matcherForSliderPosition(double position, double tolerance)
-
-
-
-