HasBackgroundMatcher


class HasBackgroundMatcher : TypeSafeMatcher


Matcher to match android.view.View based on its background resource.

Summary

Public constructors

Public functions

Unit
describeTo(description: Description!)

Protected functions

Boolean

Inherited functions

From org.hamcrest.BaseMatcher
From org.hamcrest.TypeSafeMatcher
Unit
describeMismatch(item: Any!, description: Description!)
Unit
describeMismatchSafely(item: T!, mismatchDescription: Description!)
Boolean
matches(item: Any!)

Public constructors

HasBackgroundMatcher

HasBackgroundMatcher(drawableId: Int)

Public functions

describeTo

fun describeTo(description: Description!): Unit

Protected functions

matchesSafely

protected fun matchesSafely(view: View!): Boolean