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