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("dart:io"); | 5 #import("dart:io"); |
6 #import("dart:isolate"); | 6 #import("dart:isolate"); |
7 | 7 |
8 void testEmptyListOutputStream1() { | 8 void testEmptyListOutputStream1() { |
9 ListOutputStream stream = new ListOutputStream(); | 9 ListOutputStream stream = new ListOutputStream(); |
10 Expect.equals(null, stream.contents()); | 10 Expect.equals(null, stream.contents()); |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 donePort.receive((x,y) => donePort.close()); | 109 donePort.receive((x,y) => donePort.close()); |
110 } | 110 } |
111 | 111 |
112 main() { | 112 main() { |
113 testEmptyListOutputStream1(); | 113 testEmptyListOutputStream1(); |
114 testEmptyListOutputStream2(); | 114 testEmptyListOutputStream2(); |
115 testListOutputStream1(); | 115 testListOutputStream1(); |
116 testListOutputStream2(); | 116 testListOutputStream2(); |
117 testListOutputStream3(); | 117 testListOutputStream3(); |
118 } | 118 } |
OLD | NEW |