Package org.robolectric.internal
Interface ShadowProvider
-
public interface ShadowProviderInterface implemented by packages that provide shadows to Robolectric.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.lang.String[]getProvidedPackageNames()Array of Java package names that are shadowed by this package.java.util.Map<java.lang.String,java.lang.String>getShadowMap()Return the mapping of class name to shadow name.default java.util.Map<java.lang.String,java.lang.String>getShadowPickerMap()Map of framework classes which may be represented by more than one shadow, to be picked at runtime.voidreset()Reset the static state of all shadows provided by this package.
-
-
-
Method Detail
-
reset
void reset()
Reset the static state of all shadows provided by this package.
-
getProvidedPackageNames
java.lang.String[] getProvidedPackageNames()
Array of Java package names that are shadowed by this package.- Returns:
- Array of Java package names.
-
getShadowMap
java.util.Map<java.lang.String,java.lang.String> getShadowMap()
Return the mapping of class name to shadow name.- Returns:
- Shadow mapping.
-
getShadowPickerMap
default java.util.Map<java.lang.String,java.lang.String> getShadowPickerMap()
Map of framework classes which may be represented by more than one shadow, to be picked at runtime.- Returns:
- A map from the name of the framework class to the name of its {#link org.robolectric.shadow.apiShadowPicker}.
-
-