| 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 |
| 12 // OtherResources=certificates/untrusted_server_chain.pem |
| 13 // OtherResources=certificates/untrusted_server_key.pem |
| 9 | 14 |
| 10 import "dart:async"; | 15 import "dart:async"; |
| 11 import "dart:io"; | 16 import "dart:io"; |
| 12 | 17 |
| 13 import "package:async_helper/async_helper.dart"; | 18 import "package:async_helper/async_helper.dart"; |
| 14 import "package:expect/expect.dart"; | 19 import "package:expect/expect.dart"; |
| 15 | 20 |
| 16 InternetAddress HOST; | 21 InternetAddress HOST; |
| 17 String localFile(path) => Platform.script.resolve(path).toFilePath(); | 22 String localFile(path) => Platform.script.resolve(path).toFilePath(); |
| 18 | 23 |
| (...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 626 testSimpleReadWrite(listenSecure: false, | 631 testSimpleReadWrite(listenSecure: false, |
| 627 connectSecure: false, | 632 connectSecure: false, |
| 628 handshakeBeforeSecure: true, | 633 handshakeBeforeSecure: true, |
| 629 postponeSecure: true, | 634 postponeSecure: true, |
| 630 dropReads: true); | 635 dropReads: true); |
| 631 testPausedSecuringSubscription(false, false); | 636 testPausedSecuringSubscription(false, false); |
| 632 testPausedSecuringSubscription(true, false); | 637 testPausedSecuringSubscription(true, false); |
| 633 testPausedSecuringSubscription(false, true); | 638 testPausedSecuringSubscription(false, true); |
| 634 testPausedSecuringSubscription(true, true); | 639 testPausedSecuringSubscription(true, true); |
| 635 } | 640 } |
| OLD | NEW |