kakao / com.agoda.kakao.check / KCheckBox
class KCheckBox :
KBaseView
<
KCheckBox
>,
CheckableActions
,
TextViewAssertions
,
CheckableAssertions
View with CheckableActions, CheckableAssertions and TextViewAssertions
See Also
Name | Summary |
---|---|
<init> | KCheckBox(function: ViewBuilder .() -> Unit ) KCheckBox(parent: Matcher< View >, function: ViewBuilder .() -> Unit ) KCheckBox(parent: DataInteraction, function: ViewBuilder .() -> Unit ) |
Name | Summary |
---|---|
root | open var root: Matcher<Root> |
view | open val view: ViewInteractionDelegate |
Name | Summary |
---|---|
containsText | open fun containsText(text: String ): Unit Checks if the view contains given text |
hasAnyText | open fun hasAnyText(): Unit Checks if the view has any text |
hasContentDescription | open fun hasContentDescription(text: String ): Unit Checks if the view has given content description |
hasEmptyText | open fun hasEmptyText(): Unit Checks if the view have not any text |
hasHint | open fun hasHint(hint: String ): Unit open fun hasHint(resId: Int ): Unit Checks if the view has given hint |
hasNoText | open fun hasNoText(text: String ): Unit open fun hasNoText(resId: Int ): Unit Checks if the view does not have a given text |
hasText | open fun hasText(text: String ): Unit open fun hasText(resId: Int ): Unit Checks if the view has given text open fun hasText(matcher: Matcher< String >): Unit Checks if the view has text that matches given matcher |
hasTextColor | open fun hasTextColor(resId: Int ): Unit Checks if the view has given text color |
invoke | operator fun invoke(function: T .() -> Unit ): Unit Operator that allows usage of DSL style |
isChecked | open fun isChecked(): Unit Checks if the view is checked |
isNotChecked | open fun isNotChecked(): Unit Checks if the view is not checked |
perform | infix fun perform(function: T .() -> Unit ): T Infix function for invoking lambda on your view |
setChecked | open fun setChecked(checked: Boolean ): Unit Sets checked state of the view |
startsWithText | open fun startsWithText(text: String ): Unit Checks if the view text start with given substring |