{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
class HasBackgroundMatcher : TypeSafeMatcher
| kotlin.Any | |||
| ↳ | 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(drawableId: Int) |
|
Public functions |
|
|---|---|
Unit |
describeTo(description: Description!) |
Protected functions |
|
|---|---|
Boolean |
matchesSafely(view: View!) |
Inherited functions |
||||||
|---|---|---|---|---|---|---|
|
||||||