-
- All Implemented Interfaces:
-
android.view.Choreographer.FrameCallback
,androidx.test.espresso.IdlingResource
,com.wix.detox.espresso.idlingresources.DescriptiveIdlingResource
public final class TimersIdlingResource extends DetoxBaseIdlingResource implements Choreographer.FrameCallback
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
TimersIdlingResource.Companion
-
Field Summary
Fields Modifier and Type Field Description private final AtomicBoolean
paused
-
Constructor Summary
Constructors Constructor Description TimersIdlingResource(IdleInterrogationStrategy interrogationStrategy, Function0<Choreographer> getChoreographer)
TimersIdlingResource(IdleInterrogationStrategy interrogationStrategy)
-
Method Summary
Modifier and Type Method Description String
getName()
String
getDebugName()
Map<String, Object>
getBusyHint()
Unit
registerIdleTransitionCallback(IdlingResource.ResourceCallback callback)
Unit
doFrame(Long frameTimeNanos)
-
-
Constructor Detail
-
TimersIdlingResource
TimersIdlingResource(IdleInterrogationStrategy interrogationStrategy, Function0<Choreographer> getChoreographer)
-
TimersIdlingResource
TimersIdlingResource(IdleInterrogationStrategy interrogationStrategy)
-
-
Method Detail
-
getDebugName
String getDebugName()
-
getBusyHint
Map<String, Object> getBusyHint()
-
registerIdleTransitionCallback
Unit registerIdleTransitionCallback(IdlingResource.ResourceCallback callback)
-
-
-
-