Package org.robolectric.shadows
Class SQLiteShadowPicker<T>
- java.lang.Object
-
- org.robolectric.shadows.SQLiteShadowPicker<T>
-
- All Implemented Interfaces:
ShadowPicker<T>
- Direct Known Subclasses:
ShadowCursorWindow.Picker
,ShadowSQLiteConnection.Picker
public class SQLiteShadowPicker<T> extends Object implements ShadowPicker<T>
AShadowPicker
that selects between shadows given the SQLite mode
-
-
Constructor Summary
Constructors Constructor Description SQLiteShadowPicker(Class<? extends T> legacyShadowClass, Class<? extends T> nativeShadowClass)
-
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
-
-