Home
last modified time | relevance | path

Searched refs:SandboxClassLoader (Results 1 – 7 of 7) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DRobolectricTestRunnerClassLoaderConfigTest.java9 import org.robolectric.internal.bytecode.SandboxClassLoader;
18 Assert.assertEquals(classLoader.getClass().getName(), SandboxClassLoader.class.getName()); in testUsingClassLoader()
23 assertThat(DummyClass.class.getClassLoader()).isInstanceOf(SandboxClassLoader.class); in testGetPackage()
/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/
DSandboxClassLoaderTest.java50 import org.robolectric.internal.bytecode.SandboxClassLoader;
132 ClassLoader classLoader = new SandboxClassLoader(config); in shouldDelegateClassLoadForUnacquiredClasses()
139 ClassLoader classLoader = new SandboxClassLoader(configureBuilder().build()); in shouldPerformClassLoadForAcquiredClasses()
152 ClassLoader classLoader = new SandboxClassLoader(configureBuilder().build()); in shouldPerformClassLoadAndInstrumentLoadForInstrumentedClasses()
407 setClassLoader(new SandboxClassLoader(createRemappingConfig())); in shouldRemapClasses()
421 setClassLoader(new SandboxClassLoader(createRemappingConfig())); in shouldFixTypesInFieldAccess()
433 setClassLoader(new SandboxClassLoader(createRemappingConfig())); in shouldFixTypesInMethodArgsAndReturn()
440 setClassLoader(new SandboxClassLoader(configureBuilder() in shouldInterceptFilteredMethodInvocations()
452 setClassLoader(new SandboxClassLoader(configureBuilder() in shouldInterceptFilteredStaticMethodInvocations()
554 setClassLoader(new SandboxClassLoader(configureBuilder() in invokeInterceptedMethodOnAClassToForget()
[all …]
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DSandboxClassLoader.java24 public class SandboxClassLoader extends URLClassLoader { class
31 public SandboxClassLoader(InstrumentationConfiguration config) { in SandboxClassLoader() method in SandboxClassLoader
35 public SandboxClassLoader( in SandboxClassLoader() method in SandboxClassLoader
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/
DSandboxFactory.java10 import org.robolectric.internal.bytecode.SandboxClassLoader;
55 return new SandboxClassLoader(ClassLoader.getSystemClassLoader(), instrumentationConfig, urls); in createClassLoader()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/test/
DDummyClass.java3 import org.robolectric.internal.bytecode.SandboxClassLoader;
/external/robolectric-shadows/junit/src/main/java/org/robolectric/internal/
DSandboxTestRunner.java31 import org.robolectric.internal.bytecode.SandboxClassLoader;
144 …ClassLoader sandboxClassLoader = new SandboxClassLoader(ClassLoader.getSystemClassLoader(), instru…
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/
DRobolectricTestRunner.java47 import org.robolectric.internal.bytecode.SandboxClassLoader;