🌈 Create new beautiful Compose Gradients with our new wesite ->
Function

registerIdlingResource

Attempts to register an IdlingResource in this test.

registerIdlingResource

Source set: Common
public fun ComposeUiTest.registerIdlingResource(idlingResource: IdlingResource): Boolean

Attempts to register an IdlingResource in this test.

This implementation checks isIdlingResourceSupported before attempting to register the resource.

Parameters

idlingResource IdlingResource to register in the test

Return

true if the idling resource was successfully registered, or false if the implementation does not support idling resources.

Content updated: