Annotation Type LazyApplication
A
Configurer annotation that dictates whether or not
Robolectric should lazily instantiate the Application under test.
In particular, any test with LazyApplication.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 LazyApplication.LazyLoad.ON do so
at their own risk
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWhether or not the Application should be lazily loaded -
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescription@NonNull LazyApplication.LazyLoadWhether or not the Application should be lazily loaded
-
Element Details
-
value
@NonNull LazyApplication.LazyLoad valueWhether or not the Application should be lazily loaded
-