CompoundDrawableMatcher

public final class CompoundDrawableMatcher extends BoundedMatcher<View, TextView>

Matcher of compound drawables for TextView

Parameters

leftDrawableResId
  • id res of left compound drawable

topDrawableResId
  • id res of top compound drawable

rightDrawableResId
  • id res of right compound drawable

bottomDrawableResId
  • id res of bottom compound drawable

tintColorId
  • id res of compound drawable tint

Constructors

Link copied to clipboard
public CompoundDrawableMatcher CompoundDrawableMatcher(@DrawableRes() Integer leftDrawableResId, @DrawableRes() Integer topDrawableResId, @DrawableRes() Integer rightDrawableResId, @DrawableRes() Integer bottomDrawableResId, @ColorRes() Integer tintColorId)

Functions

Link copied to clipboard
public Unit describeMismatch(Object item, Description description)
Link copied to clipboard
public Unit describeTo(Description description)
Link copied to clipboard
public final Boolean matches(Object item)
Link copied to clipboard
public String toString()