public class

NoopRemoteInteraction

extends Object
implements RemoteInteraction
java.lang.Object
   ↳ android.support.test.espresso.remote.NoopRemoteInteraction

Class Overview

Noop RemoteInteraction object

Summary

[Expand]
Inherited Constants
From interface android.support.test.espresso.remote.RemoteInteraction
[Expand]
Inherited Fields
From interface android.support.test.espresso.remote.RemoteInteraction
Public Constructors
NoopRemoteInteraction()
Public Methods
boolean isRemoteProcess()
ListenableFuture<Void> runCheckRemotely(Matcher<Root> rootMatcher, Matcher<View> viewMatcher, Map<String, IBinder> iBinders, ViewAssertion viewAssertion)
Attempts to run Espresso check interaction on a remote process.
ListenableFuture<Void> runPerformRemotely(Matcher<Root> rootMatcher, Matcher<View> viewMatcher, Map<String, IBinder> iBinders, ViewAction... viewActions)
Attempts to run Espresso perform interaction on a remote process.
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.support.test.espresso.remote.RemoteInteraction

Public Constructors

public NoopRemoteInteraction ()

Public Methods

public boolean isRemoteProcess ()

Returns
boolean

public ListenableFuture<Void> runCheckRemotely (Matcher<Root> rootMatcher, Matcher<View> viewMatcher, Map<String, IBinder> iBinders, ViewAssertion viewAssertion)

Attempts to run Espresso check interaction on a remote process.

If there are no remote Espressos currently running in a timely manner the interaction will not be executed and a NoRemoteEspressoInstanceException will be thrown.

Parameters
rootMatcher Matcher: the root matcher to use.
viewMatcher Matcher: the view matcher to use.
iBinders Map: a list of binders to pass along to the remote process instance
viewAssertion ViewAssertion: the assertion to check.
Returns
ListenableFuture<Void> a ListenableFuture representing pending completion of the task.

public ListenableFuture<Void> runPerformRemotely (Matcher<Root> rootMatcher, Matcher<View> viewMatcher, Map<String, IBinder> iBinders, ViewAction... viewActions)

Attempts to run Espresso perform interaction on a remote process.

If there no remote Espresso currently running in a timely manner the interaction will not be executed and a NoRemoteEspressoInstanceException will be thrown.

Parameters
rootMatcher Matcher: the root matcher to use.
viewMatcher Matcher: the view matcher to use.
iBinders Map: a list of binders to pass along to the remote process instance
viewActions ViewAction: one or more actions to execute.
Returns
ListenableFuture<Void> a ListenableFuture representing pending completion of the task.