Package org.robolectric.shadow.api
Interface ShadowPicker<T>
- All Known Subinterfaces:
Implements.DefaultShadowPicker
- All Known Implementing Classes:
LooperShadowPicker
,ResourceModeShadowPicker
,ShadowApkAssets.Picker
,ShadowAssetInputStream.Picker
,ShadowAssetManager.Picker
,ShadowAsyncTask.Picker
,ShadowAsyncTaskLoader.Picker
,ShadowAsyncTaskLoader.Picker
,ShadowCameraMetadataNativePicker.Picker
,ShadowChoreographer.Picker
,ShadowCursorWindow.Picker
,ShadowLooper.Picker
,ShadowMessage.Picker
,ShadowMessageQueue.Picker
,ShadowResources.ShadowTheme.Picker
,ShadowResourcesImpl.Picker
,ShadowResourcesImpl.ShadowThemeImpl.Picker
,ShadowSQLiteConnection.Picker
,ShadowSystemClock.Picker
,ShadowTypedArray.Picker
,SQLiteShadowPicker
public interface ShadowPicker<T>
-
Method Summary
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 Details
-
pickShadowClass
Determines the shadow class to be used depending on the configuration of theorg.robolectric.internal.Environment
. Must be deterministic.- Returns:
- the shadow class to be used
-