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 the org.robolectric.internal.Environment.
  • Method Details

    • pickShadowClass

      Class<? extends T> pickShadowClass()
      Determines the shadow class to be used depending on the configuration of the org.robolectric.internal.Environment. Must be deterministic.
      Returns:
      the shadow class to be used