Chromium Code Reviews| Index: pkg/testing/lib/src/test_dart.dart |
| diff --git a/pkg/testing/lib/src/test_dart.dart b/pkg/testing/lib/src/test_dart.dart |
| index 9b6ce7eb54d81ca5726c896d0a2ef9c7fa18c4a9..88f9c4e7ba973cd3bccb396dd80c8b8173388057 100644 |
| --- a/pkg/testing/lib/src/test_dart.dart |
| +++ b/pkg/testing/lib/src/test_dart.dart |
| @@ -4,14 +4,11 @@ |
| library testing.test_dart; |
| -import 'dart:convert' show |
| - JSON; |
| +import 'dart:convert' show JSON; |
| -import 'dart:io' show |
| - Platform; |
| +import 'dart:io' show Platform; |
| -import 'suite.dart' show |
| - Suite; |
| +import 'suite.dart' show Suite; |
| /// A suite that runs test.dart. |
| class TestDart extends Suite { |
| @@ -22,10 +19,12 @@ class TestDart extends Suite { |
| final List<String> commandLines; |
| TestDart(String name, this.common, this.processes, this.commandLines) |
| - : super(name, "test_dart", |
| - // This suite doesn't know what it's status file is because test.dart |
| - // doesn't know. |
| - null); |
| + : super( |
| + name, |
| + "test_dart", |
| + // This suite doesn't know what it's status file is because test.dart |
|
Emily Fortuna
2017/03/22 00:59:06
80 char
|
| + // doesn't know. |
| + null); |
| factory TestDart.fromJsonMap(Uri base, Map json, String name, String kind) { |
| String common = json["common"] ?? ""; |
| @@ -52,8 +51,9 @@ class TestDart extends Suite { |
| throw "Operating system not supported: ${Platform.operatingSystem}"; |
| } |
| List<String> processedArguments = <String>[]; |
| - processedArguments.add(Uri.base.resolve( |
| - "tools/testing/dart/package_testing_support.dart").toFilePath()); |
| + processedArguments.add(Uri.base |
| + .resolve("tools/testing/dart/package_testing_support.dart") |
| + .toFilePath()); |
| for (String commandLine in commandLines) { |
| String arguments = common; |
| arguments += " $processes"; |