IdlingUiController

interface IdlingUiController : UiController


Similar to UiController but with one additional method that enables getting an instance of IdlingResourceRegistry. For instance, the registry can then be used by to register and unregister idling resources before and after performing the actual action.

This interface used for Espresso internals and shouldn't be called by external users.

Summary

Public functions

IdlingResourceRegistry!

Returns an instance of IdlingResourceRegistry.

Inherited functions

From androidx.test.espresso.UiController
Boolean

Injects a key event into the application.

Boolean

Injects a motion event into the application.

Boolean
Boolean

Types a string into the application using series of KeyEvents.

Unit

Loops the main thread for a specified period of time.

Unit

Loops the main thread until the application goes idle.

Public functions

getIdlingResourceRegistry

fun getIdlingResourceRegistry(): IdlingResourceRegistry!

Returns an instance of IdlingResourceRegistry.