Package org.robolectric.annotation
Package containing Robolectric annotations.
-
Interface Summary Interface Description Implements.DefaultShadowPicker An interface used as the default for thepicker
param. -
Class Summary Class Description Config.Builder Config.Implementation -
Enum Summary Enum Description ConscryptMode.Mode Specifies the different supported Conscrypt modes.GetInstallerPackageNameMode.Mode Specifies the differentShadowApplicationPackageManager#getInstallerPackageName
modes.LooperMode.Mode Specifies the different supported Looper modes.SQLiteMode.Mode Specifies the different supported SQLite modes.TextLayoutMode.Mode Specifies the different supported Text layout modes. -
Annotation Types Summary Annotation Type Description Config Configuration settings that can be used on a per-class or per-test basis.ConscryptMode Annotation for Conscrypt modes in Robolectric.GetInstallerPackageNameMode AConfigurer
annotation for controlling how Robolectric executesPackageManager#getInstallerPackageName
method.HiddenApi Indicates that the annotated method is hidden in the public Android API.Implementation Indicates that a method declaration is intended to shadow a method with the same signature on the associated Android class.Implements Indicates that a class declaration is intended to shadow an Android class declaration.LooperMode AConfigurer
annotation for controlling Robolectric'sLooper
behavior.RealObject Shadow fields annotated @RealObject will have the real instance injected.ReflectorObject Serves to cache the reflector object instance and lower test runtime.Resetter Indicates that the annotated method is used to reset static state in a shadow.SQLiteMode AConfigurer
annotation for controlling which SQLite shadow implementation is used for theandroid.database
package.TextLayoutMode AConfigurer
annotation for controlling how Robolectric performs UI layout.