public class SandboxFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static SandboxFactory |
INSTANCE |
Constructor and Description |
---|
SandboxFactory() |
Modifier and Type | Method and Description |
---|---|
java.lang.ClassLoader |
createClassLoader(InstrumentationConfiguration instrumentationConfig,
java.net.URL... urls) |
protected SdkEnvironment |
createSdkEnvironment(SdkConfig sdkConfig,
java.lang.ClassLoader robolectricClassLoader) |
SdkEnvironment |
getSdkEnvironment(InstrumentationConfiguration instrumentationConfig,
SdkConfig sdkConfig,
boolean useLegacyResources,
DependencyResolver dependencyResolver) |
public static final SandboxFactory INSTANCE
public SdkEnvironment getSdkEnvironment(InstrumentationConfiguration instrumentationConfig, SdkConfig sdkConfig, boolean useLegacyResources, DependencyResolver dependencyResolver)
protected SdkEnvironment createSdkEnvironment(SdkConfig sdkConfig, java.lang.ClassLoader robolectricClassLoader)
@Nonnull public java.lang.ClassLoader createClassLoader(InstrumentationConfiguration instrumentationConfig, java.net.URL... urls)