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

Unified Diff: tools/coverage.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/standalone/vmservice/test_helper.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/coverage.dart
diff --git a/tools/coverage.dart b/tools/coverage.dart
index 20811d1e8120497191bb1b126b4d6829f013665f..350019de3c508126dfe2470aad98e09aabafa531 100644
--- a/tools/coverage.dart
+++ b/tools/coverage.dart
@@ -13,6 +13,7 @@
// --verbose see the stdout and stderr output of the debug
// target process.
+import "dart:convert";
import "dart:io";
import "dart:utf";
import "dart:json" as JSON;
@@ -214,7 +215,7 @@ class Debugger {
Debugger(this.targetProcess) {
var stdoutStringStream = targetProcess.stdout
.transform(new StringDecoder())
- .transform(new LineTransformer());
+ .transform(new LineSplitter());
stdoutStringStream.listen((line) {
if (showDebuggeeOutput) {
print("TARG: $line");
@@ -231,7 +232,7 @@ class Debugger {
var stderrStringStream = targetProcess.stderr
.transform(new StringDecoder())
- .transform(new LineTransformer());
+ .transform(new LineSplitter());
stderrStringStream.listen((line) {
if (showDebuggeeOutput) {
print("TARG: $line");
« no previous file with comments | « tests/standalone/vmservice/test_helper.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698