-
- All Implemented Interfaces:
-
io.github.kakaocup.kakao.delegate.Delegate
public final class ViewInteractionDelegate implements Delegate<ViewInteraction, ViewAssertion, ViewAction>
Delegation class for ViewInteraction. Wraps all available public calls and intercepts check and perform.
-
-
Field Summary
Fields Modifier and Type Field Description private Interceptor<ViewInteraction, ViewAssertion, ViewAction>interceptorprivate ViewInteractioninteraction
-
Constructor Summary
Constructors Constructor Description ViewInteractionDelegate(ViewInteraction interaction)
-
Method Summary
Modifier and Type Method Description Interceptor<ViewInteraction, ViewAssertion, ViewAction>getInterceptor()UnitsetInterceptor(Interceptor<ViewInteraction, ViewAssertion, ViewAction> interceptor)ViewInteractiongetInteraction()UnitsetInteraction(ViewInteraction interaction)final <ERROR CLASS>check(ViewAssertion viewAssert)final <ERROR CLASS>inRoot(Matcher<Root> rootMatcher)final <ERROR CLASS>noActivity()final <ERROR CLASS>perform(ViewAction viewActions)final <ERROR CLASS>withFailureHandler(FailureHandler failureHandler)Deque<Interceptor<ViewInteraction, ViewAssertion, ViewAction>>screenInterceptors()Interceptor<ViewInteraction, ViewAssertion, ViewAction>kakaoInterceptor()-
-
Constructor Detail
-
ViewInteractionDelegate
ViewInteractionDelegate(ViewInteraction interaction)
-
-
Method Detail
-
getInterceptor
Interceptor<ViewInteraction, ViewAssertion, ViewAction> getInterceptor()
-
setInterceptor
Unit setInterceptor(Interceptor<ViewInteraction, ViewAssertion, ViewAction> interceptor)
-
getInteraction
ViewInteraction getInteraction()
-
setInteraction
Unit setInteraction(ViewInteraction interaction)
-
check
@Contract(value = _->this) final <ERROR CLASS> check(ViewAssertion viewAssert)
-
noActivity
@Contract(value = _->this) final <ERROR CLASS> noActivity()
-
perform
@Contract(value = _->this) final <ERROR CLASS> perform(ViewAction viewActions)
-
withFailureHandler
@Contract(value = _->this) final <ERROR CLASS> withFailureHandler(FailureHandler failureHandler)
-
screenInterceptors
Deque<Interceptor<ViewInteraction, ViewAssertion, ViewAction>> screenInterceptors()
-
kakaoInterceptor
Interceptor<ViewInteraction, ViewAssertion, ViewAction> kakaoInterceptor()
-
-
-
-