이제 두 번째 Android 11 개발자 프리뷰를 사용할 수 있습니다. 테스트해 보고 의견을 공유하세요.

InterruptableUiController

public interface InterruptableUiController
implements UiController

android.support.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 android.support.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.