Package org.robolectric.shadows.gms
Class Shadows
java.lang.Object
org.robolectric.shadows.gms.Shadows
- All Implemented Interfaces:
ShadowProvider
@Generated("org.robolectric.annotation.processing.RobolectricProcessor") public class Shadows extends Object implements ShadowProvider
Shadow mapper. Automatically generated by the Robolectric Annotation Processor.
-
Constructor Summary
Constructors Constructor Description Shadows()
-
Method Summary
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.void
reset()
Reset the static state of all shadows provided by this package.static ShadowGoogleAuthUtil
shadowOf(com.google.android.gms.auth.GoogleAuthUtil actual)
static ShadowGoogleApiAvailability
shadowOf(com.google.android.gms.common.GoogleApiAvailability actual)
static ShadowGooglePlayServicesUtil
shadowOf(com.google.android.gms.common.GooglePlayServicesUtil actual)
-
Constructor Details
-
Shadows
public Shadows()
-
-
Method Details
-
shadowOf
-
shadowOf
public static ShadowGooglePlayServicesUtil shadowOf(com.google.android.gms.common.GooglePlayServicesUtil actual) -
shadowOf
public static ShadowGoogleApiAvailability shadowOf(com.google.android.gms.common.GoogleApiAvailability actual) -
reset
public void reset()Description copied from interface:ShadowProvider
Reset the static state of all shadows provided by this package.- Specified by:
reset
in interfaceShadowProvider
-
getShadowMap
Description copied from interface:ShadowProvider
Return the mapping of class name to shadow name.- Specified by:
getShadowMap
in interfaceShadowProvider
- Returns:
- Shadow mapping.
-
getProvidedPackageNames
Description copied from interface:ShadowProvider
Array of Java package names that are shadowed by this package.- Specified by:
getProvidedPackageNames
in interfaceShadowProvider
- Returns:
- Array of Java package names.
-