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) · 2.77 KB

File metadata and controls

46 lines (32 loc) · 2.77 KB

kakao / com.agoda.kakao.delegate / ViewInteractionDelegate

ViewInteractionDelegate

class ViewInteractionDelegate : Delegate<ViewInteraction, ViewAssertion, ViewAction>

Delegation class for ViewInteraction. Wraps all available public calls and intercepts check and perform.

See Also

Delegate

Interceptor

Constructors

Name Summary
<init> ViewInteractionDelegate(interaction: ViewInteraction)
Delegation class for ViewInteraction. Wraps all available public calls and intercepts check and perform.

Properties

Name Summary
interaction var interaction: ViewInteraction
interceptor var interceptor: Interceptor<ViewInteraction, ViewAssertion, ViewAction>?

Functions

Name Summary
check fun check(viewAssert: ViewAssertion): ViewInteractionDelegate
inRoot fun inRoot(rootMatcher: Matcher<Root>): ViewInteractionDelegate
kakaoInterceptor fun kakaoInterceptor(): Interceptor<ViewInteraction, ViewAssertion, ViewAction>?
noActivity fun noActivity(): ViewInteractionDelegate
perform fun perform(vararg viewActions: ViewAction): ViewInteractionDelegate
screenInterceptors fun screenInterceptors(): Deque<Interceptor<ViewInteraction, ViewAssertion, ViewAction>>
withFailureHandler fun withFailureHandler(failureHandler: FailureHandler): ViewInteractionDelegate

Inherited Functions

Name Summary
interceptCheck open fun interceptCheck(assertion: ASSERTION): Boolean
Runs the interceptors available for the given delegate during the check operation.
interceptPerform open fun interceptPerform(action: ACTION): Boolean
Runs the interceptors available for the given delegate during the perform operation.