-
- All Implemented Interfaces:
-
io.github.kakaocup.kakao.common.assertions.BaseAssertions
public interface ToolbarViewAssertions implements BaseAssertions
Provides assertion for Toolbar
-
-
Method Summary
Modifier and Type Method Description UnithasTitle(String title)Checks if Toolbar has title UnithasTitle(Integer resId)Checks if Toolbar has title UnithasSubtitle(String subtitle)Checks if Toolbar has subtitle UnithasSubtitle(Integer resId)Checks if Toolbar has subtitle UnithasHomeAsUpIndicatorDrawable(@DrawableRes() Integer resId)Checks if Toolbar has navigation icon UnithasHomeAsUpIndicatorDrawable(Drawable drawable)Checks if Toolbar has navigation icon abstract ViewInteractionDelegategetView()abstract Matcher<Root>getRoot()abstract UnitsetRoot(Matcher<Root> root)-
Methods inherited from class io.github.kakaocup.kakao.toolbar.ToolbarViewAssertions
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
-
hasTitle
Unit hasTitle(String title)
Checks if Toolbar has title
- Parameters:
title- expected title string
-
hasTitle
Unit hasTitle(Integer resId)
Checks if Toolbar has title
- Parameters:
resId- expected title resource id
-
hasSubtitle
Unit hasSubtitle(String subtitle)
Checks if Toolbar has subtitle
- Parameters:
subtitle- expected subtitle string
-
hasSubtitle
Unit hasSubtitle(Integer resId)
Checks if Toolbar has subtitle
- Parameters:
resId- expected subtitle resource id
-
hasHomeAsUpIndicatorDrawable
Unit hasHomeAsUpIndicatorDrawable(@DrawableRes() Integer resId)
Checks if Toolbar has navigation icon
- Parameters:
resId- expected drawable resource id
-
hasHomeAsUpIndicatorDrawable
Unit hasHomeAsUpIndicatorDrawable(Drawable drawable)
Checks if Toolbar has navigation icon
- Parameters:
drawable- expected drawable
-
getView
abstract ViewInteractionDelegate getView()
-
-
-
-