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

Unified Diff: tests/standalone/src/io/SocketStreamCloseTest.dart

Issue 9699017: Start better error reporting for sockets (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixed bug Created 8 years, 9 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/src/io/SocketManyConnectionsTest.dart ('k') | tests/standalone/src/io/StreamPipeTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/src/io/SocketStreamCloseTest.dart
diff --git a/tests/standalone/src/io/SocketStreamCloseTest.dart b/tests/standalone/src/io/SocketStreamCloseTest.dart
index fdfe8fba7e328f02b534977a34d83cd5c1ec840b..798fe3d81c2616cccbc6ff99cde5d568173ead7d 100644
--- a/tests/standalone/src/io/SocketStreamCloseTest.dart
+++ b/tests/standalone/src/io/SocketStreamCloseTest.dart
@@ -94,7 +94,7 @@ class SocketClose {
}
}
- void errorHandler() {
+ void errorHandler(Exception e) {
_errorEvents++;
_socket.close();
}
@@ -299,7 +299,7 @@ class SocketCloseServer extends Isolate {
connection.outputStream.close();
}
- void errorHandler() {
+ void errorHandler(Exception e) {
Expect.fail("Socket error");
}
@@ -310,7 +310,7 @@ class SocketCloseServer extends Isolate {
connection.onError = errorHandler;
}
- void errorHandlerServer() {
+ void errorHandlerServer(Exception e) {
Expect.fail("Server socket error");
}
« no previous file with comments | « tests/standalone/src/io/SocketManyConnectionsTest.dart ('k') | tests/standalone/src/io/StreamPipeTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698