OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 // VMOptions= | 5 // VMOptions= |
6 // VMOptions=--short_socket_read | 6 // VMOptions=--short_socket_read |
7 // VMOptions=--short_socket_write | 7 // VMOptions=--short_socket_write |
8 // VMOptions=--short_socket_read --short_socket_write | 8 // VMOptions=--short_socket_read --short_socket_write |
| 9 // OtherResources=certificates/server_chain.pem |
| 10 // OtherResources=certificates/server_key.pem |
| 11 // OtherResources=certificates/trusted_certs.pem |
9 | 12 |
10 import "dart:async"; | 13 import "dart:async"; |
11 import "dart:io"; | 14 import "dart:io"; |
12 | 15 |
13 import "package:async_helper/async_helper.dart"; | 16 import "package:async_helper/async_helper.dart"; |
14 import "package:expect/expect.dart"; | 17 import "package:expect/expect.dart"; |
15 | 18 |
16 InternetAddress HOST; | 19 InternetAddress HOST; |
17 String localFile(path) => Platform.script.resolve(path).toFilePath(); | 20 String localFile(path) => Platform.script.resolve(path).toFilePath(); |
18 | 21 |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 | 170 |
168 runTests() { | 171 runTests() { |
169 testCloseOneEnd("client"); | 172 testCloseOneEnd("client"); |
170 testCloseOneEnd("server"); | 173 testCloseOneEnd("server"); |
171 testCloseBothEnds(); | 174 testCloseBothEnds(); |
172 testCloseServer(); | 175 testCloseServer(); |
173 testPauseServerSocket(); | 176 testPauseServerSocket(); |
174 // TODO(whesse): Add testPauseSocket from raw_socket_test.dart. | 177 // TODO(whesse): Add testPauseSocket from raw_socket_test.dart. |
175 // TODO(whesse): Add testCancelResubscribeSocket from raw_socket_test.dart. | 178 // TODO(whesse): Add testCancelResubscribeSocket from raw_socket_test.dart. |
176 } | 179 } |
OLD | NEW |