Package 

Interface ImageViewAssertions

  • All Implemented Interfaces:
    io.github.kakaocup.kakao.common.assertions.BaseAssertions

    
    public interface ImageViewAssertions
     implements BaseAssertions
                        

    Provides assertion for image views

    • Method Summary

      Modifier and Type Method Description
      Unit hasDrawable(@DrawableRes() Integer resId, Function1<Drawable, Bitmap> toBitmap) Checks if the view displays given drawable
      Unit hasDrawable(Drawable drawable, Function1<Drawable, Bitmap> toBitmap) Checks if the view displays given drawable
      Unit hasDrawableWithTint(@DrawableRes() Integer resId, @ColorRes() Integer tintColorId, Function1<Drawable, Bitmap> toBitmap) Checks if the view displays given drawable
      Unit hasDrawableWithTint(Drawable drawable, @ColorRes() Integer tintColorId, Function1<Drawable, Bitmap> toBitmap) Checks if the view displays given drawable
      abstract ViewInteractionDelegate getView()
      abstract Matcher<Root> getRoot()
      abstract Unit setRoot(Matcher<Root> root)
      • Methods inherited from class io.github.kakaocup.kakao.image.ImageViewAssertions

        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