Home
last modified time | relevance | path

Searched refs:bootstrappedClass (Results 1 – 5 of 5) sorted by relevance

/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DSandbox.java19 public <T> Class<T> bootstrappedClass(Class<?> clazz) { in bootstrappedClass() method in Sandbox
50 Class<?> robolectricInternalsClass = bootstrappedClass(RobolectricInternals.class); in configure()
59 Class<?> invokeDynamicSupportClass = bootstrappedClass(InvokeDynamicSupport.class); in configure()
62 Class<?> shadowClass = bootstrappedClass(Shadow.class); in configure()
63 setStaticField(shadowClass, "SHADOW_IMPL", newInstance(bootstrappedClass(ShadowImpl.class))); in configure()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/
DParameterizedRobolectricTestRunner.java101 private Object createTestInstance(Class bootstrappedClass) throws Exception { in createTestInstance() argument
102 Constructor<?>[] constructors = bootstrappedClass.getConstructors(); in createTestInstance()
105 return constructors[0].newInstance(computeParams(bootstrappedClass.getClassLoader())); in createTestInstance()
108 injectParametersIntoFields(instance, bootstrappedClass.getClassLoader()); in createTestInstance()
DRobolectricTestRunner.java370 Class<TestLifecycle> cl = sdkEnvironment.bootstrappedClass(getTestLifecycleClass()); in beforeTest()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DRobolectricTestRunnerTest.java99 sdkEnvironment.bootstrappedClass(MyParallelUniverseWithFailingSetUp.class); in failureInResetterDoesntBreakAllTests()
/external/robolectric-shadows/junit/src/main/java/org/robolectric/internal/
DSandboxTestRunner.java236 Class bootstrappedTestClass = sandbox.bootstrappedClass(getTestClass().getJavaClass());