Annotation Type LazyApplication
A
annotation that dictates whether or not
Robolectric should lazily instantiate the Application under test.
invalid reference
org.robolectric.pluginapi.config.Configurer
In particular, any test with
that does not need the Application will not
load it (and recoup the associated cost)
invalid reference
LazyLoad.ON
NOTE: This feature is currently still experimental, so any users of
do so
at their own riskinvalid reference
LazyLoad.ON
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWhether or not the Application should be lazily loaded -
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionWhether or not the Application should be lazily loaded
-
Element Details
-
value
LazyApplication.LazyLoad valueWhether or not the Application should be lazily loaded
-