| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 // Regression test for http://code.google.com/p/dart/issues/detail?id=1925. | 5 // Regression test for http://code.google.com/p/dart/issues/detail?id=1925. |
| 6 // | 6 // |
| 7 // VMOptions= | 7 // VMOptions= |
| 8 // VMOptions=--short_socket_read | 8 // VMOptions=--short_socket_read |
| 9 // VMOptions=--short_socket_write | 9 // VMOptions=--short_socket_write |
| 10 // VMOptions=--short_socket_read --short_socket_write | 10 // VMOptions=--short_socket_read --short_socket_write |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 shutdown(); | 61 shutdown(); |
| 62 }; | 62 }; |
| 63 socket.inputStream.onError = () => Expect.fail("Socket error"); | 63 socket.inputStream.onError = () => Expect.fail("Socket error"); |
| 64 }; | 64 }; |
| 65 } | 65 } |
| 66 } | 66 } |
| 67 | 67 |
| 68 main() { | 68 main() { |
| 69 Regress1925Test test = new Regress1925Test.start(); | 69 Regress1925Test test = new Regress1925Test.start(); |
| 70 } | 70 } |
| OLD | NEW |