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

Unified Diff: base/test/test_switches.cc

Issue 10582012: For unit tests, track additions to AtExitManager and warn. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Additional fixes. Created 8 years, 6 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: base/test/test_switches.cc
diff --git a/base/test/test_switches.cc b/base/test/test_switches.cc
index 79fbad12fd6dc9288fb80b020b008dd41b3941b0..0472dcb3a8427b74308442ca3a887fc256440f5d 100644
--- a/base/test/test_switches.cc
+++ b/base/test/test_switches.cc
@@ -4,9 +4,20 @@
#include "base/test/test_switches.h"
+namespace switches {
+
+// Run the tests and the launcher in the same process. Useful for debugging a
+// specific test in a debugger.
+const char kSingleProcessTestsFlag[] = "single_process";
+
+// Run Chromium in single process mode.
+const char kSingleProcessChromeFlag[] = "single-process";
Paweł Hajdan Jr. 2012/06/23 07:17:30 nit: When sorting the header, make the order here
+
// Time (in milliseconds) that the tests should wait before timing out.
// TODO(phajdan.jr): Clean up the switch names.
-const char switches::kTestLargeTimeout[] = "test-large-timeout";
-const char switches::kTestTinyTimeout[] = "test-tiny-timeout";
-const char switches::kUiTestActionTimeout[] = "ui-test-action-timeout";
-const char switches::kUiTestActionMaxTimeout[] = "ui-test-action-max-timeout";
+const char kTestLargeTimeout[] = "test-large-timeout";
+const char kTestTinyTimeout[] = "test-tiny-timeout";
+const char kUiTestActionTimeout[] = "ui-test-action-timeout";
+const char kUiTestActionMaxTimeout[] = "ui-test-action-max-timeout";
+
+} // namespace switches

Powered by Google App Engine
This is Rietveld 408576698