HasBackgroundMatcher

public final class HasBackgroundMatcher extends TypeSafeMatcher


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

Summary

Public constructors

HasBackgroundMatcher(int drawableId)

Public methods

void
describeTo(Description description)

Protected methods

boolean

Inherited methods

From org.hamcrest.BaseMatcher
final void

This method is deprecated.

String
From org.hamcrest.TypeSafeMatcher
final void
describeMismatch(Object item, Description description)
void
describeMismatchSafely(T item, Description mismatchDescription)
final boolean

Public constructors

HasBackgroundMatcher

public HasBackgroundMatcher(int drawableId)

Public methods

describeTo

public void describeTo(Description description)

Protected methods

matchesSafely

protected boolean matchesSafely(View view)