Searched refs:bootstrappedClass (Results 1 – 5 of 5) sorted by relevance
19 public <T> Class<T> bootstrappedClass(Class<?> clazz) { in bootstrappedClass() method in Sandbox50 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()
101 private Object createTestInstance(Class bootstrappedClass) throws Exception { in createTestInstance() argument102 Constructor<?>[] constructors = bootstrappedClass.getConstructors(); in createTestInstance()105 return constructors[0].newInstance(computeParams(bootstrappedClass.getClassLoader())); in createTestInstance()108 injectParametersIntoFields(instance, bootstrappedClass.getClassLoader()); in createTestInstance()
370 Class<TestLifecycle> cl = sdkEnvironment.bootstrappedClass(getTestLifecycleClass()); in beforeTest()
99 sdkEnvironment.bootstrappedClass(MyParallelUniverseWithFailingSetUp.class); in failureInResetterDoesntBreakAllTests()
236 Class bootstrappedTestClass = sandbox.bootstrappedClass(getTestClass().getJavaClass());