Package org.robolectric.internal
Class AndroidSandbox.TestEnvironmentSpec
java.lang.Object
org.robolectric.internal.AndroidSandbox.TestEnvironmentSpec
- Enclosing class:
- AndroidSandbox
public static class AndroidSandbox.TestEnvironmentSpec extends Object
Provides a mechanism for tests to inject a different AndroidTestEnvironment. For test use only.
-
Constructor Summary
Constructors Constructor Description TestEnvironmentSpec()
TestEnvironmentSpec(Class<? extends AndroidTestEnvironment> clazz)
-
Method Summary
Modifier and Type Method Description Class<? extends AndroidTestEnvironment>
getClazz()
-
Constructor Details
-
TestEnvironmentSpec
@Inject public TestEnvironmentSpec() -
TestEnvironmentSpec
-
-
Method Details