Skip to content

Instantly share code, notes, and snippets.

@johngorithm
Created March 12, 2019 22:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johngorithm/f171b96264ff98be936cd36a7aa61f3d to your computer and use it in GitHub Desktop.
Save johngorithm/f171b96264ff98be936cd36a7aa61f3d to your computer and use it in GitHub Desktop.
package com.jxw.graphql.test_utils;
import android.app.Application;
import android.content.Context;
import android.support.test.runner.AndroidJUnitRunner;
public class CustomTestRunner extends AndroidJUnitRunner {
@Override
public Application newApplication(ClassLoader cl, String className, Context context) throws ClassNotFoundException, IllegalAccessException, InstantiationException {
return super.newApplication(cl, TestDemoApplication.class.getName(), context);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment