Annotation Type ResourcesMode


@Documented @Retention(RUNTIME) @Target({PACKAGE,TYPE,METHOD}) public @interface ResourcesMode
A Configurer annotation for controlling Robolectric's android resource implementation.

Currently Robolectric will default to ResourcesMode.Mode.BINARY , but this can be overridden by applying a @ResourcesMode(NewMode) annotation to a test package, test class, or test method, or via the 'robolectric.resourcesMode' system property.

See Also:
  • org.robolectric.plugins.ResourceModeConfigurer
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
     
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Set the Resources mode.