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

Unified Diff: utils/testrunner/configuration.dart

Issue 10966020: Added support for running an HTTP server during the test and being able to serve up static files. L… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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: utils/testrunner/configuration.dart
===================================================================
--- utils/testrunner/configuration.dart (revision 12655)
+++ utils/testrunner/configuration.dart (working copy)
@@ -41,6 +41,9 @@
String drtPath;
String dartPath;
bool filtering;
+ bool runServer;
+ String port;
+ String staticRoot;
Configuration(ArgParser parser, ArgResults options) :
unittestPath = makePathAbsolute(options['unittest']),
@@ -71,7 +74,10 @@
outputStream = options['out'],
logStream = options['log'],
tempDir = options['tempdir'],
- regenerate = options['regenerate'] {
+ regenerate = options['regenerate'],
+ runServer = options['server'],
+ port = options['port'],
+ staticRoot = options['root'] {
filtering = (includeFilter.length > 0 || excludeFilter.length > 0);
var dartsdk = options['dartsdk'];
var pathSep = Platform.pathSeparator;

Powered by Google App Engine
This is Rietveld 408576698