public class CustomTestRunner extends RobolectricTestRunner{
public SBOTestRunner(Class<?> testClass) throws InitializationError{
super(testClass);
// TODO Auto-generated constructor stub
}
@Override protected Application createApplication() {
return new customApplication();
}
The above code worked when with robolectric 0.9.4 version, after migrating to robolectric 1.2 , the returning of the customApplication is not successful and hence the tests fail that uses the custom application.
Can anyone help explain the reason, why such difference in 1.2 version