| 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 2114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2125 "tests_co19_src_WebPlatformTest_html-templates_parsing-html-" | 2125 "tests_co19_src_WebPlatformTest_html-templates_parsing-html-" |
| 2126 "templates_clearing-the-stack-back-to-a-given-context_": | 2126 "templates_clearing-the-stack-back-to-a-given-context_": |
| 2127 "co19_htmltemplates_clearstack_", | 2127 "co19_htmltemplates_clearstack_", |
| 2128 "tests_co19_src_WebPlatformTest_html-templates_parsing-html-" | 2128 "tests_co19_src_WebPlatformTest_html-templates_parsing-html-" |
| 2129 "templates_creating-an-element-for-the-token_": | 2129 "templates_creating-an-element-for-the-token_": |
| 2130 "co19_htmltemplates_create_", | 2130 "co19_htmltemplates_create_", |
| 2131 "tests_co19_src_WebPlatformTest_html-templates_additions-to-" | 2131 "tests_co19_src_WebPlatformTest_html-templates_additions-to-" |
| 2132 "the-steps-to-clone-a-node_": "co19_htmltemplates_clone_", | 2132 "the-steps-to-clone-a-node_": "co19_htmltemplates_clone_", |
| 2133 "tests_co19_src_LayoutTests_fast_dom_Document_CaretRangeFromPoint_" | 2133 "tests_co19_src_LayoutTests_fast_dom_Document_CaretRangeFromPoint_" |
| 2134 "caretRangeFromPoint-": "co19_caretrangefrompoint_", | 2134 "caretRangeFromPoint-": "co19_caretrangefrompoint_", |
| 2135 "pkg_polymer_example_canonicalization_test_canonicalization": | 2135 "pkg_polymer_e2e_test_canonicalization_test": "polymer_c16n", |
| 2136 "polymer_c16n" | 2136 "pkg_polymer_e2e_test_experimental_boot_test": "polymer_boot", |
| 2137 "pkg_polymer_e2e_test_bad_import_test": "polymer_bi", |
| 2138 "pkg_polymer_e2e_test_good_import_test": "polymer_gi", |
| 2137 }; | 2139 }; |
| 2138 | 2140 |
| 2139 // Some tests are already in [build_dir]/generated_tests. | 2141 // Some tests are already in [build_dir]/generated_tests. |
| 2140 String GEN_TESTS = 'generated_tests/'; | 2142 String GEN_TESTS = 'generated_tests/'; |
| 2141 if (path.contains(GEN_TESTS)) { | 2143 if (path.contains(GEN_TESTS)) { |
| 2142 int index = path.indexOf(GEN_TESTS) + GEN_TESTS.length; | 2144 int index = path.indexOf(GEN_TESTS) + GEN_TESTS.length; |
| 2143 path = 'multitest/${path.substring(index)}'; | 2145 path = 'multitest/${path.substring(index)}'; |
| 2144 } | 2146 } |
| 2145 path = path.replaceAll('/', '_'); | 2147 path = path.replaceAll('/', '_'); |
| 2146 final int WINDOWS_SHORTEN_PATH_LIMIT = 60; | 2148 final int WINDOWS_SHORTEN_PATH_LIMIT = 60; |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2219 * $pass tests are expected to pass | 2221 * $pass tests are expected to pass |
| 2220 * $failOk tests are expected to fail that we won't fix | 2222 * $failOk tests are expected to fail that we won't fix |
| 2221 * $fail tests are expected to fail that we should fix | 2223 * $fail tests are expected to fail that we should fix |
| 2222 * $crash tests are expected to crash that we should fix | 2224 * $crash tests are expected to crash that we should fix |
| 2223 * $timeout tests are allowed to timeout | 2225 * $timeout tests are allowed to timeout |
| 2224 * $compileErrorSkip tests are skipped on browsers due to compile-time error | 2226 * $compileErrorSkip tests are skipped on browsers due to compile-time error |
| 2225 """; | 2227 """; |
| 2226 print(report); | 2228 print(report); |
| 2227 } | 2229 } |
| 2228 } | 2230 } |
| OLD | NEW |