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

Unified Diff: mojo/edk/system/run_all_unittests.cc

Issue 1350023003: Add a Mojo EDK for Chrome that uses one OS pipe per message pipe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
Index: mojo/edk/system/run_all_unittests.cc
diff --git a/third_party/mojo/src/mojo/edk/system/run_all_unittests.cc b/mojo/edk/system/run_all_unittests.cc
similarity index 89%
copy from third_party/mojo/src/mojo/edk/system/run_all_unittests.cc
copy to mojo/edk/system/run_all_unittests.cc
index cd6133741bbc3e2a12817fded892a29ee382f92b..106e765ba956e308d41f55b0e807a9bb684e9f88 100644
--- a/third_party/mojo/src/mojo/edk/system/run_all_unittests.cc
+++ b/mojo/edk/system/run_all_unittests.cc
@@ -5,6 +5,7 @@
#include "base/bind.h"
#include "base/test/launcher/unit_test_launcher.h"
#include "base/test/test_suite.h"
+#include "mojo/edk/embedder/test_embedder.h"
#include "testing/gtest/include/gtest/gtest.h"
int main(int argc, char** argv) {
@@ -15,7 +16,7 @@ int main(int argc, char** argv) {
#if !defined(OS_ANDROID)
testing::GTEST_FLAG(death_test_style) = "threadsafe";
#endif
-
+ mojo::embedder::test::InitWithSimplePlatformSupport();
base::TestSuite test_suite(argc, argv);
return base::LaunchUnitTests(

Powered by Google App Engine
This is Rietveld 408576698