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

Unified Diff: chrome/test/base/run_all_unittests.cc

Issue 1585493002: [mojo] Ports EDK (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « no previous file | components/test/run_all_unittests.cc » ('j') | mojo/edk/embedder/embedder.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/run_all_unittests.cc
diff --git a/chrome/test/base/run_all_unittests.cc b/chrome/test/base/run_all_unittests.cc
index e2fb97599977fb1dd62121148a2123b95713efae..1e436974399b838948cfe0e4a6e5ffa14b25d22c 100644
--- a/chrome/test/base/run_all_unittests.cc
+++ b/chrome/test/base/run_all_unittests.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "base/bind.h"
+#include "base/command_line.h"
#include "base/test/launcher/unit_test_launcher.h"
#include "chrome/test/base/chrome_unit_test_suite.h"
#include "content/public/test/unittest_test_suite.h"
@@ -11,6 +12,10 @@
int main(int argc, char **argv) {
content::UnitTestTestSuite test_suite(new ChromeUnitTestSuite(argc, argv));
+ // TODO(use_chrome_edk): This flag will go away and be default behavior soon,
+ // but we explicitly add it here for test coverage.
+ base::CommandLine::ForCurrentProcess()->AppendSwitch("use-new-edk");
+
mojo::embedder::Init();
return base::LaunchUnitTests(
argc, argv, base::Bind(&content::UnitTestTestSuite::Run,
« no previous file with comments | « no previous file | components/test/run_all_unittests.cc » ('j') | mojo/edk/embedder/embedder.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698