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

Unified Diff: tests/standalone/verbose_gc_to_bmu_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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
Index: tests/standalone/verbose_gc_to_bmu_test.dart
diff --git a/tests/standalone/verbose_gc_to_bmu_test.dart b/tests/standalone/verbose_gc_to_bmu_test.dart
index 92d41a5ed3e2f0ae0468e955724ab85035e3adaf..5213d4c601ddcceb1de387cbd58ff7fc56c5c727 100644
--- a/tests/standalone/verbose_gc_to_bmu_test.dart
+++ b/tests/standalone/verbose_gc_to_bmu_test.dart
@@ -15,12 +15,14 @@ import "dart:io";
import "package:path/path.dart";
// Tool script relative to the path of this test.
-var toolScript = Uri.parse(Platform.executable)
- .resolve("../../runtime/tools/verbose_gc_to_bmu.dart").toFilePath();
+var toolScript = Uri
+ .parse(Platform.executable)
+ .resolve("../../runtime/tools/verbose_gc_to_bmu.dart")
+ .toFilePath();
// Target script relative to this test.
-var targetScript = Platform.script
- .resolve("verbose_gc_to_bmu_script.dart").toFilePath();
+var targetScript =
+ Platform.script.resolve("verbose_gc_to_bmu_script.dart").toFilePath();
const minOutputLines = 20;
void checkExitCode(targetResult) {
@@ -40,12 +42,10 @@ void main() {
// Feed the GC log of the target to the BMU tool.
process.stdin.write(gcLog);
process.stdin.close();
- var stdoutStringStream = process.stdout
- .transform(UTF8.decoder)
- .transform(new LineSplitter());
- var stderrStringStream = process.stderr
- .transform(UTF8.decoder)
- .transform(new LineSplitter());
+ var stdoutStringStream =
+ process.stdout.transform(UTF8.decoder).transform(new LineSplitter());
+ var stderrStringStream =
+ process.stderr.transform(UTF8.decoder).transform(new LineSplitter());
// Wait for 3 future events: stdout and stderr streams closed, and
// process terminated.
var futures = [];

Powered by Google App Engine
This is Rietveld 408576698