@Generated(value="org.robolectric.annotation.processing.RobolectricProcessor") public class Shadows extends Object implements ShadowProvider
Shadow mapper. Automatically generated by the Robolectric Annotation Processor.
Constructor and Description |
---|
Shadows() |
Modifier and Type | Method and Description |
---|---|
String[] |
getProvidedPackageNames()
Array of Java package names that are shadowed by this package.
|
Map<String,String> |
getShadowMap()
Return the mapping of class name to shadow name.
|
Map<String,String> |
getShadowPickerMap()
Map of framework classes which may be represented by more than one shadow, to be picked at runtime.
|
void |
reset()
Reset the static state of all shadows provided by this package.
|
static ShadowDrawerLayout |
shadowOf(android.support.v4.widget.DrawerLayout actual) |
static ShadowLocalBroadcastManager |
shadowOf(android.support.v4.content.LocalBroadcastManager actual) |
static ShadowMediaBrowserCompat |
shadowOf(android.support.v4.media.MediaBrowserCompat actual) |
static ShadowSwipeRefreshLayout |
shadowOf(android.support.v4.widget.SwipeRefreshLayout actual) |
public static ShadowDrawerLayout shadowOf(android.support.v4.widget.DrawerLayout actual)
public static ShadowLocalBroadcastManager shadowOf(android.support.v4.content.LocalBroadcastManager actual)
public static ShadowMediaBrowserCompat shadowOf(android.support.v4.media.MediaBrowserCompat actual)
public static ShadowSwipeRefreshLayout shadowOf(android.support.v4.widget.SwipeRefreshLayout actual)
public void reset()
ShadowProvider
Reset the static state of all shadows provided by this package.
reset
in interface ShadowProvider
public Map<String,String> getShadowMap()
ShadowProvider
Return the mapping of class name to shadow name.
getShadowMap
in interface ShadowProvider
public String[] getProvidedPackageNames()
ShadowProvider
Array of Java package names that are shadowed by this package.
getProvidedPackageNames
in interface ShadowProvider
public Map<String,String> getShadowPickerMap()
ShadowProvider
Map of framework classes which may be represented by more than one shadow, to be picked at runtime.
getShadowPickerMap
in interface ShadowProvider