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

Unified Diff: mojo/shell/switches.cc

Issue 1070463003: Initialize command line arguments for Mojo apptests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restoring url-mappings and specifying test apps on the commandline. Created 5 years, 8 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 | « mojo/shell/switches.h ('k') | mojo/tools/apptest_runner.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/switches.cc
diff --git a/mojo/shell/switches.cc b/mojo/shell/switches.cc
index 28e7d058a41a77440e2d23c48a47cf79ff902f3f..af589b7040af7d53fc692b32d81523407f6731e2 100644
--- a/mojo/shell/switches.cc
+++ b/mojo/shell/switches.cc
@@ -51,8 +51,18 @@ const char kOrigin[] = "origin";
// their content.
const char kPredictableAppFilenames[] = "predictable-app-filenames";
+// If specified, test application(s) listed on the command line will be run,
+// instead of the default application, mojo:window_manager.
+const char kTestApp[] = "test-app";
+
// Starts tracing when the shell starts up, saving a trace file on disk after 5
// seconds or when the shell exits.
const char kTraceStartup[] = "trace-startup";
+// Specifies a set of mappings to apply when resolving urls. The value is a set
+// of ',' separated mappings, where each mapping consists of a pair of urls
+// giving the to/from url to map. For example, 'a=b,c=d' contains two mappings,
+// the first maps 'a' to 'b' and the second 'c' to 'd'.
+const char kURLMappings[] = "url-mappings";
+
} // namespace switches
« no previous file with comments | « mojo/shell/switches.h ('k') | mojo/tools/apptest_runner.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698