-
-
Save danielhitome/b4ca996fb7c4ffd27c2cc873b4e0d878 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