Interface | Description |
---|---|
Robolectric.AttributeSetBuilder | Deprecated
Use
AttributeSetBuilder instead. |
TestLifecycle<T> | |
TestLifecycleApplication |
Class | Description |
---|---|
AndroidMetadata |
Data related to Android tests.
|
ApkLoader |
Mediates loading of “APKs” in legacy mode.
|
ConfigMerger | Deprecated
Provide an implementation of
javax.inject.Provider instead. |
DefaultTestLifecycle | |
JarInstrumentor |
Instruments an entire jar.
|
MavenRoboSettings | Deprecated
Don’t put more stuff here.
|
ParameterizedRobolectricTestRunner |
A Parameterized test runner for Robolectric.
|
Robolectric | |
RobolectricTestRunner |
Loads and runs a test in a
SandboxClassLoader in order to provide a simulation of the Android runtime environment. |
RobolectricTestRunner.DeprecatedTestRunnerDefaultConfigProvider | Deprecated |
RobolectricTestRunner.HelperTestRunner | |
RoboSettings | Deprecated
Don’t put more stuff here.
|
RuntimeEnvironment | |
SdkPicker | Deprecated
use
DefaultSdkPicker instead. |
Shadows |
Shadow mapper.
|
Annotation Type | Description |
---|---|
ParameterizedRobolectricTestRunner.Parameter |
Annotation for fields of the test class which will be initialized by the method annotated by
Parameters 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 by
Parameterized |
Package containing main Robolectric classes.