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

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

Issue 10832188: Add an OutputStream.closed getter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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
Index: tests/standalone/io/http_server_socket_test.dart
diff --git a/tests/standalone/io/http_server_socket_test.dart b/tests/standalone/io/http_server_socket_test.dart
index cbeaf8a32b6e03091351e89597d767e651b322ec..a4f4ae29f4899ef8b8f5617c46c67efa5a3776f4 100644
--- a/tests/standalone/io/http_server_socket_test.dart
+++ b/tests/standalone/io/http_server_socket_test.dart
@@ -34,6 +34,8 @@ class ExpectedDataOutputStream implements OutputStream {
_socket.close(true);
}
+ bool get closed() => _socket._closed;
Søren Gjesse 2012/08/08 11:49:15 Not strictly needed here. It is never used and Exp
nweiz 2012/08/09 19:39:52 Removed.
+
void _onData(List<int> data) {
// TODO(ajohnsen): To be removed, since the socket should not be written to
// after close.

Powered by Google App Engine
This is Rietveld 408576698