| OLD | NEW |
| 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 #import("dart:builtin"); | |
| 19 #import("dart:isolate"); | 18 #import("dart:isolate"); |
| 20 #import("status_file_parser.dart"); | 19 #import("status_file_parser.dart"); |
| 21 #import("test_runner.dart"); | 20 #import("test_runner.dart"); |
| 22 #import("multitest.dart"); | 21 #import("multitest.dart"); |
| 23 #import("drt_updater.dart"); | 22 #import("drt_updater.dart"); |
| 24 | 23 |
| 25 #source("browser_test.dart"); | 24 #source("browser_test.dart"); |
| 26 | 25 |
| 27 | 26 |
| 28 // TODO(rnystrom): Add to dart:core? | 27 // TODO(rnystrom): Add to dart:core? |
| (...skipping 1330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1359 * $noCrash tests are expected to be flaky but not crash | 1358 * $noCrash tests are expected to be flaky but not crash |
| 1360 * $pass tests are expected to pass | 1359 * $pass tests are expected to pass |
| 1361 * $failOk tests are expected to fail that we won't fix | 1360 * $failOk tests are expected to fail that we won't fix |
| 1362 * $fail tests are expected to fail that we should fix | 1361 * $fail tests are expected to fail that we should fix |
| 1363 * $crash tests are expected to crash that we should fix | 1362 * $crash tests are expected to crash that we should fix |
| 1364 * $timeout tests are allowed to timeout | 1363 * $timeout tests are allowed to timeout |
| 1365 """; | 1364 """; |
| 1366 print(report); | 1365 print(report); |
| 1367 } | 1366 } |
| 1368 } | 1367 } |
| OLD | NEW |