| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 // | 4 // |
| 5 // Tests socket exceptions. | 5 // Tests socket exceptions. |
| 6 | 6 |
| 7 #import("dart:io"); | 7 #import("dart:io"); |
| 8 | 8 |
| 9 class SocketExceptionTest { | 9 class SocketExceptionTest { |
| 10 | 10 |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 static void testMain() { | 171 static void testMain() { |
| 172 serverSocketExceptionTest(); | 172 serverSocketExceptionTest(); |
| 173 clientSocketExceptionTest(); | 173 clientSocketExceptionTest(); |
| 174 indexOutOfRangeExceptionTest(); | 174 indexOutOfRangeExceptionTest(); |
| 175 } | 175 } |
| 176 } | 176 } |
| 177 | 177 |
| 178 main() { | 178 main() { |
| 179 SocketExceptionTest.testMain(); | 179 SocketExceptionTest.testMain(); |
| 180 } | 180 } |
| OLD | NEW |