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

Unified Diff: tests/standalone/coverage_test.dart

Issue 22927016: Remove the LineTransformer from dart:io (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Changed one status file Created 7 years, 4 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 | « tests/lib/analyzer/analyze_tests.status ('k') | tests/standalone/debugger/debug_lib.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/coverage_test.dart
diff --git a/tests/standalone/coverage_test.dart b/tests/standalone/coverage_test.dart
index ef5e42d0a8f6f6f17b1ad6cdf68a71d72b28e56e..ecf92eaf7ea3de55bfcc69e9ddfa8237b4303c2c 100644
--- a/tests/standalone/coverage_test.dart
+++ b/tests/standalone/coverage_test.dart
@@ -7,8 +7,10 @@
// This test is mainly here to ensure that the coverage tool compiles and
// runs.
-import "dart:io";
import "dart:async";
+import "dart:convert";
+import "dart:io";
+
import "package:path/path.dart";
// Coverage tool script relative to the path of this test.
@@ -64,11 +66,11 @@ void main() {
coverageToolProcess.stdin.close();
var stdoutStringStream = coverageToolProcess.stdout
.transform(new StringDecoder())
- .transform(new LineTransformer());
+ .transform(new LineSplitter());
var stderrStringStream = coverageToolProcess.stderr
.transform(new StringDecoder())
- .transform(new LineTransformer());
+ .transform(new LineSplitter());
// Wait for 3 future events: stdout and stderr streams of the coverage
// tool process closed, and coverage tool process terminated.
« no previous file with comments | « tests/lib/analyzer/analyze_tests.status ('k') | tests/standalone/debugger/debug_lib.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698