Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(753)

Side by Side Diff: pkg/dev_compiler/test/browser/language_tests.js

Issue 2985333002: fix #30290, assertion messages that contain `yield` (Closed)
Patch Set: merge and update status Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 define(['dart_sdk', 'async_helper', 'expect', 'unittest', 'is', 'require'], 5 define(['dart_sdk', 'async_helper', 'expect', 'unittest', 'is', 'require'],
6 function(dart_sdk, async_helper, expect, unittest, is, require) { 6 function(dart_sdk, async_helper, expect, unittest, is, require) {
7 'use strict'; 7 'use strict';
8 8
9 async_helper = async_helper.async_helper; 9 async_helper = async_helper.async_helper;
10 let minitest = expect.minitest; 10 let minitest = expect.minitest;
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 'compile_time_constant_b_test': fail, 97 'compile_time_constant_b_test': fail,
98 'compile_time_constant_d_test': fail, 98 'compile_time_constant_d_test': fail,
99 'compile_time_constant_k_test_none_multi': fail, 99 'compile_time_constant_k_test_none_multi': fail,
100 'compile_time_constant_o_test_none_multi': fail, 100 'compile_time_constant_o_test_none_multi': fail,
101 'const_evaluation_test_01_multi': fail, 101 'const_evaluation_test_01_multi': fail,
102 'const_switch_test_02_multi': fail, 102 'const_switch_test_02_multi': fail,
103 'const_switch_test_04_multi': fail, 103 'const_switch_test_04_multi': fail,
104 'constructor12_test': fail, 104 'constructor12_test': fail,
105 'custom_await_stack_trace_test': fail, 105 'custom_await_stack_trace_test': fail,
106 'cyclic_type2_test': fail, 106 'cyclic_type2_test': fail,
107 'cyclic_type_test_00_multi': fail,
108 'cyclic_type_test_01_multi': fail,
109 'cyclic_type_test_02_multi': fail, 107 'cyclic_type_test_02_multi': fail,
110 'cyclic_type_test_03_multi': fail, 108 'cyclic_type_test_03_multi': fail,
111 'cyclic_type_test_04_multi': fail, 109 'cyclic_type_test_04_multi': fail,
112 110
113 // Deferred libraries are not actually deferred. These tests all test 111 // Deferred libraries are not actually deferred. These tests all test
114 // that synchronous access to the library fails. 112 // that synchronous access to the library fails.
115 'deferred_call_empty_before_load_test': fail, 113 'deferred_call_empty_before_load_test': fail,
116 'deferred_load_library_wrong_args_test_01_multi': fail, 114 'deferred_load_library_wrong_args_test_01_multi': fail,
117 'deferred_not_loaded_check_test': fail, 115 'deferred_not_loaded_check_test': fail,
118 'deferred_redirecting_factory_test': fail, 116 'deferred_redirecting_factory_test': fail,
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 'named_parameter_clash_test': fail, 175 'named_parameter_clash_test': fail,
178 'named_parameters_passing_falsy_test': is.firefox('<=50') ? fail : pass, 176 'named_parameters_passing_falsy_test': is.firefox('<=50') ? fail : pass,
179 'nan_identical_test': fail, 177 'nan_identical_test': fail,
180 'nested_switch_label_test': fail, 178 'nested_switch_label_test': fail,
181 'number_identifier_test_05_multi': fail, 179 'number_identifier_test_05_multi': fail,
182 'number_identity2_test': fail, 180 'number_identity2_test': fail,
183 'numbers_test': fail, 181 'numbers_test': fail,
184 'reg_exp_test': whitelist, 182 'reg_exp_test': whitelist,
185 'regress_16640_test': fail, 183 'regress_16640_test': fail,
186 'regress_22445_test': fail, 184 'regress_22445_test': fail,
187 'regress_22666_test': fail,
188 'regress_22777_test': flaky, 185 'regress_22777_test': flaky,
189 'stack_overflow_stacktrace_test': fail, 186 'stack_overflow_stacktrace_test': fail,
190 'stack_overflow_test': fail, 187 'stack_overflow_test': fail,
191 'stacktrace_test': chrome_fail, 188 'stacktrace_test': chrome_fail,
192 'switch_label2_test': fail, 189 'switch_label2_test': fail,
193 'switch_label_test': fail, 190 'switch_label_test': fail,
194 'switch_try_catch_test': fail, 191 'switch_try_catch_test': fail,
195 'throwing_lazy_variable_test': fail, 192 'throwing_lazy_variable_test': fail,
196 'truncdiv_test': fail, // did not throw 193 'truncdiv_test': fail, // did not throw
197 'try_catch_on_syntax_test_10_multi': fail, 194 'try_catch_on_syntax_test_10_multi': fail,
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 'for_in_test': is.firefox('<=50') ? fail : pass, 252 'for_in_test': is.firefox('<=50') ? fail : pass,
256 'growable_list_test': fail, 253 'growable_list_test': fail,
257 'hash_map2_test': skip_timeout, 254 'hash_map2_test': skip_timeout,
258 'hash_set_test_01_multi': fail, 255 'hash_set_test_01_multi': fail,
259 'int_modulo_arith_test_bignum_multi': fail, 256 'int_modulo_arith_test_bignum_multi': fail,
260 'int_modulo_arith_test_modPow_multi': fail, 257 'int_modulo_arith_test_modPow_multi': fail,
261 'int_modulo_arith_test_none_multi': fail, 258 'int_modulo_arith_test_none_multi': fail,
262 'int_parse_radix_test_01_multi': fail, // JS implementations disagree on U +0085 being whitespace. 259 'int_parse_radix_test_01_multi': fail, // JS implementations disagree on U +0085 being whitespace.
263 'int_parse_radix_test_02_multi': ['fail', 'timeout', 'skip'], // No bigint s. 260 'int_parse_radix_test_02_multi': ['fail', 'timeout', 'skip'], // No bigint s.
264 'int_parse_radix_test_none_multi': ['slow'], 261 'int_parse_radix_test_none_multi': ['slow'],
262 'int_parse_with_limited_ints_test': fail,
265 'integer_to_radix_string_test': fail, 263 'integer_to_radix_string_test': fail,
266 'integer_to_string_test_01_multi': fail, 264 'integer_to_string_test_01_multi': fail,
267 'iterable_empty_test': whitelist, 265 'iterable_empty_test': whitelist,
268 'iterable_join_test': whitelist, 266 'iterable_join_test': whitelist,
269 'iterable_return_type_test_02_multi': fail, 267 'iterable_return_type_test_02_multi': fail,
270 'json_map_test': fail, 268 'json_map_test': fail,
271 'list_fill_range_test': fail, 269 'list_fill_range_test': fail,
272 'list_insert_all_test': whitelist, 270 'list_insert_all_test': whitelist,
273 'list_replace_range_test': fail, 271 'list_replace_range_test': fail,
274 'list_set_all_test': fail, 272 'list_set_all_test': fail,
275 'list_sort_test': fail, // runtime strong mode error
276 'list_test_01_multi': fail, 273 'list_test_01_multi': fail,
277 'list_test_none_multi': fail, 274 'list_test_none_multi': fail,
278 'main_test': fail, 275 'main_test': fail,
279 'map_keys2_test': fail, 276 'map_keys2_test': fail,
280 'map_from_iterable_test': is.firefox('<=50') ? fail : pass, 277 'map_from_iterable_test': is.firefox('<=50') ? fail : pass,
281 'nan_infinity_test_01_multi': fail, 278 'nan_infinity_test_01_multi': fail,
282 'null_nosuchmethod_test': fail, 279 'null_nosuchmethod_test': fail,
283 'reg_exp_all_matches_test': whitelist, 280 'reg_exp_all_matches_test': whitelist,
284 'reg_exp_start_end_test': whitelist, 281 'reg_exp_start_end_test': whitelist,
285 'regress_r21715_test': fail, 282 'regress_r21715_test': fail,
286 'sort_test': whitelist, 283 'sort_test': whitelist,
287 'splay_tree_from_iterable_test': is.firefox('<=50') ? fail : pass, 284 'splay_tree_from_iterable_test': is.firefox('<=50') ? fail : pass,
288 'string_case_test_01_multi': firefox_fail, 285 'string_case_test_01_multi': firefox_fail,
289 'string_fromcharcodes_test': skip_timeout, 286 'string_fromcharcodes_test': skip_timeout,
290 'string_operations_with_null_test': fail, 287 'string_operations_with_null_test': fail,
291 'string_split_test': whitelist, 288 'string_split_test': whitelist,
292 'string_trimlr_test_01_multi': is.chrome('<=58') ? fail : pass, 289 'string_trimlr_test_01_multi': is.chrome('<=58') ? fail : pass,
293 'string_trimlr_test_none_multi': is.chrome('<=58') ? fail : pass, 290 'string_trimlr_test_none_multi': is.chrome('<=58') ? fail : pass,
294 'symbol_operator_test_03_multi': fail, 291 'symbol_operator_test_03_multi': fail,
295 'symbol_operator_test_none_multi': fail, 292 'symbol_operator_test_none_multi': fail,
296 'symbol_reserved_word_test_06_multi': fail, 293 'symbol_reserved_word_test_06_multi': fail,
297 'symbol_reserved_word_test_09_multi': fail, 294 'symbol_reserved_word_test_09_multi': fail,
298 'symbol_reserved_word_test_12_multi': fail, 295 'symbol_reserved_word_test_12_multi': fail,
299 'symbol_test_none_multi': fail, 296 'symbol_test_none_multi': fail,
297 'typed_data_with_limited_ints_test': fail,
300 'unicode_test': firefox_fail, 298 'unicode_test': firefox_fail,
301 'uri_parameters_all_test': is.firefox('<=50') ? fail : pass, 299 'uri_parameters_all_test': is.firefox('<=50') ? fail : pass,
302 // TODO(rnystrom): Times out because it tests a huge number of 300 // TODO(rnystrom): Times out because it tests a huge number of
303 // combinations of URLs (4 * 5 * 5 * 8 * 6 * 6 * 4 = 115200). 301 // combinations of URLs (4 * 5 * 5 * 8 * 6 * 6 * 4 = 115200).
304 'uri_parse_test': skip_timeout, 302 'uri_parse_test': skip_timeout,
305 'uri_query_test': fail, 303 'uri_query_test': fail,
306 // this is timing out on Chrome Canary only 304 // this is timing out on Chrome Canary only
307 // pinning this skip in case it's a transient canary issue 305 // pinning this skip in case it's a transient canary issue
308 'uri_test': is.chrome('59') ? ['skip'] : ['slow'], 306 'uri_test': is.chrome('59') ? ['skip'] : ['slow'],
309 307
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after
910 908
911 for (let action of unittest_tests) { 909 for (let action of unittest_tests) {
912 try { 910 try {
913 action(); 911 action();
914 } catch (e) { 912 } catch (e) {
915 console.error("Caught error tying to setup test:", e); 913 console.error("Caught error tying to setup test:", e);
916 } 914 }
917 } 915 }
918 }); 916 });
919 }); 917 });
OLDNEW
« no previous file with comments | « pkg/dev_compiler/test-main.js ('k') | pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/errors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698