Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Side by Side Diff: samples/tests/samples/src/proxy/MintMakerFullyIsolated_testSource.dart

Issue 9422019: isolates refactor: this change introduces 'dart:isolate' as a library. This is a (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: review changes Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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("dart:isolate");
7 #import("../../../../proxy/promise.dart"); 8 #import("../../../../proxy/promise.dart");
8 #import("../../../../../tests/isolate/src/TestFramework.dart"); 9 #import("../../../../../tests/isolate/src/TestFramework.dart");
9 10
10 interface Purse default PurseImpl{ 11 interface Purse default PurseImpl{
11 Purse(); 12 Purse();
12 int queryBalance(); 13 int queryBalance();
13 Purse$Proxy sproutPurse(); 14 Purse$Proxy sproutPurse();
14 // The deposit has not completed until the promise completes. If we 15 // The deposit has not completed until the promise completes. If we
15 // supported Promise<void> then this could use that. 16 // supported Promise<void> then this could use that.
16 Promise<int> deposit(int amount, Purse$Proxy source); 17 Promise<int> deposit(int amount, Purse$Proxy source);
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 expect.succeeded(); 302 expect.succeeded();
302 print("##DONE##"); 303 print("##DONE##");
303 }); 304 });
304 } 305 }
305 306
306 } 307 }
307 308
308 main() { 309 main() {
309 runTests([MintMakerFullyIsolatedTest.testMain]); 310 runTests([MintMakerFullyIsolatedTest.testMain]);
310 } 311 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698