OLD | NEW |
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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 'call_closurization_test': fail, // Functions do not expose a "call" metho
d. | 77 'call_closurization_test': fail, // Functions do not expose a "call" metho
d. |
78 'call_function_apply_test': fail, // Function.apply not really implemented
. | 78 'call_function_apply_test': fail, // Function.apply not really implemented
. |
79 'call_through_null_getter_test': fail, // null errors are not converted to
NoSuchMethodErrors. | 79 'call_through_null_getter_test': fail, // null errors are not converted to
NoSuchMethodErrors. |
80 'call_with_no_such_method_test': fail, // Function.apply not really implem
ented. | 80 'call_with_no_such_method_test': fail, // Function.apply not really implem
ented. |
81 'canonical_const2_test': fail, | 81 'canonical_const2_test': fail, |
82 'canonical_const_test': fail, | 82 'canonical_const_test': fail, |
83 'cast_test_01_multi': fail, | 83 'cast_test_01_multi': fail, |
84 'cast_test_02_multi': fail, | 84 'cast_test_02_multi': fail, |
85 'cast_test_03_multi': fail, | 85 'cast_test_03_multi': fail, |
86 'cast_test_07_multi': fail, | 86 'cast_test_07_multi': fail, |
| 87 'cast_test_08_multi': fail, // (oc as dynamic).bar; /// 08: runtime error |
87 'cast_test_10_multi': fail, | 88 'cast_test_10_multi': fail, |
88 'cast_test_12_multi': fail, | 89 'cast_test_12_multi': fail, |
89 'cast_test_13_multi': fail, | 90 'cast_test_13_multi': fail, |
90 'cast_test_14_multi': fail, | 91 'cast_test_14_multi': fail, |
91 'cast_test_15_multi': fail, | 92 'cast_test_15_multi': fail, |
92 'classes_static_method_clash_test': fail, | 93 'classes_static_method_clash_test': fail, |
93 'code_after_try_is_executed_test_01_multi': fail, | 94 'code_after_try_is_executed_test_01_multi': fail, |
94 'compile_time_constant10_test_none_multi': fail, | 95 'compile_time_constant10_test_none_multi': fail, |
95 'compile_time_constant_a_test': fail, | 96 'compile_time_constant_a_test': fail, |
96 'compile_time_constant_b_test': fail, | 97 'compile_time_constant_b_test': fail, |
(...skipping 26 matching lines...) Expand all Loading... |
123 'execute_finally6_test': fail, | 124 'execute_finally6_test': fail, |
124 'expect_test': fail, | 125 'expect_test': fail, |
125 'extends_test_lib': fail, | 126 'extends_test_lib': fail, |
126 'external_test_10_multi': fail, | 127 'external_test_10_multi': fail, |
127 'external_test_13_multi': fail, | 128 'external_test_13_multi': fail, |
128 'external_test_20_multi': fail, | 129 'external_test_20_multi': fail, |
129 'f_bounded_quantification3_test': fail, | 130 'f_bounded_quantification3_test': fail, |
130 'fast_method_extraction_test': fail, | 131 'fast_method_extraction_test': fail, |
131 'field_increment_bailout_test': fail, | 132 'field_increment_bailout_test': fail, |
132 'field_optimization3_test': fail, | 133 'field_optimization3_test': fail, |
| 134 'field_type_check2_test_01_multi': fail, // 01: dynamic type error |
133 'final_syntax_test_08_multi': fail, | 135 'final_syntax_test_08_multi': fail, |
134 'first_class_types_test': fail, | 136 'first_class_types_test': fail, |
135 'for_variable_capture_test': chrome_fail, | 137 'for_variable_capture_test': chrome_fail, |
136 'function_subtype0_test': fail, | 138 'function_subtype0_test': fail, |
137 'function_subtype1_test': fail, | 139 'function_subtype1_test': fail, |
138 'function_subtype2_test': fail, | 140 'function_subtype2_test': fail, |
139 'function_subtype3_test': fail, | 141 'function_subtype3_test': fail, |
140 'function_subtype_bound_closure0_test': fail, | 142 'function_subtype_bound_closure0_test': fail, |
141 'function_subtype_bound_closure1_test': fail, | 143 'function_subtype_bound_closure1_test': fail, |
142 'function_subtype_bound_closure2_test': fail, | 144 'function_subtype_bound_closure2_test': fail, |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 'identical_closure2_test': fail, | 186 'identical_closure2_test': fail, |
185 'infinite_switch_label_test': fail, | 187 'infinite_switch_label_test': fail, |
186 'infinity_test': fail, | 188 'infinity_test': fail, |
187 'initializing_formal_final_test': fail, | 189 'initializing_formal_final_test': fail, |
188 'instance_creation_in_function_annotation_test': fail, | 190 'instance_creation_in_function_annotation_test': fail, |
189 'instanceof2_test': fail, | 191 'instanceof2_test': fail, |
190 'instanceof4_test_01_multi': fail, | 192 'instanceof4_test_01_multi': fail, |
191 'instanceof4_test_none_multi': fail, | 193 'instanceof4_test_none_multi': fail, |
192 'instanceof_optimized_test': fail, | 194 'instanceof_optimized_test': fail, |
193 'integer_division_by_zero_test': fail, | 195 'integer_division_by_zero_test': fail, |
194 'is_nan_test': fail, | |
195 'issue_22780_test_01_multi': fail, | 196 'issue_22780_test_01_multi': fail, |
196 'lazy_static3_test': fail, | 197 'lazy_static3_test': fail, |
197 'least_upper_bound_expansive_test_none_multi': fail, | 198 'least_upper_bound_expansive_test_none_multi': fail, |
198 'left_shift_test': fail, | 199 'left_shift_test': fail, |
199 'list_is_test': fail, | 200 'list_is_test': fail, |
200 'list_literal3_test': fail, | 201 'list_literal3_test': fail, |
201 'many_generic_instanceof_test': fail, | 202 'many_generic_instanceof_test': fail, |
202 'map_literal10_test': fail, | 203 'map_literal10_test': fail, |
203 'map_literal7_test': fail, | 204 'map_literal7_test': fail, |
204 'memory_swap_test': is.firefox() ? skip_timeout : pass, | 205 'memory_swap_test': is.firefox() ? skip_timeout : pass, |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
431 | 432 |
432 // The "typed literal" test fails because the object does not have "_c". | 433 // The "typed literal" test fails because the object does not have "_c". |
433 'js_util_test': 'fail', | 434 'js_util_test': 'fail', |
434 'keyboard_event_test': async_unittest, | 435 'keyboard_event_test': async_unittest, |
435 | 436 |
436 // was https://github.com/dart-lang/sdk/issues/27578, needs triage | 437 // was https://github.com/dart-lang/sdk/issues/27578, needs triage |
437 'mediasource_test': 'fail', | 438 'mediasource_test': 'fail', |
438 'media_stream_test': 'fail', | 439 'media_stream_test': 'fail', |
439 'messageevent_test': 'fail', | 440 'messageevent_test': 'fail', |
440 | 441 |
441 // Should throw but does not. | |
442 'mirrors_js_typed_interop_test': 'fail', | |
443 | |
444 'mutationobserver_test': async_unittest, | 442 'mutationobserver_test': async_unittest, |
445 'native_gc_test': async_unittest, | 443 'native_gc_test': async_unittest, |
446 | 444 |
447 // was https://github.com/dart-lang/sdk/issues/27578, needs triage | 445 // was https://github.com/dart-lang/sdk/issues/27578, needs triage |
448 'notification_test': 'fail', | 446 'notification_test': 'fail', |
449 | 447 |
450 'postmessage_structured_test': async_unittest, | 448 'postmessage_structured_test': async_unittest, |
451 'queryall_test': ['slow'], // see sdk #27794 | 449 'queryall_test': ['slow'], // see sdk #27794 |
452 'request_animation_frame_test': async_unittest, | 450 'request_animation_frame_test': async_unittest, |
453 'resource_http_test': async_unittest, | 451 'resource_http_test': async_unittest, |
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
875 | 873 |
876 for (let action of unittest_tests) { | 874 for (let action of unittest_tests) { |
877 try { | 875 try { |
878 action(); | 876 action(); |
879 } catch (e) { | 877 } catch (e) { |
880 console.error("Caught error tying to setup test:", e); | 878 console.error("Caught error tying to setup test:", e); |
881 } | 879 } |
882 } | 880 } |
883 }); | 881 }); |
884 }); | 882 }); |
OLD | NEW |