java.lang.Object | |
↳ | android.support.test.espresso.assertion.ViewAssertions |
A collection of common ViewAssertion
s.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns an assert that ensures the view matcher does not find any matching view in the
hierarchy.
| |||||||||||
Returns a generic
ViewAssertion that asserts that a view exists in the view hierarchy
and is matched by the given view matcher.
| |||||||||||
Returns a generic
ViewAssertion that asserts that the descendant views selected by the
selector match the specified matcher.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Returns an assert that ensures the view matcher does not find any matching view in the hierarchy.
Returns a generic ViewAssertion
that asserts that a view exists in the view hierarchy
and is matched by the given view matcher.
Returns a generic ViewAssertion
that asserts that the descendant views selected by the
selector match the specified matcher.
Example: onView(rootView).check(selectedDescendantsMatch(
not(isAssignableFrom(TextView.class)), hasContentDescription()));