// Path: app/src/androidTest/java/com/ironflowers/firebasetest/MainTestApplication.java
// public class MainTestApplication extends MainApplication {
// 
//     @Override
//     protected void initFirebaseDatabase() {
// 
//         // for testing we disable caching:
//         FirebaseDatabase.getInstance().setPersistenceEnabled(false);
//     }
// }


import android.app.Application;
import android.content.Context;
import android.support.test.runner.AndroidJUnitRunner;
import com.ironflowers.firebasetest.MainTestApplication;
package com.ironflowers.firebasetest.util;



public class TestRunner extends AndroidJUnitRunner {

    @Override
    public Application newApplication(ClassLoader cl, String className, Context context)
// Path: app/src/androidTest/java/com/ironflowers/firebasetest/MainTestApplication.java
// public class MainTestApplication extends MainApplication {
// 
//     @Override
//     protected void initFirebaseDatabase() {
// 
//         // for testing we disable caching:
//         FirebaseDatabase.getInstance().setPersistenceEnabled(false);
//     }
// }


// Path: app/src/androidTest/java/com/ironflowers/firebasetest/util/TestRunner.java
import android.app.Application;
import android.content.Context;
import android.support.test.runner.AndroidJUnitRunner;
import com.ironflowers.firebasetest.MainTestApplication;

package com.ironflowers.firebasetest.util;



public class TestRunner extends AndroidJUnitRunner {

    @Override
    public Application newApplication(ClassLoader cl, String className, Context context)
            throws InstantiationException, IllegalAccessException, ClassNotFoundException {