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

Side by Side Diff: tools/test.dart

Issue 22420002: Add support for ie in the browser controller (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/usr/bin/env dart 1 #!/usr/bin/env dart
2 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 2 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
3 // for details. All rights reserved. Use of this source code is governed by a 3 // for details. All rights reserved. Use of this source code is governed by a
4 // BSD-style license that can be found in the LICENSE file. 4 // BSD-style license that can be found in the LICENSE file.
5 5
6 /** 6 /**
7 * This file is the entrypoint of the dart test suite. This suite is used 7 * This file is the entrypoint of the dart test suite. This suite is used
8 * to test: 8 * to test:
9 * 9 *
10 * 1. the dart vm 10 * 1. the dart vm
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 serverFutures.last.then((_) { 151 serverFutures.last.then((_) {
152 var commandline = servers.httpServerCommandline(); 152 var commandline = servers.httpServerCommandline();
153 print('Started HttpServers: $commandline'); 153 print('Started HttpServers: $commandline');
154 }); 154 });
155 } 155 }
156 } 156 }
157 157
158 // There should not be more than one InternetExplorerDriver instance 158 // There should not be more than one InternetExplorerDriver instance
159 // running at a time. For details, see 159 // running at a time. For details, see
160 // http://code.google.com/p/selenium/wiki/InternetExplorerDriver. 160 // http://code.google.com/p/selenium/wiki/InternetExplorerDriver.
161 if (conf['runtime'].startsWith('ie')) { 161 if (conf['runtime'].startsWith('ie') && !conf["use_browser_controller"]) {
162 maxBrowserProcesses = 1; 162 maxBrowserProcesses = 1;
163 } else if (conf['runtime'].startsWith('safari') && 163 } else if (conf['runtime'].startsWith('safari') &&
164 conf['use_browser_controller']) { 164 conf['use_browser_controller']) {
165 // Safari does not allow us to run from a fresh profile, so we can only 165 // Safari does not allow us to run from a fresh profile, so we can only
166 // use one browser. 166 // use one browser.
167 maxBrowserProcesses = 1; 167 maxBrowserProcesses = 1;
168 } 168 }
169 169
170 for (String key in selectors.keys) { 170 for (String key in selectors.keys) {
171 if (key == 'co19') { 171 if (key == 'co19') {
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 void main() { 300 void main() {
301 deleteTemporaryDartDirectories().then((_) { 301 deleteTemporaryDartDirectories().then((_) {
302 var optionsParser = new TestOptionsParser(); 302 var optionsParser = new TestOptionsParser();
303 var configurations = optionsParser.parse(new Options().arguments); 303 var configurations = optionsParser.parse(new Options().arguments);
304 if (configurations != null && configurations.length > 0) { 304 if (configurations != null && configurations.length > 0) {
305 testConfigurations(configurations); 305 testConfigurations(configurations);
306 } 306 }
307 }); 307 });
308 } 308 }
309 309
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698