| java.lang.Object | |
| ↳ | androidx.test.espresso.assertion.LayoutAssertions |
A collection of layout ViewAssertions.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns a
ViewAssertion that asserts that view hierarchy does not contain ellipsized or
cut off text views. | |||||||||||
Returns a
ViewAssertion that asserts that view hierarchy does not contain multiline
buttons. | |||||||||||
Returns a
ViewAssertion that asserts that descendant views matching the selector do not
overlap each other. | |||||||||||
Returns a
ViewAssertion that asserts that descendant objects assignable to TextView or
ImageView do not overlap each other. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
| |||||||||||
Returns a ViewAssertion that asserts that view hierarchy does not contain ellipsized or
cut off text views.
| Returns | |
|---|---|
ViewAssertion |
|
Returns a ViewAssertion that asserts that view hierarchy does not contain multiline
buttons.
| Returns | |
|---|---|
ViewAssertion |
|
Returns a ViewAssertion that asserts that descendant views matching the selector do not
overlap each other.
Example: onView(rootView).check(noOverlaps(isAssignableFrom(TextView.class));
| Parameters | |
|---|---|
selector |
Matcher |
| Returns | |
|---|---|
ViewAssertion |
|
Returns a ViewAssertion that asserts that descendant objects assignable to TextView or
ImageView do not overlap each other.
Example: onView(rootView).check(noOverlaps());
| Returns | |
|---|---|
ViewAssertion |
|