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

Unified Diff: tests/standalone/io/raw_secure_server_socket_test.dart

Issue 13918016: Fix test (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/raw_secure_server_socket_test.dart
diff --git a/tests/standalone/io/raw_secure_server_socket_test.dart b/tests/standalone/io/raw_secure_server_socket_test.dart
index 7769b52f81665f46d2fe8fa8d7aa3525fc628eb8..40d8d047b192be82715632b1901e88b2a99fa9a6 100644
--- a/tests/standalone/io/raw_secure_server_socket_test.dart
+++ b/tests/standalone/io/raw_secure_server_socket_test.dart
@@ -318,7 +318,6 @@ void testSimpleReadWrite(bool listenSecure,
verifyHandshakeTestData(data);
client.writeEventsEnabled = true;
}
- if (bytesRead > data.length) print("XXX");
break;
case RawSocketEvent.WRITE:
Expect.isFalse(client.writeEventsEnabled);
@@ -334,6 +333,7 @@ void testSimpleReadWrite(bool listenSecure,
}
if (bytesWritten == data.length) {
if (!postponeSecure) {
+ client.readEventsEnabled = true;
completer.complete([subscription, null]);
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698