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

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

Issue 14864009: Keep track of when a socket has been destroyed (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove delete_handle marker. Created 7 years, 5 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/raw_socket_test.dart ('k') | tests/standalone/io/socket_exception_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/raw_socket_typed_data_test.dart
diff --git a/tests/standalone/io/raw_socket_typed_data_test.dart b/tests/standalone/io/raw_socket_typed_data_test.dart
index 61f9281c275a27c712706ca9bba581507d5defc3..e843aba104d82db693b52f5b1c884f5129814683 100644
--- a/tests/standalone/io/raw_socket_typed_data_test.dart
+++ b/tests/standalone/io/raw_socket_typed_data_test.dart
@@ -28,6 +28,8 @@ testOutOfRange() {
client.close();
server.close();
break;
+ case RawSocketEvent.CLOSED:
+ break;
default: throw "Unexpected event $event";
}
});
@@ -71,6 +73,8 @@ testOutOfRange() {
break;
case RawSocketEvent.READ_CLOSED:
break;
+ case RawSocketEvent.CLOSED:
+ break;
default: throw "Unexpected event $event";
}
},
@@ -155,6 +159,8 @@ void testSimpleReadWrite() {
case RawSocketEvent.READ_CLOSED:
server.close();
break;
+ case RawSocketEvent.CLOSED:
+ break;
default: throw "Unexpected event $event";
}
});
@@ -194,6 +200,8 @@ void testSimpleReadWrite() {
verifyTestData(received);
socket.close();
break;
+ case RawSocketEvent.CLOSED:
+ break;
default: throw "Unexpected event $event";
}
},
« no previous file with comments | « tests/standalone/io/raw_socket_test.dart ('k') | tests/standalone/io/socket_exception_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698