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=MintMakerPromiseWithStubsTest.dart:Mint,Purse | 5 // IsolateStubs=MintMakerPromiseWithStubsTest.dart:Mint,Purse |
6 | 6 |
7 #library("MintMakerPromiseWithStubsTest-generatedTest"); | 7 #library("MintMakerPromiseWithStubsTest-generatedTest"); |
8 #import("../../isolate/src/TestFramework.dart"); | 8 #import("../../../tests/isolate/src/TestFramework.dart"); |
9 | 9 |
10 interface Mint default MintImpl { | 10 interface Mint default MintImpl { |
11 | 11 |
12 Mint(); | 12 Mint(); |
13 | 13 |
14 Purse createPurse(int balance); | 14 Purse createPurse(int balance); |
15 | 15 |
16 } | 16 } |
17 | 17 |
18 interface Purse default PurseImpl { | 18 interface Purse default PurseImpl { |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 expect.succeeded(); | 120 expect.succeeded(); |
121 print("##DONE##"); | 121 print("##DONE##"); |
122 }); | 122 }); |
123 } | 123 } |
124 | 124 |
125 } | 125 } |
126 | 126 |
127 main() { | 127 main() { |
128 runTests([MintMakerPromiseWithStubsTest.testMain]); | 128 runTests([MintMakerPromiseWithStubsTest.testMain]); |
129 } | 129 } |
OLD | NEW |