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

Unified Diff: tests/standalone/src/io/EchoServerTest.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/EchoServerStreamTest.dart ('k') | tests/standalone/src/io/SocketCloseTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/src/io/EchoServerTest.dart
diff --git a/tests/standalone/src/io/EchoServerTest.dart b/tests/standalone/src/io/EchoServerTest.dart
index 428d3d7e0db5fe425b7ca0326f90bb7ea271c744..b0c77bf6d07e379a456a75e7441785b30d023eca 100644
--- a/tests/standalone/src/io/EchoServerTest.dart
+++ b/tests/standalone/src/io/EchoServerTest.dart
@@ -75,8 +75,8 @@ class EchoServerGame {
handleRead();
}
- void errorHandler() {
- Expect.fail("Socket error");
+ void errorHandler(Exception e) {
+ Expect.fail("Socket error $e");
}
void connectHandler() {
@@ -183,8 +183,8 @@ class EchoServer extends TestingServer {
connection.close();
}
- void errorHandler() {
- Expect.fail("Socket error");
+ void errorHandler(Exception e) {
+ Expect.fail("Socket error $e");
}
connection.onData = messageHandler;
« no previous file with comments | « tests/standalone/src/io/EchoServerStreamTest.dart ('k') | tests/standalone/src/io/SocketCloseTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698