InteractionRequest
public
final
class
InteractionRequest
extends Object
implements
To<MessageLite>
java.lang.Object | |
↳ | android.support.test.espresso.remote.InteractionRequest |
Encapsulates an UiInteraction.InteractionRequestProto
request. Takes care of all the proto packing and
unpacking.
Summary
Nested classes | |
---|---|
class |
InteractionRequest.Builder
Creates an instance of |
Public methods | |
---|---|
Matcher<Root>
|
getRootMatcher()
Returns the |
ViewAction
|
getViewAction()
Returns the |
ViewAssertion
|
getViewAssertion()
Returns the |
Matcher<View>
|
getViewMatcher()
Returns the |
MessageLite
|
toProto()
|
Inherited methods | |
---|---|
![]()
java.lang.Object
| |
![]()
android.support.test.espresso.remote.EspressoRemoteMessage.To
|
Public methods
getRootMatcher
Matcher<Root> getRootMatcher ()
Returns the ERROR(/Matcher
associated with this InteractionRequest
or null
if no ERROR(/Matcher
was set.
Returns | |
---|---|
Matcher<Root> |
getViewAction
ViewAction getViewAction ()
Returns the ViewAction
associated with this InteractionRequest
or null
if no ViewAction
was set.
Returns | |
---|---|
ViewAction |
getViewAssertion
ViewAssertion getViewAssertion ()
Returns the ViewAssertion
associated with this InteractionRequest
or null
if no ViewAssertion
was set.
Returns | |
---|---|
ViewAssertion |
getViewMatcher
Matcher<View> getViewMatcher ()
Returns the ERROR(/Matcher
associated with this InteractionRequest
or null
if no view matcher was set.
Returns | |
---|---|
Matcher<View> |
toProto
MessageLite toProto ()
Returns | |
---|---|
MessageLite |
Interfaces
Classes
- ConstructorInvocation
- EspressoRemote
- FieldDescriptor
- GenericRemoteMessage
- InteractionRequest
- InteractionRequest.Builder
- InteractionResponse
- InteractionResponse.Builder
- InteractionResponse.RemoteError
- NoopRemoteInteraction
- ProtoUtils
- RemoteDescriptor
- RemoteDescriptor.Builder
- RemoteDescriptorRegistry
- RemoteInteractionRegistry
- TypeProtoConverters
Enums
Exceptions