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>
A
ShadowPicker
that selects between shadows given the SQLite mode-
Constructor Summary
Constructors Constructor Description SQLiteShadowPicker(Class<? extends T> legacyShadowClass, Class<? extends T> nativeShadowClass)
-
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
.
-
Constructor Details
-
Method Details
-
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
-