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

Side by Side Diff: tools/testing/dart/test_suite.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: '' Created 8 years, 9 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
« no previous file with comments | « tools/create_sdk.py ('k') | utils/dartdoc/dartdoc.dart » ('j') | 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) 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 /** 5 /**
6 * Classes and methods for enumerating and preparing tests. 6 * Classes and methods for enumerating and preparing tests.
7 * 7 *
8 * This library includes: 8 * This library includes:
9 * 9 *
10 * - Creating tests by listing all the Dart files in certain directories, 10 * - Creating tests by listing all the Dart files in certain directories,
11 * and creating [TestCase]s for those files that meet the relevant criteria. 11 * and creating [TestCase]s for those files that meet the relevant criteria.
12 * - Preparing tests, including copying files and frameworks to temporary 12 * - Preparing tests, including copying files and frameworks to temporary
13 * directories, and computing the command line and arguments to be run. 13 * directories, and computing the command line and arguments to be run.
14 */ 14 */
15 #library("test_suite"); 15 #library("test_suite");
16 16
17 #import("dart:io"); 17 #import("dart:io");
18 // TODO(sigmund): uncomment when new dart binaries are updated under
19 // tools/testing/bin
20 // #import("dart:isolate");
18 #import("status_file_parser.dart"); 21 #import("status_file_parser.dart");
19 #import("test_runner.dart"); 22 #import("test_runner.dart");
20 #import("multitest.dart"); 23 #import("multitest.dart");
21 24
22 #source("browser_test.dart"); 25 #source("browser_test.dart");
23 26
24 27
25 /** 28 /**
26 * A TestSuite represents a collection of tests. It creates a [TestCase] 29 * A TestSuite represents a collection of tests. It creates a [TestCase]
27 * object for each test to be run, and passes the test cases to a callback. 30 * object for each test to be run, and passes the test cases to a callback.
(...skipping 1111 matching lines...) Expand 10 before | Expand all | Expand 10 after
1139 * $noCrash tests are expected to be flaky but not crash 1142 * $noCrash tests are expected to be flaky but not crash
1140 * $pass tests are expected to pass 1143 * $pass tests are expected to pass
1141 * $failOk tests are expected to fail that we won't fix 1144 * $failOk tests are expected to fail that we won't fix
1142 * $fail tests are expected to fail that we should fix 1145 * $fail tests are expected to fail that we should fix
1143 * $crash tests are expected to crash that we should fix 1146 * $crash tests are expected to crash that we should fix
1144 * $timeout tests are allowed to timeout 1147 * $timeout tests are allowed to timeout
1145 """; 1148 """;
1146 print(report); 1149 print(report);
1147 } 1150 }
1148 } 1151 }
OLDNEW
« no previous file with comments | « tools/create_sdk.py ('k') | utils/dartdoc/dartdoc.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698