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

Unified Diff: pkg/testing/lib/src/test_dart.dart

Issue 2743423009: Run dartfmt on remaining unformated pkg packages (Closed)
Patch Set: Run dartfmt on remaining unformated pkg packages Created 3 years, 9 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 | « pkg/testing/lib/src/suite.dart ('k') | pkg/testing/lib/src/test_dart/status_file_parser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..b65ac3a5abe35684c1943e91dbc4bc096b77876a 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 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";
« no previous file with comments | « pkg/testing/lib/src/suite.dart ('k') | pkg/testing/lib/src/test_dart/status_file_parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698