{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
public final class HasBackgroundMatcher extends TypeSafeMatcher
| java.lang.Object | |||
| ↳ | org.hamcrest.BaseMatcher | ||
| ↳ | org.hamcrest.TypeSafeMatcher | ||
| ↳ | androidx.test.espresso.matcher.HasBackgroundMatcher | ||
Matcher to match android.view.View based on its background resource.
Public constructors |
|
|---|---|
HasBackgroundMatcher(int drawableId) |
|
Public methods |
|
|---|---|
void |
describeTo(Description description) |
Protected methods |
|
|---|---|
boolean |
matchesSafely(View view) |
Inherited methods |
||||||
|---|---|---|---|---|---|---|
|
||||||