customising the robolectric test runner failing in robolectric 1.2

23 views
Skip to first unread message

Jomy Paul

unread,
May 7, 2013, 8:08:11 AM5/7/13
to robol...@googlegroups.com
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

Jomy

unread,
May 7, 2013, 8:15:24 AM5/7/13
to robol...@googlegroups.com
Sorry for the typo mistake for the constructor name, the constructor name is appropriate and same as the class name
Reply all
Reply to author
Forward
0 new messages