Package 

Class UIModuleIdlingResource

  • 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.

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getName()
      IdlingResourceDescription getDescription() Returns a descriptive representation of the resource.
      Unit registerIdleTransitionCallback(IdlingResource.ResourceCallback callback)
      Unit doFrame(Long frameTimeNanos)
      • Methods inherited from class com.wix.detox.reactnative.idlingresources.uimodule.UIModuleIdlingResource

        isIdleNow, pause, resume
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait