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

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

Issue 2716583006: Fix Function.apply (Closed)
Patch Set: Created 3 years, 10 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 'async_star_test_03_multi': async_unittest, 72 'async_star_test_03_multi': async_unittest,
73 'async_star_test_04_multi': async_unittest, 73 'async_star_test_04_multi': async_unittest,
74 'async_star_test_05_multi': async_unittest, 74 'async_star_test_05_multi': async_unittest,
75 75
76 'async_switch_test': fail, 76 'async_switch_test': fail,
77 'asyncstar_throw_in_catch_test': ['skip', 'fail'], 77 'asyncstar_throw_in_catch_test': ['skip', 'fail'],
78 'await_future_test': skip_timeout, 78 'await_future_test': skip_timeout,
79 'bit_operations_test_none_multi': fail, // DDC/dart2js canonicalize bitop results to unsigned 79 'bit_operations_test_none_multi': fail, // DDC/dart2js canonicalize bitop results to unsigned
80 'branch_canonicalization_test': fail, // JS bit operations truncate to 32 bits. 80 'branch_canonicalization_test': fail, // JS bit operations truncate to 32 bits.
81 'call_closurization_test': fail, // Functions do not expose a "call" metho d. 81 'call_closurization_test': fail, // Functions do not expose a "call" metho d.
82 'call_function_apply_test': fail, // Function.apply not really implemented .
83 'call_through_null_getter_test': fail, // null errors are not converted to NoSuchMethodErrors. 82 'call_through_null_getter_test': fail, // null errors are not converted to NoSuchMethodErrors.
84 'call_with_no_such_method_test': fail, // Function.apply not really implem ented. 83 'call_with_no_such_method_test': fail, // Function.apply not really implem ented.
85 'canonical_const2_test': fail, 84 'canonical_const2_test': fail,
86 'canonical_const_test': fail, 85 'canonical_const_test': fail,
87 'cast_test_01_multi': fail, 86 'cast_test_01_multi': fail,
88 'cast_test_02_multi': fail, 87 'cast_test_02_multi': fail,
89 'cast_test_03_multi': fail, 88 'cast_test_03_multi': fail,
90 'cast_test_07_multi': fail, 89 'cast_test_07_multi': fail,
91 'cast_test_08_multi': fail, // (oc as dynamic).bar; /// 08: runtime error 90 'cast_test_08_multi': fail, // (oc as dynamic).bar; /// 08: runtime error
92 'cast_test_10_multi': fail, 91 'cast_test_10_multi': fail,
93 'cast_test_12_multi': fail, 92 'cast_test_12_multi': fail,
94 'cast_test_13_multi': fail, 93 'cast_test_13_multi': fail,
95 'cast_test_14_multi': fail, 94 'cast_test_14_multi': fail,
96 'cast_test_15_multi': fail, 95 'cast_test_15_multi': fail,
97 'classes_static_method_clash_test': fail,
98 'code_after_try_is_executed_test_01_multi': fail, 96 'code_after_try_is_executed_test_01_multi': fail,
99 'compile_time_constant10_test_none_multi': fail, 97 'compile_time_constant10_test_none_multi': fail,
100 'compile_time_constant_a_test': fail, 98 'compile_time_constant_a_test': fail,
101 'compile_time_constant_b_test': fail, 99 'compile_time_constant_b_test': fail,
102 'compile_time_constant_d_test': fail, 100 'compile_time_constant_d_test': fail,
103 'compile_time_constant_k_test_none_multi': fail, 101 'compile_time_constant_k_test_none_multi': fail,
104 'compile_time_constant_o_test_none_multi': fail, 102 'compile_time_constant_o_test_none_multi': fail,
105 'const_evaluation_test_01_multi': fail, 103 'const_evaluation_test_01_multi': fail,
106 'const_switch_test_02_multi': fail, 104 'const_switch_test_02_multi': fail,
107 'const_switch_test_04_multi': fail, 105 'const_switch_test_04_multi': fail,
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 'library_prefixes_test2': 'helper', 273 'library_prefixes_test2': 'helper',
276 'top_level_prefixed_library_test': 'helper', 274 'top_level_prefixed_library_test': 'helper',
277 275
278 }, 276 },
279 277
280 'language/covariant_override': {}, 278 'language/covariant_override': {},
281 279
282 'corelib': { 280 'corelib': {
283 'apply2_test': fail, 281 'apply2_test': fail,
284 'apply3_test': fail, 282 'apply3_test': fail,
285 'apply_test': fail,
286 'big_integer_parsed_arith_vm_test': fail, 283 'big_integer_parsed_arith_vm_test': fail,
287 'big_integer_parsed_div_rem_vm_test': fail, 284 'big_integer_parsed_div_rem_vm_test': fail,
288 'big_integer_parsed_mul_div_vm_test': fail, 285 'big_integer_parsed_mul_div_vm_test': fail,
289 'bit_twiddling_bigint_test': fail, 286 'bit_twiddling_bigint_test': fail,
290 'collection_length_test': skip_timeout, 287 'collection_length_test': skip_timeout,
291 'compare_to2_test': fail, 288 'compare_to2_test': fail,
292 'const_list_literal_test': fail, 289 'const_list_literal_test': fail,
293 'const_list_remove_range_test': fail, 290 'const_list_remove_range_test': fail,
294 'const_list_set_range_test': fail, 291 'const_list_set_range_test': fail,
295 'double_parse_test_01_multi': fail, 292 'double_parse_test_01_multi': fail,
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 'constructor_optional_args_test': fail, 508 'constructor_optional_args_test': fail,
512 'constructor_private_name_test': fail, 509 'constructor_private_name_test': fail,
513 'declarations_type_test': fail, 510 'declarations_type_test': fail,
514 'deferred_mirrors_metadata_test': skip_timeout, 511 'deferred_mirrors_metadata_test': skip_timeout,
515 'deferred_mirrors_metatarget_test': skip_timeout, 512 'deferred_mirrors_metatarget_test': skip_timeout,
516 'deferred_mirrors_update_test': fail, 513 'deferred_mirrors_update_test': fail,
517 'empty_test': fail, 514 'empty_test': fail,
518 'equality_test': fail, 515 'equality_test': fail,
519 'fake_function_with_call_test': fail, 516 'fake_function_with_call_test': fail,
520 'field_type_test': fail, 517 'field_type_test': fail,
521 'function_apply_mirrors_test': fail,
522 'function_type_mirror_test': fail, 518 'function_type_mirror_test': fail,
523 'generic_f_bounded_test_01_multi': fail, 519 'generic_f_bounded_test_01_multi': fail,
524 'generic_f_bounded_test_none_multi': fail, 520 'generic_f_bounded_test_none_multi': fail,
525 'generic_function_typedef_test': fail, 521 'generic_function_typedef_test': fail,
526 'generic_interface_test_none_multi': fail, 522 'generic_interface_test_none_multi': fail,
527 'generic_list_test': fail, 523 'generic_list_test': fail,
528 'generic_local_function_test': fail, 524 'generic_local_function_test': fail,
529 'generic_mixin_applications_test': fail, 525 'generic_mixin_applications_test': fail,
530 'generic_mixin_test': fail, 526 'generic_mixin_test': fail,
531 'generic_superclass_test_01_multi': fail, 527 'generic_superclass_test_01_multi': fail,
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
862 858
863 for (let action of unittest_tests) { 859 for (let action of unittest_tests) {
864 try { 860 try {
865 action(); 861 action();
866 } catch (e) { 862 } catch (e) {
867 console.error("Caught error tying to setup test:", e); 863 console.error("Caught error tying to setup test:", e);
868 } 864 }
869 } 865 }
870 }); 866 });
871 }); 867 });
OLDNEW
« no previous file with comments | « pkg/dev_compiler/lib/js/legacy/dart_sdk.js ('k') | pkg/dev_compiler/tool/input_sdk/patch/core_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698