Skip to content

Commit

Permalink
[Android] Fixed javadoc.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonracz committed Sep 5, 2017
1 parent 3a82c79 commit acc75df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion detox/android/detox/src/main/java/com/wix/detox/Detox.java
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,9 @@ private Detox() {}
*
* <p>
* In case you have a non-standard React Native application, consider using
* {@link Detox#runTests(Object)}.
* {@link Detox#runTests(ActivityTestRule, Object)}}.
* </p>
* @param activityTestRule the activityTestRule
*/
public static void runTests(ActivityTestRule activityTestRule) {
Object appContext = InstrumentationRegistry.getTargetContext().getApplicationContext();
Expand All @@ -102,6 +103,7 @@ public static void runTests(ActivityTestRule activityTestRule) {
* <blockquote>{@code ReactNativeHost getReactNativeHost();}</blockquote>
* </p>
*
* @param activityTestRule the activityTestRule
* @param reactActivityDelegate an object that has a {@code getReactNativeHost()} method
*/
public static void runTests(ActivityTestRule activityTestRule, @NonNull final Object reactActivityDelegate) {
Expand Down
2 changes: 2 additions & 0 deletions detox/test/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ android {
abiFilters "armeabi-v7a", "x86"
}
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
/*
testInstrumentationRunnerArguments = [
'detoxServer': 'ws://localhost:8099',
'detoxSessionId': 'test'
]
*/
}

//unremark to generate app-release-androidTest.apk for release tests
Expand Down

0 comments on commit acc75df

Please sign in to comment.