Package org.robolectric.annotation

Package containing Robolectric annotations.
  • Interface Summary 
    Interface Description
    Implements.DefaultShadowPicker  
  • Class Summary 
    Class Description
    Config.Builder  
    Config.Implementation  
  • Enum Summary 
    Enum Description
    GetInstallerPackageNameMode.Mode
    Specifies the different ShadowApplicationPackageManager#getInstallerPackageName modes.
    LooperMode.Mode
    Specifies the different supported Looper 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.
    GetInstallerPackageNameMode
    A Configurer annotation for controlling how Robolectric executes PackageManager#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
    A Configurer annotation for controlling Robolectric's Looper 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.
    TextLayoutMode
    A Configurer annotation for controlling how Robolectric performs UI layout.