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

Unified Diff: tests/standalone/io/secure_socket_renegotiate_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/standalone/io/secure_socket_renegotiate_client.dart ('k') | tests/standalone/io/stdin_sync_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/secure_socket_renegotiate_test.dart
diff --git a/tests/standalone/io/secure_socket_renegotiate_test.dart b/tests/standalone/io/secure_socket_renegotiate_test.dart
index b93824428524cc6f399786e6b80f7f62d79b0d2d..54736a8ea09d97d6d2b11c202721a335ae6ca688 100644
--- a/tests/standalone/io/secure_socket_renegotiate_test.dart
+++ b/tests/standalone/io/secure_socket_renegotiate_test.dart
@@ -6,11 +6,13 @@
// are in separate processes, and that connection renegotiation works, and
// can request a client certificate to be sent.
-import "package:expect/expect.dart";
-import "package:path/path.dart";
import "dart:async";
+import "dart:convert";
import "dart:io";
+import "package:expect/expect.dart";
+import "package:path/path.dart";
+
const HOST_NAME = "localhost";
const CERTIFICATE = "localhost_cert";
@@ -29,7 +31,7 @@ Future<SecureServerSocket> runServer() {
StreamIterator<String> input =
new StreamIterator(socket.transform(new StringDecoder())
- .transform(new LineTransformer()));
+ .transform(new LineSplitter()));
input.moveNext().then((success) {
Expect.isTrue(success);
Expect.equals('first', input.current);
« no previous file with comments | « tests/standalone/io/secure_socket_renegotiate_client.dart ('k') | tests/standalone/io/stdin_sync_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698