| 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 'test_status'], | 6 'test_status'], |
| 7 function(dart_sdk, async_helper, expect, unittest, is, require, | 7 function(dart_sdk, async_helper, expect, unittest, is, require, |
| 8 test_status) { | 8 test_status) { |
| 9 'use strict'; | 9 'use strict'; |
| 10 | 10 |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 'compile_time_constant10_test_none_multi': fail, | 89 'compile_time_constant10_test_none_multi': fail, |
| 90 'compile_time_constant_a_test': fail, | 90 'compile_time_constant_a_test': fail, |
| 91 'compile_time_constant_b_test': fail, | 91 'compile_time_constant_b_test': fail, |
| 92 'compile_time_constant_d_test': fail, | 92 'compile_time_constant_d_test': fail, |
| 93 'compile_time_constant_k_test_none_multi': fail, | 93 'compile_time_constant_k_test_none_multi': fail, |
| 94 'compile_time_constant_o_test_none_multi': fail, | 94 'compile_time_constant_o_test_none_multi': fail, |
| 95 'const_evaluation_test_01_multi': fail, | 95 'const_evaluation_test_01_multi': fail, |
| 96 'const_switch_test_02_multi': fail, | 96 'const_switch_test_02_multi': fail, |
| 97 'const_switch_test_04_multi': fail, | 97 'const_switch_test_04_multi': fail, |
| 98 'constructor12_test': fail, | 98 'constructor12_test': fail, |
| 99 'covariant_subtyping_with_substitution_test': fail, |
| 99 'custom_await_stack_trace_test': fail, | 100 'custom_await_stack_trace_test': fail, |
| 100 'cyclic_type2_test': fail, | 101 'cyclic_type2_test': fail, |
| 101 'cyclic_type_test_02_multi': fail, | 102 'cyclic_type_test_02_multi': fail, |
| 102 'cyclic_type_test_03_multi': fail, | 103 'cyclic_type_test_03_multi': fail, |
| 103 'cyclic_type_test_04_multi': fail, | 104 'cyclic_type_test_04_multi': fail, |
| 104 | 105 |
| 105 // Deferred libraries are not actually deferred. These tests all test | 106 // Deferred libraries are not actually deferred. These tests all test |
| 106 // that synchronous access to the library fails. | 107 // that synchronous access to the library fails. |
| 107 'deferred_call_empty_before_load_test': fail, | 108 'deferred_call_empty_before_load_test': fail, |
| 108 'deferred_load_library_wrong_args_test_01_multi': fail, | 109 'deferred_load_library_wrong_args_test_01_multi': fail, |
| (...skipping 11 matching lines...) Expand all Loading... |
| 120 'field_increment_bailout_test': fail, | 121 'field_increment_bailout_test': fail, |
| 121 'field_optimization3_test': fail, | 122 'field_optimization3_test': fail, |
| 122 'first_class_types_test': fail, | 123 'first_class_types_test': fail, |
| 123 'flatten_test_01_multi': fail, | 124 'flatten_test_01_multi': fail, |
| 124 'flatten_test_04_multi': fail, | 125 'flatten_test_04_multi': fail, |
| 125 'flatten_test_05_multi': fail, | 126 'flatten_test_05_multi': fail, |
| 126 'flatten_test_08_multi': fail, | 127 'flatten_test_08_multi': fail, |
| 127 'flatten_test_09_multi': fail, | 128 'flatten_test_09_multi': fail, |
| 128 'flatten_test_12_multi': fail, | 129 'flatten_test_12_multi': fail, |
| 129 'for_variable_capture_test': is.firefox('<=50') ? pass : fail, | 130 'for_variable_capture_test': is.firefox('<=50') ? pass : fail, |
| 131 'function_subtype_inline2_test': fail, |
| 130 'function_subtype_named1_test': fail, | 132 'function_subtype_named1_test': fail, |
| 131 'function_subtype_named2_test': fail, | 133 'function_subtype_named2_test': fail, |
| 132 'function_subtype_optional1_test': fail, | 134 'function_subtype_optional1_test': fail, |
| 133 'function_subtype_optional2_test': fail, | 135 'function_subtype_optional2_test': fail, |
| 134 'function_subtype_typearg2_test': fail, | 136 'function_subtype_typearg2_test': fail, |
| 135 'function_subtype_typearg4_test': fail, | 137 'function_subtype_typearg4_test': fail, |
| 136 'function_type_alias3_test': fail, | |
| 137 'function_type_alias6_test_none_multi': fail, | 138 'function_type_alias6_test_none_multi': fail, |
| 138 'generic_instanceof_test': fail, // runtime strong mode reject | 139 'generic_instanceof_test': fail, // runtime strong mode reject |
| 139 'generic_instanceof2_test': fail, | 140 'generic_instanceof2_test': fail, |
| 140 'generic_is_check_test': fail, | 141 'generic_is_check_test': fail, |
| 141 'generic_methods_generic_class_tearoff_test': fail, | |
| 142 'getter_closure_execution_order_test': fail, | 142 'getter_closure_execution_order_test': fail, |
| 143 'gc_test': 'slow', | 143 'gc_test': 'slow', |
| 144 'identical_closure2_test': fail, | 144 'identical_closure2_test': fail, |
| 145 'infinite_switch_label_test': fail, | 145 'infinite_switch_label_test': fail, |
| 146 'infinity_test': fail, | 146 'infinity_test': fail, |
| 147 'initializing_formal_final_test': fail, | 147 'initializing_formal_final_test': fail, |
| 148 'instance_creation_in_function_annotation_test': fail, | 148 'instance_creation_in_function_annotation_test': fail, |
| 149 'instanceof2_test': fail, | 149 'instanceof2_test': fail, |
| 150 'instanceof4_test_01_multi': fail, | 150 'instanceof4_test_01_multi': fail, |
| 151 'instanceof4_test_none_multi': fail, | 151 'instanceof4_test_none_multi': fail, |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 'prefix10_negative_test': fail, | 203 'prefix10_negative_test': fail, |
| 204 | 204 |
| 205 'library_prefixes_test1': 'skip', // not a test | 205 'library_prefixes_test1': 'skip', // not a test |
| 206 'library_prefixes_test2': 'skip', // not a test | 206 'library_prefixes_test2': 'skip', // not a test |
| 207 'top_level_prefixed_library_test': 'skip', // not a test | 207 'top_level_prefixed_library_test': 'skip', // not a test |
| 208 | 208 |
| 209 }, | 209 }, |
| 210 | 210 |
| 211 'language/covariant_override': {}, | 211 'language/covariant_override': {}, |
| 212 | 212 |
| 213 'language/function_type': { |
| 214 'function_type50_test': fail, |
| 215 'function_type58_test': fail, |
| 216 }, |
| 217 |
| 213 'codegen': {}, | 218 'codegen': {}, |
| 214 | 219 |
| 215 'corelib': { | 220 'corelib': { |
| 216 'apply2_test': fail, | 221 'apply2_test': fail, |
| 217 'apply3_test': fail, | 222 'apply3_test': fail, |
| 218 'big_integer_arith_vm_test_add_multi': fail, | 223 'big_integer_arith_vm_test_add_multi': fail, |
| 219 'big_integer_arith_vm_test_div_multi': fail, | 224 'big_integer_arith_vm_test_div_multi': fail, |
| 220 'big_integer_arith_vm_test_gcd_multi': fail, | 225 'big_integer_arith_vm_test_gcd_multi': fail, |
| 221 'big_integer_arith_vm_test_modInv_multi': fail, | 226 'big_integer_arith_vm_test_modInv_multi': fail, |
| 222 'big_integer_arith_vm_test_modPow_multi': fail, | 227 'big_integer_arith_vm_test_modPow_multi': fail, |
| (...skipping 11 matching lines...) Expand all Loading... |
| 234 'bit_twiddling_bigint_test': fail, | 239 'bit_twiddling_bigint_test': fail, |
| 235 'collection_length_test': skip_timeout, | 240 'collection_length_test': skip_timeout, |
| 236 'compare_to2_test': fail, | 241 'compare_to2_test': fail, |
| 237 'const_list_literal_test': fail, | 242 'const_list_literal_test': fail, |
| 238 'const_list_remove_range_test': fail, | 243 'const_list_remove_range_test': fail, |
| 239 'const_list_set_range_test': fail, | 244 'const_list_set_range_test': fail, |
| 240 'core_runtime_types_test': fail, | 245 'core_runtime_types_test': fail, |
| 241 'date_time10_test': fail, | 246 'date_time10_test': fail, |
| 242 'double_parse_test_02_multi': firefox_fail, | 247 'double_parse_test_02_multi': firefox_fail, |
| 243 'error_stack_trace_test_nullThrown_multi': fail, | 248 'error_stack_trace_test_nullThrown_multi': fail, |
| 244 'list_unmodifiable_test': fail, // DDC is throwing a strong mode error, so
it may be a test bug | |
| 245 'for_in_test': is.firefox('<=50') ? fail : pass, | 249 'for_in_test': is.firefox('<=50') ? fail : pass, |
| 246 'growable_list_test': fail, | 250 'growable_list_test': fail, |
| 247 'hash_map2_test': skip_timeout, | 251 'hash_map2_test': skip_timeout, |
| 248 'hash_set_test_01_multi': fail, | 252 'hash_set_test_01_multi': fail, |
| 249 'int_modulo_arith_test_bignum_multi': fail, | 253 'int_modulo_arith_test_bignum_multi': fail, |
| 250 'int_modulo_arith_test_modPow_multi': fail, | 254 'int_modulo_arith_test_modPow_multi': fail, |
| 251 'int_modulo_arith_test_none_multi': fail, | 255 'int_modulo_arith_test_none_multi': fail, |
| 252 'int_parse_radix_test_01_multi': fail, // JS implementations disagree on U
+0085 being whitespace. | 256 'int_parse_radix_test_01_multi': fail, // JS implementations disagree on U
+0085 being whitespace. |
| 253 'int_parse_radix_test_02_multi': ['fail', 'timeout', 'skip'], // No bigint
s. | 257 'int_parse_radix_test_02_multi': ['fail', 'timeout', 'skip'], // No bigint
s. |
| 254 'int_parse_radix_test_none_multi': ['slow'], | 258 'int_parse_radix_test_none_multi': ['slow'], |
| 255 'int_parse_with_limited_ints_test': fail, | 259 'int_parse_with_limited_ints_test': fail, |
| 256 'integer_to_radix_string_test': fail, | 260 'integer_to_radix_string_test': fail, |
| 257 'integer_to_string_test_01_multi': fail, | 261 'integer_to_string_test_01_multi': fail, |
| 262 'iterable_fold_test_02_multi': fail, |
| 263 'iterable_reduce_test_none_multi': fail, |
| 258 'iterable_return_type_test_02_multi': fail, | 264 'iterable_return_type_test_02_multi': fail, |
| 259 'json_map_test': fail, | 265 'json_map_test': fail, |
| 260 'list_fill_range_test': fail, | 266 'list_fill_range_test': fail, |
| 261 'list_replace_range_test': fail, | 267 'list_replace_range_test': fail, |
| 262 'list_set_all_test': fail, | 268 'list_set_all_test': fail, |
| 263 'list_test_01_multi': fail, | 269 'list_test_01_multi': fail, |
| 264 'list_test_none_multi': fail, | 270 'list_test_none_multi': fail, |
| 265 'main_test': fail, | 271 'main_test': fail, |
| 266 'map_keys2_test': fail, | 272 'map_keys2_test': fail, |
| 267 'map_from_iterable_test': is.firefox('<=50') ? fail : pass, | 273 'map_from_iterable_test': is.firefox('<=50') ? fail : pass, |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 'corelib/regexp': { | 308 'corelib/regexp': { |
| 303 'default_arguments_test': fail, | 309 'default_arguments_test': fail, |
| 304 'UC16_test': firefox_fail, | 310 'UC16_test': firefox_fail, |
| 305 }, | 311 }, |
| 306 | 312 |
| 307 'lib/async': { | 313 'lib/async': { |
| 308 'first_regression_test': async_unittest, | 314 'first_regression_test': async_unittest, |
| 309 'future_or_bad_type_test_implements_multi': fail, | 315 'future_or_bad_type_test_implements_multi': fail, |
| 310 'future_or_bad_type_test_none_multi': fail, | 316 'future_or_bad_type_test_none_multi': fail, |
| 311 'future_or_non_strong_test': fail, | 317 'future_or_non_strong_test': fail, |
| 318 'future_test_none_multi': fail, |
| 312 'future_timeout_test': async_unittest, | 319 'future_timeout_test': async_unittest, |
| 320 'intercept_schedule_microtask5_test': async_unittest, |
| 313 'multiple_timer_test': async_unittest, | 321 'multiple_timer_test': async_unittest, |
| 314 'futures_test': fail, | 322 'futures_test': fail, |
| 315 'schedule_microtask2_test': async_unittest, | 323 'schedule_microtask2_test': async_unittest, |
| 316 'schedule_microtask3_test': async_unittest, | 324 'schedule_microtask3_test': async_unittest, |
| 317 'schedule_microtask5_test': async_unittest, | 325 'schedule_microtask5_test': async_unittest, |
| 318 'stream_controller_async_test': async_unittest, | 326 'stream_controller_async_test': async_unittest, |
| 319 'stream_first_where_test': async_unittest, | 327 'stream_first_where_test': async_unittest, |
| 320 'stream_from_iterable_test': async_unittest, | 328 'stream_from_iterable_test': async_unittest, |
| 321 'stream_iterator_test': async_unittest, | 329 'stream_iterator_test': async_unittest, |
| 322 'stream_join_test': async_unittest, | 330 'stream_join_test': async_unittest, |
| (...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 867 | 875 |
| 868 for (let action of unittest_tests) { | 876 for (let action of unittest_tests) { |
| 869 try { | 877 try { |
| 870 action(); | 878 action(); |
| 871 } catch (e) { | 879 } catch (e) { |
| 872 console.error("Caught error tying to setup test:", e); | 880 console.error("Caught error tying to setup test:", e); |
| 873 } | 881 } |
| 874 } | 882 } |
| 875 }); | 883 }); |
| 876 }); | 884 }); |
| OLD | NEW |