Package org.robolectric.shadow.api
Interface ShadowPicker<T>
- All Known Subinterfaces:
Implements.DefaultShadowPicker
- All Known Implementing Classes:
GraphicsShadowPicker
,LooperShadowPicker
,ResourceModeShadowPicker
,ShadowApkAssets.Picker
,ShadowAssetInputStream.Picker
,ShadowAssetManager.Picker
,ShadowAsyncTask.Picker
,ShadowAsyncTaskLoader.Picker
,ShadowBaseStringBlock.Picker
,ShadowBaseXmlBlock.Picker
,ShadowBitmap.Picker
,ShadowCanvas.Picker
,ShadowChoreographer.Picker
,ShadowCursorWindow.Picker
,ShadowLooper.Picker
,ShadowMatrix.Picker
,ShadowMessage.Picker
,ShadowMessageQueue.Picker
,ShadowNativeAllocationRegistry.Picker
,ShadowNativeAnimatedImageDrawable.Picker
,ShadowNativeAnimatedVectorDrawable.Picker
,ShadowNativeBaseCanvas.Picker
,ShadowNativeBaseRecordingCanvas.Picker
,ShadowNativeBitmapDrawable.Picker
,ShadowNativeBitmapFactory.Picker
,ShadowNativeBitmapShader.Picker
,ShadowNativeBlendModeColorFilter.Picker
,ShadowNativeBlurMaskFilter.Picker
,ShadowNativeCanvasProperty.Picker
,ShadowNativeColor.Picker
,ShadowNativeColorFilter.Picker
,ShadowNativeColorMatrixColorFilter.Picker
,ShadowNativeColorSpaceRgb.Picker
,ShadowNativeColorSpaceRgb.ShadowNative.Picker
,ShadowNativeComposePathEffect.Picker
,ShadowNativeComposeShader.Picker
,ShadowNativeCornerPathEffect.Picker
,ShadowNativeDashPathEffect.Picker
,ShadowNativeDiscretePathEffect.Picker
,ShadowNativeDisplayListCanvas.Picker
,ShadowNativeEmbossMaskFilter.Picker
,ShadowNativeFont.Picker
,ShadowNativeFont.ShadowNativeFontBuilder.Picker
,ShadowNativeFontFamily.Picker
,ShadowNativeFontFileUtil.Picker
,ShadowNativeFontsFontFamily.Picker
,ShadowNativeFontsFontFamily.ShadowNativeFontFamilyBuilder.Picker
,ShadowNativeHardwareRenderer.Picker
,ShadowNativeHardwareRendererObserver.Picker
,ShadowNativeImageDecoder.Picker
,ShadowNativeImageReader.Picker
,ShadowNativeImageReaderSurfaceImage.Picker
,ShadowNativeInterpolator.Picker
,ShadowNativeLightingColorFilter.Picker
,ShadowNativeLinearGradient.Picker
,ShadowNativeLineBreaker.Picker
,ShadowNativeMaskFilter.Picker
,ShadowNativeMatrix.ShadowExtraNatives.Picker
,ShadowNativeMeasuredParagraph.Picker
,ShadowNativeMeasuredText.Picker
,ShadowNativeMeasuredText.ShadowNativeMeasuredTextBuilder.Picker
,ShadowNativeNativeInterpolatorFactory.Picker
,ShadowNativeNinePatch.Picker
,ShadowNativePaint.Picker
,ShadowNativePathDashPathEffect.Picker
,ShadowNativePathEffect.Picker
,ShadowNativePathIterator.Picker
,ShadowNativePathMeasure.Picker
,ShadowNativePathParser.Picker
,ShadowNativePicture.Picker
,ShadowNativePorterDuffColorFilter.Picker
,ShadowNativePositionedGlyphs.Picker
,ShadowNativePropertyValuesHolder.Picker
,ShadowNativeRadialGradient.Picker
,ShadowNativeRecordingCanvas.Picker
,ShadowNativeRecordingCanvasOP.Picker
,ShadowNativeRegion.Picker
,ShadowNativeRegionIterator.Picker
,ShadowNativeRenderEffect.Picker
,ShadowNativeRenderNode.Picker
,ShadowNativeRenderNodeAnimator.Picker
,ShadowNativeRenderNodeAnimatorQ.Picker
,ShadowNativeRenderNodeOP.Picker
,ShadowNativeRuntimeShader.Picker
,ShadowNativeShader.Picker
,ShadowNativeSQLiteRawStatement.Picker
,ShadowNativeStaticLayout.Picker
,ShadowNativeSumPathEffect.Picker
,ShadowNativeSurface.Picker
,ShadowNativeSweepGradient.Picker
,ShadowNativeSystemFonts.Picker
,ShadowNativeTableMaskFilter.Picker
,ShadowNativeTextRunShaper.Picker
,ShadowNativeThreadedRenderer.Picker
,ShadowNativeTypeface.ShadowNativeTypefaceBuilder.Picker
,ShadowNativeVectorDrawable.Picker
,ShadowNativeVirtualRefBasePtr.Picker
,ShadowPath.Picker
,ShadowResourcesImpl.Picker
,ShadowSQLiteConnection.Picker
,ShadowSystemClock.Picker
,ShadowTypeface.Picker
,SQLiteShadowPicker
public interface ShadowPicker<T>
-
Method Summary
Modifier and TypeMethodDescriptionDetermines 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
-