1 package com.xtremelabs.robolectric; 2 3 4 import org.junit.runners.model.InitializationError; 5 6 import static com.xtremelabs.robolectric.util.TestUtil.resourceFile; 7 8 public class WithCustomClassListTestRunner extends RobolectricTestRunner { 9 10 public WithCustomClassListTestRunner(@SuppressWarnings("rawtypes") Class testClass) throws InitializationError { 11 super(testClass, new RobolectricConfig(resourceFile("TestAndroidManifest.xml"), resourceFile("res"), resourceFile("assets"))); 12 13 addClassOrPackageToInstrument("com.xtremelabs.robolectric.bytecode.AndroidTranslatorClassIntrumentedTest$CustomPaint"); 14 addClassOrPackageToInstrument("com.xtremelabs.robolectric.bytecode.AndroidTranslatorClassIntrumentedTest$ClassWithPrivateConstructor"); 15 } 16 } 17