{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
interface RemoteInteraction
EspressoRemote |
A singleton class that facilitates communication between other Espresso instance that may be running in different processes. |
NoopRemoteInteraction |
Noop RemoteInteraction object |
Facilitates communication between other Espresso instance that may be running in different processes.
Constants |
|
|---|---|
const String! |
|
Public functions |
|
|---|---|
Callable<Void!>! |
createRemoteCheckCallable(Creates a callable to run Espresso check interaction on remote processes |
Callable<Void!>! |
createRemotePerformCallable(Creates a callable to run a perform interaction on remote processes. |
Boolean |
|
fun createRemoteCheckCallable(
rootMatcher: Matcher<Root!>!,
viewMatcher: Matcher<View!>!,
iBinders: (Mutable)Map<String!, IBinder!>!,
viewAssert: ViewAssertion!
): Callable<Void!>!
Creates a callable to run Espresso check interaction on remote processes
The caller is expected to schedule the task to run.
fun createRemotePerformCallable(
rootMatcher: Matcher<Root!>!,
viewMatcher: Matcher<View!>!,
iBinders: (Mutable)Map<String!, IBinder!>!,
viewActions: Array<ViewAction!>!
): Callable<Void!>!
Creates a callable to run a perform interaction on remote processes.
If there no remote Espresso currently running in a timely manner the interaction will not be executed and a NoRemoteEspressoInstanceException will be thrown.
fun isRemoteProcess(): Boolean
| Returns | |
|---|---|
Boolean |
|