Package org.robolectric.annotation
Annotation Type LooperMode
-
@Documented @Retention(RUNTIME) @Target({PACKAGE,TYPE,METHOD}) public @interface LooperMode
Aorg.robolectric.pluginapi.config.Configurerannotation for controlling Robolectric'sLooperbehavior.Currently Robolectric will default to
LooperMode.Mode.PAUSEDbehavior, but this can be overridden by applying a @LooperMode(NewMode) annotation to a test package, test class, or test method, or via the 'robolectric.looperMode' system property.- See Also:
org.robolectric.plugins.LooperModeConfigurer,org.robolectric.util.Scheduler,org.robolectric.shadows.ShadowLooper
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description LooperMode.ModevalueSet the Looper mode.
-
-
-
Element Detail
-
value
LooperMode.Mode value
Set the Looper mode.
-
-