| OLD | NEW |
| 1 // Copyright (c) 2016, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 // Test that we get a meaningful list of processes. | 5 // Test that we get a meaningful list of processes. |
| 6 | 6 |
| 7 // FletchDebuggerCommands=b resume,r,lp,c,lp,c | 7 // FletchDebuggerCommands=b resume,r,lp,c,lp,c |
| 8 | 8 |
| 9 import 'dart:fletch'; | 9 import 'dart:fletch'; |
| 10 | 10 |
| 11 Port spawnPaused(Channel channel) { | 11 Port spawnPaused(Channel channel) { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 24 var result = channel.receive(); | 24 var result = channel.receive(); |
| 25 } | 25 } |
| 26 | 26 |
| 27 main() { | 27 main() { |
| 28 Channel channel = new Channel(); | 28 Channel channel = new Channel(); |
| 29 Port p1 = spawnPaused(channel); | 29 Port p1 = spawnPaused(channel); |
| 30 Port p2 = spawnPaused(channel); | 30 Port p2 = spawnPaused(channel); |
| 31 resume(channel, p2); | 31 resume(channel, p2); |
| 32 resume(channel, p1); | 32 resume(channel, p1); |
| 33 } | 33 } |
| OLD | NEW |