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

Side by Side Diff: tools/testing/dart/test_suite.dart

Issue 8754001: Dart tests: Create generated tests in build directory in test.dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years 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
« no previous file with comments | « tools/testing/dart/multitest.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #library("test_suite"); 5 #library("test_suite");
6 6
7 #import("status_file_parser.dart"); 7 #import("status_file_parser.dart");
8 #import("test_runner.dart"); 8 #import("test_runner.dart");
9 #import("multitest.dart"); 9 #import("multitest.dart");
10 10
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 args, 215 args,
216 timeout, 216 timeout,
217 completeHandler, 217 completeHandler,
218 expectations, 218 expectations,
219 isNegative)); 219 isNegative));
220 } 220 }
221 } 221 }
222 222
223 223
224 if (optionsFromFile['isMultitest']) { 224 if (optionsFromFile['isMultitest']) {
225 DoMultitest(filename, createTestCase); 225 DoMultitest(filename,
226 TestUtils.buildDir(configuration),
227 directoryPath,
228 createTestCase);
226 } else { 229 } else {
227 createTestCase(filename, optionsFromFile['isNegative']); 230 createTestCase(filename, optionsFromFile['isNegative']);
228 } 231 }
229 } 232 }
230 233
231 void completeHandler(TestCase testCase) { 234 void completeHandler(TestCase testCase) {
232 } 235 }
233 236
234 237
235 List<List<String>> argumentListsFromFile(String filename, 238 List<List<String>> argumentListsFromFile(String filename,
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 args.add("--enable_leg"); 366 args.add("--enable_leg");
364 } 367 }
365 if (configuration["component"] == "dartc") { 368 if (configuration["component"] == "dartc") {
366 if (configuration["mode"] == "release") { 369 if (configuration["mode"] == "release") {
367 args.add("--optimize"); 370 args.add("--optimize");
368 } 371 }
369 } 372 }
370 return args; 373 return args;
371 } 374 }
372 } 375 }
OLDNEW
« no previous file with comments | « tools/testing/dart/multitest.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698