class IdlingPolicy


Allows users to control idling idleTimeouts in Espresso.

Summary

Public functions

TimeUnit!

The unit for getIdleTimeout.

Unit
handleTimeout(busyResources: (Mutable)List<String!>!, message: String!)

Invoked when the idle idleTimeout has been exceeded.

Public functions

getIdleTimeoutUnit

fun getIdleTimeoutUnit(): TimeUnit!

The unit for getIdleTimeout.

handleTimeout

fun handleTimeout(busyResources: (Mutable)List<String!>!, message: String!): Unit

Invoked when the idle idleTimeout has been exceeded.

Parameters
busyResources: (Mutable)List<String!>!

the resources that are not idle.

message: String!

an additional message to include in an exception.

Public properties

disableOnTimeout

val disableOnTimeoutBoolean

idleTimeout

val idleTimeoutLong

timeoutIfDebuggerAttached

val timeoutIfDebuggerAttachedBoolean