Chromium Code Reviews| 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(); |
|
Søren Gjesse
2011/12/01 11:15:43
Maybe put this back replacing accept with listen.
Mads Ager (google)
2011/12/01 11:43:59
Listen is implicit. There is get port but that nee
|
| - } catch (SocketIOException ex) { |
| - exceptionCaught = true; |
| - } catch (Exception ex) { |
| - wrongExceptionCaught = true; |
| - } |
| - Expect.equals(true, exceptionCaught); |
| - Expect.equals(true, !wrongExceptionCaught); |
| } |
| static void clientSocketExceptionTest() { |