| 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 | 9 |
| 10 import 'dart:async'; | 10 import 'dart:async'; |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 } | 162 } |
| 163 | 163 |
| 164 | 164 |
| 165 void main() { | 165 void main() { |
| 166 testGetEmptyRequest(); | 166 testGetEmptyRequest(); |
| 167 testGetDataRequest(); | 167 testGetDataRequest(); |
| 168 testGetInvalidHost(); | 168 testGetInvalidHost(); |
| 169 testGetServerClose(); | 169 testGetServerClose(); |
| 170 testGetServerCloseNoKeepAlive(); | 170 testGetServerCloseNoKeepAlive(); |
| 171 testGetServerForceClose(); | 171 testGetServerForceClose(); |
| 172 testGetDataServerForceClose(); | 172 // TODO(14953): This test can only run, when buffering is disabled. |
| 173 // testGetDataServerForceClose(); |
| 173 testPostEmptyRequest(); | 174 testPostEmptyRequest(); |
| 174 } | 175 } |
| OLD | NEW |