| 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 2025 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2036 } | 2036 } |
| 2037 return args; | 2037 return args; |
| 2038 } | 2038 } |
| 2039 | 2039 |
| 2040 static bool isBrowserRuntime(String runtime) { | 2040 static bool isBrowserRuntime(String runtime) { |
| 2041 const BROWSERS = const [ | 2041 const BROWSERS = const [ |
| 2042 'drt', | 2042 'drt', |
| 2043 'dartium', | 2043 'dartium', |
| 2044 'ie9', | 2044 'ie9', |
| 2045 'ie10', | 2045 'ie10', |
| 2046 'ie11', |
| 2046 'safari', | 2047 'safari', |
| 2047 'opera', | 2048 'opera', |
| 2048 'chrome', | 2049 'chrome', |
| 2049 'ff', | 2050 'ff', |
| 2050 'chromeOnAndroid', | 2051 'chromeOnAndroid', |
| 2051 'ContentShellOnAndroid', | 2052 'ContentShellOnAndroid', |
| 2052 'DartiumOnAndroid' | 2053 'DartiumOnAndroid' |
| 2053 ]; | 2054 ]; |
| 2054 return BROWSERS.contains(runtime); | 2055 return BROWSERS.contains(runtime); |
| 2055 } | 2056 } |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2194 * $pass tests are expected to pass | 2195 * $pass tests are expected to pass |
| 2195 * $failOk tests are expected to fail that we won't fix | 2196 * $failOk tests are expected to fail that we won't fix |
| 2196 * $fail tests are expected to fail that we should fix | 2197 * $fail tests are expected to fail that we should fix |
| 2197 * $crash tests are expected to crash that we should fix | 2198 * $crash tests are expected to crash that we should fix |
| 2198 * $timeout tests are allowed to timeout | 2199 * $timeout tests are allowed to timeout |
| 2199 * $compileErrorSkip tests are skipped on browsers due to compile-time error | 2200 * $compileErrorSkip tests are skipped on browsers due to compile-time error |
| 2200 """; | 2201 """; |
| 2201 print(report); | 2202 print(report); |
| 2202 } | 2203 } |
| 2203 } | 2204 } |
| OLD | NEW |