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/src/io/EchoServerStreamTest.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 | « runtime/bin/utils_win.cc ('k') | tests/standalone/src/io/EchoServerTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/src/io/EchoServerStreamTest.dart
diff --git a/tests/standalone/src/io/EchoServerStreamTest.dart b/tests/standalone/src/io/EchoServerStreamTest.dart
index 03d2472598500bbf33164bab1f1b4ecd62b9abe1..cb45fbb2fc445ed29e437d29575f42a2c6bfee0e 100644
--- a/tests/standalone/src/io/EchoServerStreamTest.dart
+++ b/tests/standalone/src/io/EchoServerStreamTest.dart
@@ -35,8 +35,8 @@ class EchoServerGame {
void sendData() {
- void errorHandler() {
- Expect.fail("Socket error");
+ void errorHandler(Exception e) {
+ Expect.fail("Socket error $e");
}
void connectHandler() {
@@ -161,8 +161,8 @@ class EchoServer extends TestingServer {
}
}
- void errorHandler() {
- Expect.fail("Socket error");
+ void errorHandler(Exception e) {
+ Expect.fail("Socket error $e");
}
inputStream = connection.inputStream;
« no previous file with comments | « runtime/bin/utils_win.cc ('k') | tests/standalone/src/io/EchoServerTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698