-
- All Implemented Interfaces:
-
org.hamcrest.Matcher,org.hamcrest.SelfDescribing
public final class ChipDrawableMatcher extends TypeSafeMatcher<View>
Matches given drawable with current one for the chipIconType drawable type.
-
-
Constructor Summary
Constructors Constructor Description ChipDrawableMatcher(Integer resId, Drawable drawable, ChipIconType chipIconType, Integer tintColorId, Function1<Drawable, Bitmap> toBitmap)
-
Method Summary
Modifier and Type Method Description UnitdescribeTo(Description desc)-
Methods inherited from class org.hamcrest.TypeSafeMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString -
Methods inherited from class io.github.kakaocup.kakao.chip.ChipDrawableMatcher
describeMismatch, describeMismatchSafely, matches -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ChipDrawableMatcher
ChipDrawableMatcher(Integer resId, Drawable drawable, ChipIconType chipIconType, Integer tintColorId, Function1<Drawable, Bitmap> toBitmap)
- Parameters:
resId- Drawable resource to be matched (default is -1)drawable- Drawable instance to be matched (default is null)chipIconType- drawable type to verify againsttintColorId- Tint color resource id (default is null)toBitmap- Lambda with custom Drawable -> Bitmap converter (default is null)
-
-
Method Detail
-
describeTo
Unit describeTo(Description desc)
-
-
-
-