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

Unified Diff: tests/standalone/vmservice/test_helper.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/standalone.status ('k') | tools/coverage.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/vmservice/test_helper.dart
diff --git a/tests/standalone/vmservice/test_helper.dart b/tests/standalone/vmservice/test_helper.dart
index e3f51c55c8f9dfc578825612c8d138a8da49201a..d199d05b8d539d1f091ed9e6f03e97f030b4dc16 100644
--- a/tests/standalone/vmservice/test_helper.dart
+++ b/tests/standalone/vmservice/test_helper.dart
@@ -5,6 +5,7 @@
library vmservice_test_helper;
import 'dart:async';
+import 'dart:convert';
import 'dart:io';
import 'dart:json' as JSON;
import 'dart:utf' as UTF;
@@ -97,7 +98,7 @@ class TestLauncher {
var blank;
var first = true;
process.stdout.transform(new StringDecoder())
- .transform(new LineTransformer()).listen((line) {
+ .transform(new LineSplitter()).listen((line) {
if (line.startsWith('VmService listening on port ')) {
RegExp portExp = new RegExp(r"\d+");
var port = portExp.stringMatch(line);
@@ -116,7 +117,7 @@ class TestLauncher {
print(line);
});
process.stderr.transform(new StringDecoder())
- .transform(new LineTransformer()).listen((line) {
+ .transform(new LineSplitter()).listen((line) {
print(line);
});
process.exitCode.then((code) {
« no previous file with comments | « tests/standalone/standalone.status ('k') | tools/coverage.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698