Package org.robolectric.shadows
Class LooperShadowPicker<T>
- java.lang.Object
-
- org.robolectric.shadows.LooperShadowPicker<T>
-
- All Implemented Interfaces:
ShadowPicker<T>
- Direct Known Subclasses:
ShadowAsyncTask.Picker
,ShadowAsyncTaskLoader.Picker
,ShadowChoreographer.Picker
,ShadowLooper.Picker
,ShadowMessage.Picker
,ShadowMessageQueue.Picker
,ShadowSystemClock.Picker
public class LooperShadowPicker<T> extends Object implements ShadowPicker<T>
-
-
Constructor Summary
Constructors Constructor Description LooperShadowPicker(Class<? extends T> legacyShadowClass, Class<? extends T> pausedShadowClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends T>
pickShadowClass()
Determines the shadow class to be used depending on the configuration of theorg.robolectric.internal.Environment
.
-
-
-
Method Detail
-
pickShadowClass
public Class<? extends T> pickShadowClass()
Description copied from interface:ShadowPicker
Determines the shadow class to be used depending on the configuration of theorg.robolectric.internal.Environment
. Must be deterministic.- Specified by:
pickShadowClass
in interfaceShadowPicker<T>
- Returns:
- the shadow class to be used
-
-