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

Unified Diff: ipc/run_all_unittests.cc

Issue 1950143003: Re-land: Re-enable multi-process IPC tests on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « ipc/mojo/ipc_mojo_bootstrap_unittest.cc ('k') | ipc/sync_socket_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/run_all_unittests.cc
diff --git a/ipc/run_all_unittests.cc b/ipc/run_all_unittests.cc
index 26a73955eaf42227b4ed23ef541432dcc0c64920..5f9cc16755f7f53d5e6b893b72e185a3be0c75cd 100644
--- a/ipc/run_all_unittests.cc
+++ b/ipc/run_all_unittests.cc
@@ -4,6 +4,7 @@
#include "base/bind.h"
#include "base/test/launcher/unit_test_launcher.h"
+#include "base/test/multiprocess_test.h"
#include "base/test/test_suite.h"
#include "build/build_config.h"
@@ -14,6 +15,8 @@
int main(int argc, char** argv) {
#if defined(OS_ANDROID)
+ base::InitAndroidMultiProcessTestHelper(main);
+
JNIEnv* env = base::android::AttachCurrentThread();
base::RegisterContentUriTestUtils(env);
#endif
« no previous file with comments | « ipc/mojo/ipc_mojo_bootstrap_unittest.cc ('k') | ipc/sync_socket_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698