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)
-
-
-
Constructor Detail
-
TestEnvironmentSpec
@Inject public TestEnvironmentSpec()
-
TestEnvironmentSpec
public TestEnvironmentSpec(Class<? extends AndroidTestEnvironment> clazz)
-
-
Method Detail
-
getClazz
public Class<? extends AndroidTestEnvironment> getClazz()
-
-