java.lang.Object | |
↳ | android.support.test.espresso.IdlingPolicies |
Allows users fine grain control over idling policies. Espresso's default idling policies are suitable for most usecases - however certain execution environments (like the ARM emulator) might be very slow. This class allows users the ability to adjust defaults to sensible values for their environments.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Updates the IdlingPolicy used by IdlingResourceRegistry to determine when IdlingResources
timeout.
| |||||||||||
Updates the IdlingPolicy used in UiController.loopUntil to detect AppNotIdleExceptions.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Updates the IdlingPolicy used by IdlingResourceRegistry to determine when IdlingResources timeout.
timeout | the timeout before an IdlingResourceTimeoutException is created. |
---|---|
unit | the unit of the timeout value. |
Updates the IdlingPolicy used in UiController.loopUntil to detect AppNotIdleExceptions.
timeout | the timeout before an AppNotIdleException is created. |
---|---|
unit | the unit of the timeout value. |