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

Side by Side Diff: tests/stub-generator/src/MintMakerFullyIsolatedTest.dart

Issue 9195017: Generate stub-generator tests in the build directory, and do not commit them to repository. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add code for the unlikely case that these are the first tests run in a new checkout. Created 8 years, 11 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) 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
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 }
OLDNEW
« no previous file with comments | « no previous file | tests/stub-generator/src/MintMakerPromiseWithStubsTest.dart » ('j') | tests/stub-generator/test_config.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698