OnRootViewIdlingResource

abstract class OnRootViewIdlingResource(onRootView: OnRootView) : IdlingResource

An idling resource that waits for a condition on the app's root view to be satisfied.

Parameters

onRootView

A function that executes another function, providing it with the root view.

Constructors

Link copied to clipboard
fun OnRootViewIdlingResource(onRootView: OnRootView)

Functions

Link copied to clipboard
override fun isIdleNow(): Boolean
Link copied to clipboard
open override fun registerIdleTransitionCallback(callback: IdlingResource.ResourceCallback)

Inherited functions

Link copied to clipboard
abstract fun getName(): String