Last active
June 24, 2018 19:34
-
-
Save zawadz88/2059ab2e39cd8e45359cc23cb5554ec7 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
| @Override | |
| public void onStart() { | |
| setJsBridgeClassName("android.support.test.espresso.web.bridge.JavaScriptBridge"); | |
| super.onStart(); | |
| /* | |
| * The orchestrator cannot collect the list of tests as it is running in a different process | |
| * than the test app. On first run, the Orchestrator will ask AJUR to list the tests | |
| * out that would be run for a given class parameter. AJUR will then be successively | |
| * called with whatever it passes back to the orchestratorListener. | |
| */ | |
| if (mRunnerArgs.listTestsForOrchestrator | |
| && isPrimaryInstrProcess(mRunnerArgs.targetProcess)) { | |
| Request testRequest = buildRequest(mRunnerArgs, getArguments()); | |
| mOrchestratorListener.addTests(testRequest.getRunner().getDescription()); | |
| finish(Activity.RESULT_OK, new Bundle()); | |
| return; | |
| } | |
| ... | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment