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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionString[]Array of Java package names that are shadowed by this package.Return a collection of Map.Entry objects representing the mapping of class name to shadow name.voidreset()Reset the static state of all shadows provided by this package.static ShadowGoogleAuthUtilshadowOf(com.google.android.gms.auth.GoogleAuthUtil actual) static ShadowGoogleApiAvailabilityshadowOf(com.google.android.gms.common.GoogleApiAvailability actual) static ShadowGooglePlayServicesUtilshadowOf(com.google.android.gms.common.GooglePlayServicesUtil actual) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.robolectric.internal.ShadowProvidergetShadowPickerMap
- 
Constructor Details- 
Shadowspublic Shadows()
 
- 
- 
Method Details- 
shadowOf
- 
shadowOfpublic static ShadowGooglePlayServicesUtil shadowOf(com.google.android.gms.common.GooglePlayServicesUtil actual) 
- 
shadowOfpublic static ShadowGoogleApiAvailability shadowOf(com.google.android.gms.common.GoogleApiAvailability actual) 
- 
resetpublic void reset()Description copied from interface:ShadowProviderReset the static state of all shadows provided by this package.- Specified by:
- resetin interface- ShadowProvider
 
- 
getShadowsDescription copied from interface:ShadowProviderReturn a collection of Map.Entry objects representing the mapping of class name to shadow name.This is a multimap instead of a regular map in order to support, for instance, multiple shadows per class that only differ by SDK level. It also uses a Collection<Entry<String, String>>as the return value to avoid having a dependency on something like Guava Multimap.- Specified by:
- getShadowsin interface- ShadowProvider
- Returns:
- Shadow mapping.
 
- 
getProvidedPackageNamesDescription copied from interface:ShadowProviderArray of Java package names that are shadowed by this package.- Specified by:
- getProvidedPackageNamesin interface- ShadowProvider
- Returns:
- Array of Java package names.
 
 
-