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 library stream_mangling_test; | 5 library stream_mangling_test; |
6 | 6 |
| 7 import "package:expect/expect.dart"; |
7 import 'dart:isolate'; | 8 import 'dart:isolate'; |
8 import '../../pkg/unittest/lib/unittest.dart'; | 9 import '../../pkg/unittest/lib/unittest.dart'; |
9 | 10 |
10 main() { | 11 main() { |
11 test("Self referencing arrays serialize correctly", () { | 12 test("Self referencing arrays serialize correctly", () { |
12 var messageBox = new MessageBox(); | 13 var messageBox = new MessageBox(); |
13 var stream = messageBox.stream; | 14 var stream = messageBox.stream; |
14 var sink = messageBox.sink; | 15 var sink = messageBox.sink; |
15 var nested = []; | 16 var nested = []; |
16 nested.add(nested); | 17 nested.add(nested); |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 }); | 94 }); |
94 | 95 |
95 test("Sending of IsolateSinks", () { | 96 test("Sending of IsolateSinks", () { |
96 // TODO(floitsch): add test. | 97 // TODO(floitsch): add test. |
97 }); | 98 }); |
98 | 99 |
99 test("Sending of IsolateSinks in complicated structures", () { | 100 test("Sending of IsolateSinks in complicated structures", () { |
100 // TODO(floitsch): add test. | 101 // TODO(floitsch): add test. |
101 }); | 102 }); |
102 } | 103 } |
OLD | NEW |