NoopRemoteInteraction


class NoopRemoteInteraction : RemoteInteraction


Noop RemoteInteraction object

Summary

Public constructors

Public functions

Callable<Void!>!
createRemoteCheckCallable(
    rootMatcher: Matcher<Root!>!,
    viewMatcher: Matcher<View!>!,
    iBinders: (Mutable)Map<String!, IBinder!>!,
    viewAssertion: ViewAssertion!
)

Creates a callable to run Espresso check interaction on remote processes

Callable<Void!>!
createRemotePerformCallable(
    rootMatcher: Matcher<Root!>!,
    viewMatcher: Matcher<View!>!,
    iBinders: (Mutable)Map<String!, IBinder!>!,
    viewActions: Array<ViewAction!>!
)

Creates a callable to run Espresso perform interaction on remote processes

Boolean

Returns true if the current Espresso instance running in a remote process.

Inherited Constants

From androidx.test.espresso.remote.RemoteInteraction
const String!
BUNDLE_EXECUTION_STATUS = "executionStatus"

Inherited functions

From androidx.test.espresso.remote.RemoteInteraction
Boolean

Returns {code true} if the current Espresso instance is communicating with another Espresso instance in a remote process.

Public constructors

NoopRemoteInteraction

NoopRemoteInteraction()

Public functions

createRemoteCheckCallable

fun createRemoteCheckCallable(
    rootMatcher: Matcher<Root!>!,
    viewMatcher: Matcher<View!>!,
    iBinders: (Mutable)Map<String!, IBinder!>!,
    viewAssertion: ViewAssertion!
): Callable<Void!>!

Creates a callable to run Espresso check interaction on remote processes

Parameters
rootMatcher: Matcher<Root!>!

the root matcher to use.

viewMatcher: Matcher<View!>!

the view matcher to use.

iBinders: (Mutable)Map<String!, IBinder!>!

a list of binders to pass along to the remote process instance

viewAssertion: ViewAssertion!

the view assertion to use.

Returns
Callable<Void!>!

the created Callable

createRemotePerformCallable

fun createRemotePerformCallable(
    rootMatcher: Matcher<Root!>!,
    viewMatcher: Matcher<View!>!,
    iBinders: (Mutable)Map<String!, IBinder!>!,
    viewActions: Array<ViewAction!>!
): Callable<Void!>!

Creates a callable to run Espresso perform interaction on remote processes

Parameters
rootMatcher: Matcher<Root!>!

the root matcher to use.

viewMatcher: Matcher<View!>!

the view matcher to use.

iBinders: (Mutable)Map<String!, IBinder!>!

a list of binders to pass along to the remote process instance

viewActions: Array<ViewAction!>!

one or more actions to execute.

Returns
Callable<Void!>!

isRemoteProcess

fun isRemoteProcess(): Boolean

Returns true if the current Espresso instance running in a remote process.