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

Unified Diff: tools/testing/dart/test_options.dart

Issue 29773006: Changes to run tests on Dartium content shell on Android. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 2 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 | « tools/testing/dart/browser_controller.dart ('k') | tools/testing/dart/test_suite.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_options.dart
===================================================================
--- tools/testing/dart/test_options.dart (revision 29181)
+++ tools/testing/dart/test_options.dart (working copy)
@@ -86,6 +86,9 @@
dartium: Run Dart or JavaScript in Dartium.
+ ContentShellOnAndroid: Run Dart or JavaScript in Dartium content shell
+ on Android.
+
[ff | chrome | safari | ie9 | ie10 | opera | chromeOnAndroid]:
Run JavaScript in the specified browser.
@@ -94,7 +97,7 @@
['-r', '--runtime'],
['vm', 'd8', 'jsshell', 'drt', 'dartium', 'ff', 'firefox',
'chrome', 'safari', 'ie9', 'ie10', 'opera', 'chromeOnAndroid',
- 'none'],
+ 'ContentShellOnAndroid', 'none'],
'vm'),
new _TestOptionSpecification(
'arch',
@@ -302,6 +305,34 @@
[],
'127.0.0.1'),
new _TestOptionSpecification(
+ 'test_server_port',
+ 'Port for test http server.',
+ ['--test_server_port'],
+ [],
+ 0,
+ 'int'),
+ new _TestOptionSpecification(
+ 'test_server_cross_origin_port',
+ 'Port for test http server cross origin.',
+ ['--test_server_cross_origin_port'],
+ [],
+ 0,
+ 'int'),
+ new _TestOptionSpecification(
+ 'test_driver_port',
+ 'Port for http test driver server.',
+ ['--test_driver_port'],
+ [],
+ 0,
+ 'int'),
+ new _TestOptionSpecification(
+ 'test_driver_error_port',
+ 'Port for http test driver server errors.',
+ ['--test_driver_error_port'],
+ [],
+ 0,
+ 'int'),
+ new _TestOptionSpecification(
'record_to_file',
'Records all the commands that need to be executed and writes it '
'out to a file.',
@@ -513,7 +544,7 @@
break;
case 'none':
case 'dart2dart':
- validRuntimes = const ['vm', 'drt', 'dartium'];
+ validRuntimes = const ['vm', 'drt', 'dartium', 'ContentShellOnAndroid'];
break;
}
if (!validRuntimes.contains(config['runtime'])) {
« no previous file with comments | « tools/testing/dart/browser_controller.dart ('k') | tools/testing/dart/test_suite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698