Function

unregisterIdlingResource

Attempts to unregister an IdlingResource in this test.

unregisterIdlingResource

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

Attempts to unregister an IdlingResource in this test.

This implementation checks isIdlingResourceSupported before attempting to unregister the resource.

Parameters

idlingResource IdlingResource to unregister from the test

Return

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

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: