Home | History | Annotate | Download | only in robolectric
      1 package com.xtremelabs.robolectric;
      2 
      3 import static com.xtremelabs.robolectric.util.TestUtil.resourceFile;
      4 
      5 import org.junit.runners.model.InitializationError;
      6 
      7 import com.xtremelabs.robolectric.bytecode.ClassHandler;
      8 import com.xtremelabs.robolectric.bytecode.RobolectricClassLoader;
      9 import com.xtremelabs.robolectric.util.DatabaseConfig.DatabaseMap;
     10 
     11 public class WithTestDefaultsRunner extends RobolectricTestRunner {
     12 
     13 	public WithTestDefaultsRunner(Class<?> testClass) throws InitializationError {
     14         super(testClass, new RobolectricConfig(resourceFile("TestAndroidManifest.xml"), resourceFile("res"), resourceFile("assets")));
     15     }
     16 	public WithTestDefaultsRunner(Class<?> testClass,DatabaseMap databaseMap) throws InitializationError {
     17 		super(testClass, new RobolectricConfig(resourceFile("TestAndroidManifest.xml"), resourceFile("res"), resourceFile("assets")), databaseMap);
     18 	}
     19 
     20 }
     21