Skip to content
This repository has been archived by the owner on May 26, 2021. It is now read-only.

Latest commit

 

History

History
46 lines (32 loc) · 5.37 KB

File metadata and controls

46 lines (32 loc) · 5.37 KB

kakao / com.agoda.kakao.spinner / KSpinnerItem

KSpinnerItem

class KSpinnerItem : KAdapterItem<KTextView>, TextViewAssertions

KTextView implementation of KAdapterItem

Use this if you want to perform/assert on the root view of adapter item

Parameters

parent - Matcher of the root view of adapter item

See Also

KAdapterItem

Constructors

Name Summary
<init> KSpinnerItem(parent: DataInteraction)
KTextView implementation of KAdapterItem

Inherited Properties

Name Summary
root open var root: Matcher<Root!>!
view open val view: ViewInteractionDelegate

Inherited Functions

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 textopen 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
perform infix fun perform(function: T.() -> Unit): T
Infix function for invoking lambda on your view
startsWithText open fun startsWithText(text: String): Unit
Checks if the view text start with given substring