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 // IsolateStubs=MintMakerFullyIsolatedTest.dart:Mint,Purse,PowerfulPurse | 5 // IsolateStubs=MintMakerFullyIsolatedTest.dart:Mint,Purse,PowerfulPurse |
6 #library("MintMakerFullyIsolatedTest-generatedTest"); | 6 #library("MintMakerFullyIsolatedTest-generatedTest"); |
7 #import("../../isolate/src/TestFramework.dart"); | 7 #import("../../../tests/isolate/src/TestFramework.dart"); |
8 | 8 |
9 interface Purse default PurseImpl{ | 9 interface Purse default PurseImpl{ |
10 Purse(); | 10 Purse(); |
11 int queryBalance(); | 11 int queryBalance(); |
12 Purse$Proxy sproutPurse(); | 12 Purse$Proxy sproutPurse(); |
13 // The deposit has not completed until the promise completes. If we | 13 // The deposit has not completed until the promise completes. If we |
14 // supported Promise<void> then this could use that. | 14 // supported Promise<void> then this could use that. |
15 Promise<int> deposit(int amount, Purse$Proxy source); | 15 Promise<int> deposit(int amount, Purse$Proxy source); |
16 } | 16 } |
17 | 17 |
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 expect.succeeded(); | 289 expect.succeeded(); |
290 print("##DONE##"); | 290 print("##DONE##"); |
291 }); | 291 }); |
292 } | 292 } |
293 | 293 |
294 } | 294 } |
295 | 295 |
296 main() { | 296 main() { |
297 runTests([MintMakerFullyIsolatedTest.testMain]); | 297 runTests([MintMakerFullyIsolatedTest.testMain]); |
298 } | 298 } |
OLD | NEW |