| 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 // VMOptions= | 4 // VMOptions= |
| 5 // VMOptions=--short_socket_read | 5 // VMOptions=--short_socket_read |
| 6 // VMOptions=--short_socket_write | 6 // VMOptions=--short_socket_write |
| 7 // VMOptions=--short_socket_read --short_socket_write | 7 // VMOptions=--short_socket_read --short_socket_write |
| 8 // OtherResources=http_launch_data/http_isolate_main.dart | 8 // OtherResources=http_launch_data/http_isolate_main.dart |
| 9 // OtherResources=http_launch_data/http_launch_main.dart | 9 // OtherResources=http_launch_data/http_launch_main.dart |
| 10 // OtherResources=http_launch_data/http_spawn_main.dart | 10 // OtherResources=http_launch_data/http_spawn_main.dart |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 Expect.isTrue(stdout.startsWith('hello')); | 89 Expect.isTrue(stdout.startsWith('hello')); |
| 90 // Same output from all three process runs. | 90 // Same output from all three process runs. |
| 91 for (int i = 0; i < results.length; i++) { | 91 for (int i = 0; i < results.length; i++) { |
| 92 Expect.equals(stdout, results[i].stdout); | 92 Expect.equals(stdout, results[i].stdout); |
| 93 } | 93 } |
| 94 } | 94 } |
| 95 | 95 |
| 96 main() { | 96 main() { |
| 97 HttpServer.bind(InternetAddress.LOOPBACK_IP_V4, 0).then(serverRunning); | 97 HttpServer.bind(InternetAddress.LOOPBACK_IP_V4, 0).then(serverRunning); |
| 98 } | 98 } |
| OLD | NEW |