Package 

Interface TextViewAssertions

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

    
    public interface TextViewAssertions
     implements BaseAssertions
                        

    Provides text based assertions for views

    • Method Summary

      Modifier and Type Method Description
      Unit hasEmptyText() Checks if the view have not any text
      Unit hasAnyText() Checks if the view has any text
      Unit hasText(String text) Checks if the view has given text
      Unit hasText(@StringRes() Integer resId) Checks if the view has given text
      Unit hasText(Matcher<String> matcher) Checks if the view has text that matches given matcher
      Unit hasTextColor(@ColorRes() Integer resId) Checks if the view has given text color
      Unit hasNoText(String text) Checks if the view does not have a given text
      Unit hasNoText(@StringRes() Integer resId) Checks if the view does not have a given text
      Unit hasContentDescription(String text) Checks if the view has given content description
      Unit containsText(String text) Checks if the view contains given text
      Unit startsWithText(String text) Checks if the view text start with given substring
      Unit hasHint(String hint) Checks if the view has given hint
      Unit hasHint(@StringRes() Integer resId) Checks if the view has given hint
      abstract ViewInteractionDelegate getView()
      abstract Matcher<Root> getRoot()
      abstract Unit setRoot(Matcher<Root> root)
      • Methods inherited from class io.github.kakaocup.kakao.text.TextViewAssertions

        assert, doesNotExist, hasAnyTag, hasBackgroundColor, hasBackgroundColor, hasDescendant, hasNotDescendant, hasNotSibling, hasSibling, hasTag, inRoot, isClickable, isCompletelyAbove, isCompletelyBelow, isCompletelyDisplayed, isCompletelyLeftOf, isCompletelyRightOf, isDisabled, isDisplayed, isEnabled, isFocusable, isFocused, isGone, 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