kakao / com.agoda.kakao.common.builders / RootBuilder
class RootBuilder
Class for building root matchers
This class helps to build matches for root. Please note that any function invoking will add specific matcher to the list and after that all of them will be combined with help of AllOf.allOf()
See Also
Name | Summary |
---|---|
<init> | RootBuilder() Class for building root matchers |
Name | Summary |
---|---|
getRootMatcher | fun getRootMatcher(): Matcher<Root> Returns combined root matchers with AllOf.allOf() |
isDialog | fun isDialog(): Unit Matches root that is dialog |
isFocusable | fun isFocusable(): Unit Matches root that is focusable |
isNotDialog | fun isNotDialog(): Unit Matches root that is not dialog |
isNotFocusable | fun isNotFocusable(): Unit Matches root that is not focusable |
isNotPlatformPopup | fun isNotPlatformPopup(): Unit Matches root that is not platform popup |
isNotTouchable | fun isNotTouchable(): Unit Matches root that is not touchable |
isPlatformPopup | fun isPlatformPopup(): Unit Matches root that is platform popup |
isTouchable | fun isTouchable(): Unit Matches root that is touchable |
withDecorView | fun withDecorView(function: ViewBuilder .() -> Unit ): Unit Matches root that has decor view matching given matcher |
withMatcher | fun withMatcher(matcher: Matcher<Root>): Unit Matches root with given custom matcher |