-
- All Implemented Interfaces:
-
android.view.Choreographer.FrameCallback,androidx.test.espresso.IdlingResource,com.wix.detox.reactnative.idlingresources.DescriptiveIdlingResource
public final class UIModuleIdlingResource extends DetoxBaseIdlingResource implements Choreographer.FrameCallback
Espresso IdlingResource for React Native's UI Module. Hooks up to React Native internals to grab the pending ui operations from it.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classUIModuleIdlingResource.Companion
-
Field Summary
Fields Modifier and Type Field Description private final AtomicBooleanpaused
-
Constructor Summary
Constructors Constructor Description UIModuleIdlingResource(ReactContext reactContext)
-
Method Summary
Modifier and Type Method Description StringgetName()IdlingResourceDescriptiongetDescription()Returns a descriptive representation of the resource. UnitregisterIdleTransitionCallback(IdlingResource.ResourceCallback callback)UnitdoFrame(Long frameTimeNanos)-
-
Method Detail
-
getDescription
IdlingResourceDescription getDescription()
Returns a descriptive representation of the resource.
-
registerIdleTransitionCallback
Unit registerIdleTransitionCallback(IdlingResource.ResourceCallback callback)
-
-
-
-