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 /* class = Mint (tests/stub-generator/src/MintMakerPromiseWithStubsTest.dart/Min
tMakerPromiseWithStubsTest.dart: 10) */ | 10 /* class = Mint (tests/stub-generator/src/MintMakerPromiseWithStubsTest.dart/Min
tMakerPromiseWithStubsTest.dart: 10) */ |
11 | 11 |
12 interface Mint$Proxy extends Proxy { | 12 interface Mint$Proxy extends Proxy { |
13 Purse$Proxy createPurse(int balance); | 13 Purse$Proxy createPurse(int balance); |
14 } | 14 } |
15 | 15 |
16 class Mint$ProxyImpl extends ProxyImpl implements Mint$Proxy { | 16 class Mint$ProxyImpl extends ProxyImpl implements Mint$Proxy { |
17 Mint$ProxyImpl(Promise<SendPort> port) : super.forReply(port) { } | 17 Mint$ProxyImpl(Promise<SendPort> port) : super.forReply(port) { } |
18 Mint$ProxyImpl.forIsolate(Proxy isolate) : super.forReply(isolate.call([null])
) { } | 18 Mint$ProxyImpl.forIsolate(Proxy isolate) : super.forReply(isolate.call([null])
) { } |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 expect.succeeded(); | 246 expect.succeeded(); |
247 print("##DONE##"); | 247 print("##DONE##"); |
248 }); | 248 }); |
249 } | 249 } |
250 | 250 |
251 } | 251 } |
252 | 252 |
253 main() { | 253 main() { |
254 runTests([MintMakerPromiseWithStubsTest.testMain]); | 254 runTests([MintMakerPromiseWithStubsTest.testMain]); |
255 } | 255 } |
OLD | NEW |