InteractionRequest
public final class InteractionRequest implements EspressoRemoteMessage.To
Encapsulates an InteractionRequestProto request. Takes care of all the proto packing and unpacking.
Summary
Nested types |
|---|
public class InteractionRequest.BuilderCreates an instance of |
Public fields |
|
|---|---|
final @Nullable Matcher<Root> |
|
final @Nullable ViewAction |
|
final @Nullable ViewAssertion |
|
final @Nullable Matcher<View> |
Public methods |
|
|---|---|
Matcher<Root> |
Returns the |
ViewAction |
Returns the |
ViewAssertion |
Returns the |
Matcher<View> |
Returns the |
MessageLite |
toProto() |
Public fields
Public methods
getRootMatcher
public Matcher<Root> getRootMatcher()
Returns the Matcher associated with this InteractionRequest or
null if no Matcher was set.
getViewAction
public ViewAction getViewAction()
Returns the ViewAction associated with this InteractionRequest or null if no ViewAction was set.
getViewAssertion
public ViewAssertion getViewAssertion()
Returns the ViewAssertion associated with this InteractionRequest or
null if no ViewAssertion was set.
getViewMatcher
public Matcher<View> getViewMatcher()
Returns the Matcher associated with this InteractionRequest or
null if no view matcher was set.