Package org.robolectric.annotation
package org.robolectric.annotation
Package containing Robolectric annotations.
-
ClassDescriptionParameters with types that can't be resolved at compile time may be annotated @ClassName.Configuration settings that can be used on a per-class or per-test basis.Annotation for Conscrypt modes in Robolectric.Specifies the different supported Conscrypt modes.A
Configurer
annotation for controlling how Robolectric executesPackageManager#getInstallerPackageName
method.Specifies the differentShadowApplicationPackageManager#getInstallerPackageName
modes.AConfigurer
annotation for controlling which graphics shadow implementation is used for theandroid.graphics
package.Specifies the different supported graphics modes.Indicates that the annotated method is hidden in the public Android API.Indicates that a method declaration is intended to shadow a method with the same signature on the associated Android class.Indicates that a class declaration is intended to shadow an Android class declaration.An interface used as the default for thepicker
param.InDevelopment applies to @Implementation methods and @Implements classes that are affected by changes in unreleased versions of Android.AConfigurer
annotation for controlling Robolectric'sLooper
behavior.Specifies the different supported Looper modes.Shadow fields annotated @RealObject will have the real instance injected.Serves to cache the reflector object instance and lower test runtime.Indicates that the annotated method is used to reset static state in a shadow.AConfigurer
annotation for controlling which SQLite shadow implementation is used for theandroid.database
package.Specifies the different supported SQLite modes.AConfigurer
annotation for controlling how Robolectric performs UI layout.Specifies the different supported Text layout modes.