| 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, |
| (...skipping 1435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1446 List<String> _testDirs; | 1446 List<String> _testDirs; |
| 1447 | 1447 |
| 1448 DartcCompilationTestSuite(Map configuration, | 1448 DartcCompilationTestSuite(Map configuration, |
| 1449 String suiteName, | 1449 String suiteName, |
| 1450 String directoryPath, | 1450 String directoryPath, |
| 1451 List<String> this._testDirs, | 1451 List<String> this._testDirs, |
| 1452 List<String> expectations) | 1452 List<String> expectations) |
| 1453 : super(configuration, | 1453 : super(configuration, |
| 1454 suiteName, | 1454 suiteName, |
| 1455 new Path.fromNative(directoryPath), | 1455 new Path.fromNative(directoryPath), |
| 1456 expectations); | 1456 expectations, |
| 1457 []); |
| 1457 | 1458 |
| 1458 List<String> additionalOptions(Path filePath) { | 1459 List<String> additionalOptions(Path filePath) { |
| 1459 return ['--fatal-warnings', '--fatal-type-errors']; | 1460 return ['--fatal-warnings', '--fatal-type-errors']; |
| 1460 } | 1461 } |
| 1461 | 1462 |
| 1462 Future enqueueTests() { | 1463 Future enqueueTests() { |
| 1463 var group = new FutureGroup(); | 1464 var group = new FutureGroup(); |
| 1464 | 1465 |
| 1465 for (String testDir in _testDirs) { | 1466 for (String testDir in _testDirs) { |
| 1466 Directory dir = new Directory.fromPath(suiteDir.append(testDir)); | 1467 Directory dir = new Directory.fromPath(suiteDir.append(testDir)); |
| (...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1821 * $pass tests are expected to pass | 1822 * $pass tests are expected to pass |
| 1822 * $failOk tests are expected to fail that we won't fix | 1823 * $failOk tests are expected to fail that we won't fix |
| 1823 * $fail tests are expected to fail that we should fix | 1824 * $fail tests are expected to fail that we should fix |
| 1824 * $crash tests are expected to crash that we should fix | 1825 * $crash tests are expected to crash that we should fix |
| 1825 * $timeout tests are allowed to timeout | 1826 * $timeout tests are allowed to timeout |
| 1826 * $compileErrorSkip tests are skipped on browsers due to compile-time error | 1827 * $compileErrorSkip tests are skipped on browsers due to compile-time error |
| 1827 """; | 1828 """; |
| 1828 print(report); | 1829 print(report); |
| 1829 } | 1830 } |
| 1830 } | 1831 } |
| OLD | NEW |