-
- All Implemented Interfaces:
-
io.github.kakaocup.kakao.common.assertions.BaseAssertions
public interface ChipGroupAssertions implements BaseAssertions
Provides assertions for a ChipGroup
-
-
Method Summary
Modifier and Type Method Description UnithasChip(String text)Check for Chip with text UnithasChip(Matcher<String> matcher)Check for Chip with matcher UnithasChip(@IdRes() Integer id)Check if ChipGroup has a Chip with id UnitisChipSelected(String text)Check if Chip with matching text in ChipGroup is selected UnitisChipSelected(Matcher<String> matcher)Check if Chip with matching text in ChipGroup is selected UnitisChipSelected(@IdRes() Integer id)Check if Chip with matching id in ChipGroup is selected UnithasSize(Integer size)Check if ChipGroup has size number of chips abstract ViewInteractionDelegategetView()abstract Matcher<Root>getRoot()abstract UnitsetRoot(Matcher<Root> root)-
Methods inherited from class io.github.kakaocup.kakao.chipgroup.ChipGroupAssertions
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
-
hasChip
Unit hasChip(Matcher<String> matcher)
Check for Chip with matcher
- Parameters:
matcher- expected matcher for chip
-
hasChip
Unit hasChip(@IdRes() Integer id)
Check if ChipGroup has a Chip with id
- Parameters:
id- Chip id
-
isChipSelected
Unit isChipSelected(String text)
Check if Chip with matching text in ChipGroup is selected
- Parameters:
text- text in chip
-
isChipSelected
Unit isChipSelected(Matcher<String> matcher)
Check if Chip with matching text in ChipGroup is selected
- Parameters:
matcher- matcher with text
-
isChipSelected
Unit isChipSelected(@IdRes() Integer id)
Check if Chip with matching id in ChipGroup is selected
- Parameters:
id- Chip id
-
hasSize
Unit hasSize(Integer size)
Check if ChipGroup has size number of chips
- Parameters:
size- Chip id
-
getView
abstract ViewInteractionDelegate getView()
-
-
-
-