| 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 import "package:expect/expect.dart"; |
| 5 import "dart:io"; | 6 import "dart:io"; |
| 6 import "dart:isolate"; | 7 import "dart:isolate"; |
| 7 | 8 |
| 8 void testEmptyListInputStream() { | 9 void testEmptyListInputStream() { |
| 9 ListInputStream stream = new ListInputStream(); | 10 ListInputStream stream = new ListInputStream(); |
| 10 stream.write([]); | 11 stream.write([]); |
| 11 stream.markEndOfStream(); | 12 stream.markEndOfStream(); |
| 12 ReceivePort donePort = new ReceivePort(); | 13 ReceivePort donePort = new ReceivePort(); |
| 13 | 14 |
| 14 void onData() { | 15 void onData() { |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 testListInputStream1(); | 283 testListInputStream1(); |
| 283 testListInputStream2(); | 284 testListInputStream2(); |
| 284 testListInputStreamPipe1(); | 285 testListInputStreamPipe1(); |
| 285 testListInputStreamPipe2(); | 286 testListInputStreamPipe2(); |
| 286 testListInputClose1(); | 287 testListInputClose1(); |
| 287 testListInputClose2(); | 288 testListInputClose2(); |
| 288 testDynamicListInputStream(); | 289 testDynamicListInputStream(); |
| 289 testDynamicListInputClose1(); | 290 testDynamicListInputClose1(); |
| 290 testDynamicListInputClose2(); | 291 testDynamicListInputClose2(); |
| 291 } | 292 } |
| OLD | NEW |