ShadowProvider
@Generated("org.robolectric.annotation.processing.RobolectricProcessor") public class Shadows extends Object implements ShadowProvider
Constructor | Description |
---|---|
Shadows() |
Modifier and Type | Method | 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 ShadowLocalBroadcastManager |
shadowOf(android.support.v4.content.LocalBroadcastManager actual) |
|
static ShadowMediaBrowserCompat |
shadowOf(android.support.v4.media.MediaBrowserCompat actual) |
|
static ShadowDrawerLayout |
shadowOf(android.support.v4.widget.DrawerLayout 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
in interface ShadowProvider
public Map<String,String> getShadowMap()
ShadowProvider
getShadowMap
in interface ShadowProvider
public String[] getProvidedPackageNames()
ShadowProvider
getProvidedPackageNames
in interface ShadowProvider
public Map<String,String> getShadowPickerMap()
ShadowProvider
getShadowPickerMap
in interface ShadowProvider