| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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("MintMakerPromiseTest"); |
| 6 #import("../../../../proxy/promise.dart"); |
| 7 |
| 5 interface Mint default MintImpl { | 8 interface Mint default MintImpl { |
| 6 | 9 |
| 7 Mint(); | 10 Mint(); |
| 8 | 11 |
| 9 Purse createPurse(int balance); | 12 Purse createPurse(int balance); |
| 10 | 13 |
| 11 } | 14 } |
| 12 | 15 |
| 13 | 16 |
| 14 class MintImpl implements Mint { | 17 class MintImpl implements Mint { |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 reply("Exception: Command not understood"); | 235 reply("Exception: Command not understood"); |
| 233 } | 236 } |
| 234 //print("command $command done"); | 237 //print("command $command done"); |
| 235 } | 238 } |
| 236 | 239 |
| 237 } | 240 } |
| 238 | 241 |
| 239 main() { | 242 main() { |
| 240 MintMakerPromiseTest.testMain(); | 243 MintMakerPromiseTest.testMain(); |
| 241 } | 244 } |
| OLD | NEW |