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

Side by Side Diff: tools/testing/dart/runtime_configuration.dart

Issue 2850783002: Dart SDK Spelling b, c, and d. (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « tools/testing/dart/dependency_graph.dart ('k') | tools/testing/dart/test_runner.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library runtime_configuration; 5 library runtime_configuration;
6 6
7 import 'dart:io' show Directory, File; 7 import 'dart:io' show Directory, File;
8 8
9 import 'compiler_configuration.dart' show CommandArtifact; 9 import 'compiler_configuration.dart' show CommandArtifact;
10 10
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 return multiplier; 203 return multiplier;
204 } 204 }
205 } 205 }
206 206
207 /// Runtime configuration for Content Shell. We previously used a similar 207 /// Runtime configuration for Content Shell. We previously used a similar
208 /// program named Dump Render Tree, hence the name. 208 /// program named Dump Render Tree, hence the name.
209 class DrtRuntimeConfiguration extends DartVmRuntimeConfiguration { 209 class DrtRuntimeConfiguration extends DartVmRuntimeConfiguration {
210 int computeTimeoutMultiplier( 210 int computeTimeoutMultiplier(
211 {String mode, bool isChecked: false, bool isReload: false, String arch}) { 211 {String mode, bool isChecked: false, bool isReload: false, String arch}) {
212 return 4 // Allow additional time for browser testing to run. 212 return 4 // Allow additional time for browser testing to run.
213 // TODO(ahe): We might need to distinquish between DRT for running 213 // TODO(ahe): We might need to distinguish between DRT for running
214 // JavaScript and Dart code. I'm not convinced the inherited timeout 214 // JavaScript and Dart code. I'm not convinced the inherited timeout
215 // multiplier is relevant for JavaScript. 215 // multiplier is relevant for JavaScript.
216 * 216 *
217 super.computeTimeoutMultiplier( 217 super.computeTimeoutMultiplier(
218 mode: mode, isChecked: isChecked, isReload: isReload); 218 mode: mode, isChecked: isChecked, isReload: isReload);
219 } 219 }
220 } 220 }
221 221
222 /// The standalone Dart VM binary, "dart" or "dart.exe". 222 /// The standalone Dart VM binary, "dart" or "dart.exe".
223 class StandaloneDartRuntimeConfiguration extends DartVmRuntimeConfiguration { 223 class StandaloneDartRuntimeConfiguration extends DartVmRuntimeConfiguration {
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 class DummyRuntimeConfiguration extends DartVmRuntimeConfiguration { 357 class DummyRuntimeConfiguration extends DartVmRuntimeConfiguration {
358 List<Command> computeRuntimeCommands( 358 List<Command> computeRuntimeCommands(
359 TestSuite suite, 359 TestSuite suite,
360 CommandBuilder commandBuilder, 360 CommandBuilder commandBuilder,
361 CommandArtifact artifact, 361 CommandArtifact artifact,
362 List<String> arguments, 362 List<String> arguments,
363 Map<String, String> environmentOverrides) { 363 Map<String, String> environmentOverrides) {
364 throw "Unimplemented runtime '$runtimeType'"; 364 throw "Unimplemented runtime '$runtimeType'";
365 } 365 }
366 } 366 }
OLDNEW
« no previous file with comments | « tools/testing/dart/dependency_graph.dart ('k') | tools/testing/dart/test_runner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698