android - connectedAndroidTest Null Pointer Exception -
i'm executing next test using android gradle plugin. next test fails npe @ getcontext(). appreciate if help me out problem
public class addtaskmanagertest extends androidtestcase { addtaskmanager manager = null; protected void setup() throws exception { super.setup(); manager = new addtaskmanager(getcontext()); } }
im running test using command ./gradlew connectedandroidtest
android android-gradle
No comments:
Post a Comment