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

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

Issue 2549363004: Multiprocess test client: Android child process launcher rework. (Closed)
Patch Set: content_unittests + 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/java/AndroidManifest.xml.jinja2 ('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 2389c731a681c50c71f145803bbdf7d30c9d7f9f..a0c3ef1ae0f04fcadfa897660533d7158d6b1507 100644
--- a/testing/android/native_test/native_test_launcher.cc
+++ b/testing/android/native_test/native_test_launcher.cc
@@ -24,6 +24,7 @@
#include "base/files/file_util.h"
#include "base/logging.h"
#include "base/strings/stringprintf.h"
+#include "base/test/android/test_support_jni_registrar.h"
#include "base/test/test_support_android.h"
#include "gtest/gtest.h"
#include "jni/NativeTest_jni.h"
@@ -128,9 +129,10 @@ static void RunTests(JNIEnv* env,
}
bool RegisterNativeTestJNI(JNIEnv* env) {
- if (!base::android::RegisterJni(env)) {
+ if (!base::android::RegisterJni(env))
+ return false;
+ if (!base::android::RegisterTestSupportJni(env))
return false;
- }
return RegisterNativesImpl(env);
}
« no previous file with comments | « testing/android/native_test/java/AndroidManifest.xml.jinja2 ('k') | testing/test.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698