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

Latest commit

 

History

History
37 lines (27 loc) · 2.63 KB

File metadata and controls

37 lines (27 loc) · 2.63 KB

kakao / com.agoda.kakao.common.builders / RootBuilder

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

AllOf.allOf

Constructors

Name Summary
<init> RootBuilder()
Class for building root matchers

Functions

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