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

Unified Diff: components/test/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
Index: components/test/run_all_unittests.cc
diff --git a/components/test/run_all_unittests.cc b/components/test/run_all_unittests.cc
index 77c8559d71f4034d0cc9d770f90318f13ab8d0eb..bb8caa4f3d56101a79aab796a41c22a0e2531cb6 100644
--- a/components/test/run_all_unittests.cc
+++ b/components/test/run_all_unittests.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "base/bind.h"
+#include "base/command_line.h"
#include "base/files/file_path.h"
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
@@ -137,6 +138,10 @@ class ComponentsUnitTestEventListener : public testing::EmptyTestEventListener {
int main(int argc, char** argv) {
ComponentsTestSuite test_suite(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");
+
// The listener will set up common test environment for all components unit
// tests.
testing::TestEventListeners& listeners =

Powered by Google App Engine
This is Rietveld 408576698