| OLD | NEW |
| 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 /// Helper program for running unit tests in warmed-up Dart VMs. | 5 /// Helper program for running unit tests in warmed-up Dart VMs. |
| 6 /// | 6 /// |
| 7 /// This program listens for JSON encoded messages on stdin (one message per | 7 /// This program listens for JSON encoded messages on stdin (one message per |
| 8 /// line) and prints out messages in response (also in JSON, one per line). | 8 /// line) and prints out messages in response (also in JSON, one per line). |
| 9 /// | 9 /// |
| 10 /// Messages are defined in 'message.dart'. | 10 /// Messages are defined in 'message.dart'. |
| 11 library fletch_tests.fletch_test_suite; | 11 library fletch_tests.fletch_test_suite; |
| (...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 PortSink(this.port); | 307 PortSink(this.port); |
| 308 | 308 |
| 309 void add(Message message) { | 309 void add(Message message) { |
| 310 port.send(message); | 310 port.send(message); |
| 311 } | 311 } |
| 312 | 312 |
| 313 void close() { | 313 void close() { |
| 314 throw "not supported"; | 314 throw "not supported"; |
| 315 } | 315 } |
| 316 } | 316 } |
| OLD | NEW |