| 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 1816 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1827 args.add("--categories=all"); | 1827 args.add("--categories=all"); |
| 1828 } | 1828 } |
| 1829 } | 1829 } |
| 1830 if ((compiler == "dart2js" || compiler == "dart2dart") && | 1830 if ((compiler == "dart2js" || compiler == "dart2dart") && |
| 1831 configuration["minified"]) { | 1831 configuration["minified"]) { |
| 1832 args.add("--minify"); | 1832 args.add("--minify"); |
| 1833 } | 1833 } |
| 1834 if (compiler == "dart2js" && configuration["csp"]) { | 1834 if (compiler == "dart2js" && configuration["csp"]) { |
| 1835 args.add("--disallow-unsafe-eval"); | 1835 args.add("--disallow-unsafe-eval"); |
| 1836 } | 1836 } |
| 1837 if (compiler == "dartanalyzer" || compiler == "dart2analyzer") { |
| 1838 args.add("--show-package-warnings"); |
| 1839 } |
| 1837 return args; | 1840 return args; |
| 1838 } | 1841 } |
| 1839 | 1842 |
| 1840 static bool usesWebDriver(String runtime) { | 1843 static bool usesWebDriver(String runtime) { |
| 1841 const BROWSERS = const [ | 1844 const BROWSERS = const [ |
| 1842 'dartium', | 1845 'dartium', |
| 1843 'ie9', | 1846 'ie9', |
| 1844 'ie10', | 1847 'ie10', |
| 1845 'safari', | 1848 'safari', |
| 1846 'opera', | 1849 'opera', |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1959 * $pass tests are expected to pass | 1962 * $pass tests are expected to pass |
| 1960 * $failOk tests are expected to fail that we won't fix | 1963 * $failOk tests are expected to fail that we won't fix |
| 1961 * $fail tests are expected to fail that we should fix | 1964 * $fail tests are expected to fail that we should fix |
| 1962 * $crash tests are expected to crash that we should fix | 1965 * $crash tests are expected to crash that we should fix |
| 1963 * $timeout tests are allowed to timeout | 1966 * $timeout tests are allowed to timeout |
| 1964 * $compileErrorSkip tests are skipped on browsers due to compile-time error | 1967 * $compileErrorSkip tests are skipped on browsers due to compile-time error |
| 1965 """; | 1968 """; |
| 1966 print(report); | 1969 print(report); |
| 1967 } | 1970 } |
| 1968 } | 1971 } |
| OLD | NEW |