| 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 1166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1177 '$buildDir/analyzer/dart_analyzer_tests.jar', | 1177 '$buildDir/analyzer/dart_analyzer_tests.jar', |
| 1178 // Third party libraries. | 1178 // Third party libraries. |
| 1179 '$dartDir/third_party/args4j/2.0.12/args4j-2.0.12.jar', | 1179 '$dartDir/third_party/args4j/2.0.12/args4j-2.0.12.jar', |
| 1180 '$dartDir/third_party/guava/r09/guava-r09.jar', | 1180 '$dartDir/third_party/guava/r09/guava-r09.jar', |
| 1181 '$dartDir/third_party/rhino/1_7R3/js.jar', | 1181 '$dartDir/third_party/rhino/1_7R3/js.jar', |
| 1182 '$dartDir/third_party/hamcrest/v1_3/hamcrest-core-1.3.0RC2.jar', | 1182 '$dartDir/third_party/hamcrest/v1_3/hamcrest-core-1.3.0RC2.jar', |
| 1183 '$dartDir/third_party/hamcrest/v1_3/hamcrest-generator-1.3.0RC2.jar', | 1183 '$dartDir/third_party/hamcrest/v1_3/hamcrest-generator-1.3.0RC2.jar', |
| 1184 '$dartDir/third_party/hamcrest/v1_3/hamcrest-integration-1.3.0RC2.jar', | 1184 '$dartDir/third_party/hamcrest/v1_3/hamcrest-integration-1.3.0RC2.jar', |
| 1185 '$dartDir/third_party/hamcrest/v1_3/hamcrest-library-1.3.0RC2.jar', | 1185 '$dartDir/third_party/hamcrest/v1_3/hamcrest-library-1.3.0RC2.jar', |
| 1186 '$dartDir/third_party/junit/v4_8_2/junit.jar'], | 1186 '$dartDir/third_party/junit/v4_8_2/junit.jar'], |
| 1187 ':'); // Path separator. | 1187 Platform.operatingSystem == 'windows'? ';': ':'); // Path separator. |
| 1188 } | 1188 } |
| 1189 } | 1189 } |
| 1190 | 1190 |
| 1191 | 1191 |
| 1192 class TestUtils { | 1192 class TestUtils { |
| 1193 /** | 1193 /** |
| 1194 * Creates a directory using a [relativePath] to an existing | 1194 * Creates a directory using a [relativePath] to an existing |
| 1195 * [base] directory if that [relativePath] does not already exist. | 1195 * [base] directory if that [relativePath] does not already exist. |
| 1196 */ | 1196 */ |
| 1197 static Directory mkdirRecursive(Path base, Path relativePath) { | 1197 static Directory mkdirRecursive(Path base, Path relativePath) { |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1407 * $noCrash tests are expected to be flaky but not crash | 1407 * $noCrash tests are expected to be flaky but not crash |
| 1408 * $pass tests are expected to pass | 1408 * $pass tests are expected to pass |
| 1409 * $failOk tests are expected to fail that we won't fix | 1409 * $failOk tests are expected to fail that we won't fix |
| 1410 * $fail tests are expected to fail that we should fix | 1410 * $fail tests are expected to fail that we should fix |
| 1411 * $crash tests are expected to crash that we should fix | 1411 * $crash tests are expected to crash that we should fix |
| 1412 * $timeout tests are allowed to timeout | 1412 * $timeout tests are allowed to timeout |
| 1413 """; | 1413 """; |
| 1414 print(report); | 1414 print(report); |
| 1415 } | 1415 } |
| 1416 } | 1416 } |
| OLD | NEW |