-
- All Implemented Interfaces:
-
io.github.kakaocup.kakao.common.assertions.BaseAssertions
public interface TextInputLayoutAssertions implements BaseAssertions
Provides assertions for TextInputLayout
-
-
Method Summary
Modifier and Type Method Description UnithasHint(String hint)Checks if this input layout has given hint UnithasHint(@StringRes() Integer resId)UnitisHintEnabled()UnitisHintDisabled()UnithasError(@StringRes() Integer resId)UnithasError(String error)UnithasNoError()UnitisErrorEnabled()UnitisErrorDisabled()UnithasCounterMaxLength(Integer length)UnitisCounterEnabled()UnitisCounterDisabled()abstract ViewInteractionDelegategetView()abstract Matcher<Root>getRoot()abstract UnitsetRoot(Matcher<Root> root)-
Methods inherited from class io.github.kakaocup.kakao.edit.TextInputLayoutAssertions
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
-
hasHint
Unit hasHint(String hint)
Checks if this input layout has given hint
- Parameters:
hint-hint text to be checked
-
isHintEnabled
Unit isHintEnabled()
-
isHintDisabled
Unit isHintDisabled()
-
hasNoError
Unit hasNoError()
-
isErrorEnabled
Unit isErrorEnabled()
-
isErrorDisabled
Unit isErrorDisabled()
-
hasCounterMaxLength
Unit hasCounterMaxLength(Integer length)
-
isCounterEnabled
Unit isCounterEnabled()
-
isCounterDisabled
Unit isCounterDisabled()
-
getView
abstract ViewInteractionDelegate getView()
-
-
-
-