Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Unified Diff: testing/android/native_test/native_test_launcher.cc

Issue 2611323002: Relanding "Multiprocess test client: Android child process launcher rework." (Closed)
Patch Set: Addressed nyquist@'s comment + sync Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « testing/android/native_test/main_runner.cc ('k') | testing/test.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/android/native_test/native_test_launcher.cc
diff --git a/testing/android/native_test/native_test_launcher.cc b/testing/android/native_test/native_test_launcher.cc
index 9547216defa6b486756c2f31fbd59fc1ad2905f6..72e75db7b94479e2a3af522b836b677ec88fe099 100644
--- a/testing/android/native_test/native_test_launcher.cc
+++ b/testing/android/native_test/native_test_launcher.cc
@@ -26,6 +26,7 @@
#include "base/test/test_support_android.h"
#include "gtest/gtest.h"
#include "jni/NativeTest_jni.h"
+#include "testing/android/native_test/main_runner.h"
#include "testing/android/native_test/native_test_util.h"
using base::android::JavaParamRef;
@@ -127,9 +128,10 @@ static void RunTests(JNIEnv* env,
}
bool RegisterNativeTestJNI(JNIEnv* env) {
- if (!base::android::RegisterJni(env)) {
+ if (!base::android::RegisterJni(env))
+ return false;
+ if (!RegisterMainRunnerJni(env))
return false;
- }
return RegisterNativesImpl(env);
}
« no previous file with comments | « testing/android/native_test/main_runner.cc ('k') | testing/test.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698