lightbulb_outline Please take our October 2018 developer survey. Start survey

InterruptableUiController

public interface InterruptableUiController
implements UiController

androidx.test.espresso.base.InterruptableUiController


Similar to UiController but with one additional method that enables interrupting Espresso tasks.

This interface used for Espresso internals and shouldn't be called by external users. It's much safer to let all Espresso tasks to be successfully executed on the main thread.

Summary

Public methods

abstract void interruptEspressoTasks()

Interrupts all Espresso tasks scheduled to be executed on the main thread.

Inherited methods

From interface androidx.test.espresso.UiController

Public methods

interruptEspressoTasks

void interruptEspressoTasks ()

Interrupts all Espresso tasks scheduled to be executed on the main thread.

Note: This method is used for Espresso internals and shouldn't be called by external users. It's much safer to let all Espresso tasks to be successfully executed on the main thread.