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

Unified Diff: tests/standalone/src/SocketExceptionTest.dart

Issue 8776001: Fix HTTP sample implementation to actually wait for connections before attempting to write. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 9 years, 1 month 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 | « samples/tests/samples/src/chat/HttpTest.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/src/SocketExceptionTest.dart
diff --git a/tests/standalone/src/SocketExceptionTest.dart b/tests/standalone/src/SocketExceptionTest.dart
index 8ee11fce977574f0e8c464ce0d1d649e3be9f0f1..562bae4779c06e1d51c4e4171c7acbdb52bc12ec 100644
--- a/tests/standalone/src/SocketExceptionTest.dart
+++ b/tests/standalone/src/SocketExceptionTest.dart
@@ -25,16 +25,6 @@ class SocketExceptionTest {
}
Expect.equals(false, exceptionCaught);
Expect.equals(true, !wrongExceptionCaught);
- exceptionCaught = false;
- try {
- server.accept();
- } catch (SocketIOException ex) {
- exceptionCaught = true;
- } catch (Exception ex) {
- wrongExceptionCaught = true;
- }
- Expect.equals(true, exceptionCaught);
- Expect.equals(true, !wrongExceptionCaught);
}
static void clientSocketExceptionTest() {
« no previous file with comments | « samples/tests/samples/src/chat/HttpTest.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698