-
- All Implemented Interfaces:
-
io.github.kakaocup.kakao.common.assertions.BaseAssertions
public interface ChipAssertions implements BaseAssertions
-
-
Method Summary
Modifier and Type Method Description <ERROR CLASS>hasCheckedIcon(@DrawableRes() Integer resId, Drawable drawable, @ColorRes() Integer tintColorId, Function1<Drawable, Bitmap> toBitmap)Check if Chip has correct icon for ChipIconType.CHECKED icon type. <ERROR CLASS>hasChipIcon(@DrawableRes() Integer resId, Drawable drawable, @ColorRes() Integer tintColorId, Function1<Drawable, Bitmap> toBitmap)Check if Chip has correct icon for ChipIconType.CHIP icon type. <ERROR CLASS>hasCloseIcon(@DrawableRes() Integer resId, Drawable drawable, @ColorRes() Integer tintColorId, Function1<Drawable, Bitmap> toBitmap)Check if Chip has correct icon for ChipIconType.CLOSE icon type. <ERROR CLASS>hasNoIconVisible()Verify all icons are hidden BooleanverifyNoIconVisible(ChipDrawable $self)abstract ViewInteractionDelegategetView()abstract Matcher<Root>getRoot()abstract UnitsetRoot(Matcher<Root> root)-
Methods inherited from class io.github.kakaocup.kakao.chip.ChipAssertions
assert, doesNotExist, hasAnyTag, hasBackgroundColor, hasBackgroundColor, hasDescendant, hasNotDescendant, hasNotSibling, hasSibling, hasTag, inRoot, isActivated, isAutoHandwritingEnabled, isClickable, isCompletelyAbove, isCompletelyBelow, isCompletelyDisplayed, isCompletelyLeftOf, isCompletelyRightOf, isDirty, isDisabled, isDisplayed, isEnabled, isFocusable, isFocused, isForceDarkAllowed, isGone, isHapticFeedbackEnabled, isHovered, isInvisible, isNotClickable, isNotCompletelyDisplayed, isNotDisplayed, isNotFocusable, isNotFocused, isNotSelected, isSelected, isVisible, matches, notMatches -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
hasCheckedIcon
<ERROR CLASS> hasCheckedIcon(@DrawableRes() Integer resId, Drawable drawable, @ColorRes() Integer tintColorId, Function1<Drawable, Bitmap> toBitmap)
Check if Chip has correct icon for ChipIconType.CHECKED icon type.
- Parameters:
resId- Drawable resource to be matched (default is -1)drawable- Drawable instance to be matched (default is null)tintColorId- Tint color resource id (default is null)toBitmap- Lambda with custom Drawable -> Bitmap converter (default is null)
-
hasChipIcon
<ERROR CLASS> hasChipIcon(@DrawableRes() Integer resId, Drawable drawable, @ColorRes() Integer tintColorId, Function1<Drawable, Bitmap> toBitmap)
Check if Chip has correct icon for ChipIconType.CHIP icon type.
- Parameters:
resId- Drawable resource to be matched (default is -1)drawable- Drawable instance to be matched (default is null)tintColorId- Tint color resource id (default is null)toBitmap- Lambda with custom Drawable -> Bitmap converter (default is null)
-
hasCloseIcon
<ERROR CLASS> hasCloseIcon(@DrawableRes() Integer resId, Drawable drawable, @ColorRes() Integer tintColorId, Function1<Drawable, Bitmap> toBitmap)
Check if Chip has correct icon for ChipIconType.CLOSE icon type.
- Parameters:
resId- Drawable resource to be matched (default is -1)drawable- Drawable instance to be matched (default is null)tintColorId- Tint color resource id (default is null)toBitmap- Lambda with custom Drawable -> Bitmap converter (default is null)
-
hasNoIconVisible
<ERROR CLASS> hasNoIconVisible()
Verify all icons are hidden
-
verifyNoIconVisible
Boolean verifyNoIconVisible(ChipDrawable $self)
-
getView
abstract ViewInteractionDelegate getView()
-
-
-
-