public class UIModuleIdlingResource
extends DetoxBaseIdlingResource
Espresso IdlingResource for React Native's UI Module.
Hooks up to React Native internals to grab the pending ui operations from it.
TODO Rewrite this awful, awful class| Constructor and Description |
|---|
UIModuleIdlingResource(java.lang.Object reactContext) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkIdle() |
void |
doFrame(long frameTimeNanos) |
java.lang.String |
getName() |
protected void |
notifyIdle() |
void |
registerIdleTransitionCallback(androidx.test.espresso.IdlingResource.ResourceCallback callback) |
checkIdle, isIdleNow, notifyIdle, pause, resumepublic UIModuleIdlingResource(@NonNull
java.lang.Object reactContext)
public java.lang.String getName()
protected boolean checkIdle()
public void registerIdleTransitionCallback(androidx.test.espresso.IdlingResource.ResourceCallback callback)
public void doFrame(long frameTimeNanos)
protected void notifyIdle()