Created
July 18, 2016 17:22
-
-
Save drewhannay/09fe48ed2f3269fad8cbb9fee7838beb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.linkedin.util; | |
import android.os.Bundle; | |
import android.support.test.InstrumentationRegistry; | |
import android.support.test.runner.AndroidJUnitRunner; | |
import com.linkedin.android.testbutler.TestButler; | |
public class ExampleTestRunner extends AndroidJUnitRunner { | |
@Override | |
public void onStart() { | |
TestButler.setup(InstrumentationRegistry.getTargetContext()); | |
super.onStart(); | |
} | |
@Override | |
public void finish(int resultCode, Bundle results) { | |
TestButler.teardown(InstrumentationRegistry.getTargetContext()); | |
super.finish(resultCode, results); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment