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 | 5 |
6 #import("dart:isolate"); | 6 #import("dart:isolate"); |
7 #import("dart:io"); | 7 #import("dart:io"); |
8 | 8 |
9 void test1(int totalConnections) { | 9 void test1(int totalConnections) { |
10 // Server which just closes immediately. | 10 // Server which just closes immediately. |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 | 96 |
97 | 97 |
98 void main() { | 98 void main() { |
99 test1(1); | 99 test1(1); |
100 test1(10); | 100 test1(10); |
101 test2(1); | 101 test2(1); |
102 test2(10); | 102 test2(10); |
103 test3(1); | 103 test3(1); |
104 test3(10); | 104 test3(10); |
105 } | 105 } |
OLD | NEW |