| OLD | NEW | 
|---|
| 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 import 'dart:io'; | 5 import 'dart:io'; | 
| 6 | 6 | 
| 7 import 'configuration.dart'; | 7 import 'configuration.dart'; | 
| 8 import 'runtime_configuration.dart'; | 8 import 'runtime_configuration.dart'; | 
| 9 import 'test_runner.dart'; | 9 import 'test_runner.dart'; | 
| 10 import 'test_suite.dart'; | 10 import 'test_suite.dart'; | 
|  | 11 import 'utils.dart'; | 
| 11 | 12 | 
| 12 List<String> replaceDartFileWith(List<String> list, String replacement) { | 13 List<String> replaceDartFileWith(List<String> list, String replacement) { | 
| 13   var copy = new List<String>.from(list); | 14   var copy = new List<String>.from(list); | 
| 14   for (var i = 0; i < copy.length; i++) { | 15   for (var i = 0; i < copy.length; i++) { | 
| 15     if (copy[i].endsWith(".dart")) { | 16     if (copy[i].endsWith(".dart")) { | 
| 16       copy[i] = replacement; | 17       copy[i] = replacement; | 
| 17     } | 18     } | 
| 18   } | 19   } | 
| 19   return copy; | 20   return copy; | 
| 20 } | 21 } | 
| (...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 265         environmentOverrides); | 266         environmentOverrides); | 
| 266   } | 267   } | 
| 267 | 268 | 
| 268   CommandArtifact computeCompilationArtifact( | 269   CommandArtifact computeCompilationArtifact( | 
| 269       String buildDir, | 270       String buildDir, | 
| 270       String tempDir, | 271       String tempDir, | 
| 271       CommandBuilder commandBuilder, | 272       CommandBuilder commandBuilder, | 
| 272       List<String> arguments, | 273       List<String> arguments, | 
| 273       Map<String, String> environmentOverrides) { | 274       Map<String, String> environmentOverrides) { | 
| 274     return new CommandArtifact(<Command>[ | 275     return new CommandArtifact(<Command>[ | 
| 275       this.computeCompilationCommand('$tempDir/out.dill', buildDir, | 276       computeCompilationCommand('$tempDir/out.dill', buildDir, | 
| 276           CommandBuilder.instance, arguments, environmentOverrides) | 277           CommandBuilder.instance, arguments, environmentOverrides) | 
| 277     ], '$tempDir/out.dill', 'application/dart'); | 278     ], '$tempDir/out.dill', 'application/dart'); | 
| 278   } | 279   } | 
| 279 | 280 | 
| 280   List<String> computeRuntimeArguments( | 281   List<String> computeRuntimeArguments( | 
| 281       RuntimeConfiguration runtimeConfiguration, | 282       RuntimeConfiguration runtimeConfiguration, | 
| 282       String buildDir, | 283       String buildDir, | 
| 283       TestInformation info, | 284       TestInformation info, | 
| 284       List<String> vmOptions, | 285       List<String> vmOptions, | 
| 285       List<String> sharedOptions, | 286       List<String> sharedOptions, | 
| (...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 936       RuntimeConfiguration runtimeConfiguration, | 937       RuntimeConfiguration runtimeConfiguration, | 
| 937       String buildDir, | 938       String buildDir, | 
| 938       TestInformation info, | 939       TestInformation info, | 
| 939       List<String> vmOptions, | 940       List<String> vmOptions, | 
| 940       List<String> sharedOptions, | 941       List<String> sharedOptions, | 
| 941       List<String> originalArguments, | 942       List<String> originalArguments, | 
| 942       CommandArtifact artifact) { | 943       CommandArtifact artifact) { | 
| 943     return <String>[]; | 944     return <String>[]; | 
| 944   } | 945   } | 
| 945 } | 946 } | 
| OLD | NEW | 
|---|