Package org.robolectric
Package containing main Robolectric classes.
-
Interface Summary Interface Description Robolectric.AttributeSetBuilder Deprecated. UseAttributeSetBuilder
instead.TestLifecycle<T> TestLifecycleApplication -
Class Summary Class Description AndroidMetadata Data related to Android tests.ApkLoader Mediates loading of "APKs" in legacy mode.ConfigMerger Deprecated. Provide an implementation ofProvider
.DefaultTestLifecycle The defaultTestLifecycle
used by Robolectric.MavenRoboSettings Deprecated. Don't put more stuff here.ParameterizedRobolectricTestRunner A Parameterized test runner for Robolectric.Robolectric RobolectricTestRunner Loads and runs a test in aSandboxClassLoader
in order to provide a simulation of the Android runtime environment.RobolectricTestRunner.DeprecatedTestRunnerDefaultConfigProvider Deprecated. RobolectricTestRunner.HelperTestRunner RobolectricTestRunner.RobolectricFrameworkMethod Fields in this class must be serializable using XStream.RoboSettings Deprecated. Don't put more stuff here.RuntimeEnvironment SdkPicker Deprecated. useDefaultSdkPicker
instead.Shadows Shadow mapper. -
Annotation Types Summary Annotation Type Description ParameterizedRobolectricTestRunner.Parameter Annotation for fields of the test class which will be initialized by the method annotated byParameters
By using directly this annotation, the test class constructor isn't needed.
Index range must start at 0.ParameterizedRobolectricTestRunner.Parameters Annotation for a method which provides parameters to be injected into the test class constructor byParameterized