Annotation Type LazyApplication
A
Configurer
annotation that dictates whether or not
Robolectric should lazily instantiate the Application under test.
In particular, any test with LazyLoad.ON
that does not need the Application will not
load it (and recoup the associated cost)
NOTE: This feature is currently still experimental, so any users of LazyLoad.ON
do so
at their own risk
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Whether or not the Application should be lazily loaded -
Required Element Summary
Modifier 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
-