Package org.robolectric.plugins
Class LooperModeConfigurer
java.lang.Object
org.robolectric.plugins.LooperModeConfigurer
- All Implemented Interfaces:
org.robolectric.pluginapi.config.Configurer<org.robolectric.annotation.LooperMode.Mode>
@AutoService(org.robolectric.pluginapi.config.Configurer.class)
public class LooperModeConfigurer
extends Object
implements org.robolectric.pluginapi.config.Configurer<org.robolectric.annotation.LooperMode.Mode>
Provides configuration to Robolectric for its @
LooperMode
annotation.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.robolectric.annotation.LooperMode.Mode
Class<org.robolectric.annotation.LooperMode.Mode>
org.robolectric.annotation.LooperMode.Mode
getConfigFor
(Class<?> testClass) org.robolectric.annotation.LooperMode.Mode
getConfigFor
(Method method) org.robolectric.annotation.LooperMode.Mode
getConfigFor
(String packageName) org.robolectric.annotation.LooperMode.Mode
merge
(org.robolectric.annotation.LooperMode.Mode parentConfig, org.robolectric.annotation.LooperMode.Mode childConfig)
-
Constructor Details
-
LooperModeConfigurer
-
-
Method Details
-
getConfigClass
- Specified by:
getConfigClass
in interfaceorg.robolectric.pluginapi.config.Configurer<org.robolectric.annotation.LooperMode.Mode>
-
defaultConfig
@Nonnull public org.robolectric.annotation.LooperMode.Mode defaultConfig()- Specified by:
defaultConfig
in interfaceorg.robolectric.pluginapi.config.Configurer<org.robolectric.annotation.LooperMode.Mode>
-
getConfigFor
- Specified by:
getConfigFor
in interfaceorg.robolectric.pluginapi.config.Configurer<org.robolectric.annotation.LooperMode.Mode>
-
getConfigFor
- Specified by:
getConfigFor
in interfaceorg.robolectric.pluginapi.config.Configurer<org.robolectric.annotation.LooperMode.Mode>
-
getConfigFor
- Specified by:
getConfigFor
in interfaceorg.robolectric.pluginapi.config.Configurer<org.robolectric.annotation.LooperMode.Mode>
-
merge
@Nonnull public org.robolectric.annotation.LooperMode.Mode merge(@Nonnull org.robolectric.annotation.LooperMode.Mode parentConfig, @Nonnull org.robolectric.annotation.LooperMode.Mode childConfig) - Specified by:
merge
in interfaceorg.robolectric.pluginapi.config.Configurer<org.robolectric.annotation.LooperMode.Mode>
-