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 (function() { | 5 (function() { |
6 'use strict'; | 6 'use strict'; |
7 | 7 |
8 let dart_sdk = dart_library.import('dart_sdk'); | 8 let dart_sdk = dart_library.import('dart_sdk'); |
9 dart_sdk._isolate_helper.startRootIsolate(function() {}, []); | 9 dart_sdk._isolate_helper.startRootIsolate(function() {}, []); |
10 let async_helper = dart_library.import('async_helper').async_helper; | 10 let async_helper = dart_library.import('async_helper').async_helper; |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 'cast_test_03_multi': skip_fail, | 77 'cast_test_03_multi': skip_fail, |
78 'cast_test_07_multi': skip_fail, | 78 'cast_test_07_multi': skip_fail, |
79 'cast_test_10_multi': skip_fail, | 79 'cast_test_10_multi': skip_fail, |
80 'cast_test_12_multi': skip_fail, | 80 'cast_test_12_multi': skip_fail, |
81 'cast_test_13_multi': skip_fail, | 81 'cast_test_13_multi': skip_fail, |
82 'cast_test_14_multi': skip_fail, | 82 'cast_test_14_multi': skip_fail, |
83 'cast_test_15_multi': skip_fail, | 83 'cast_test_15_multi': skip_fail, |
84 'cha_deopt1_test': skip_fail, | 84 'cha_deopt1_test': skip_fail, |
85 'cha_deopt2_test': skip_fail, | 85 'cha_deopt2_test': skip_fail, |
86 'cha_deopt3_test': skip_fail, | 86 'cha_deopt3_test': skip_fail, |
| 87 |
| 88 // interpolation does not call Dart's toString: |
| 89 // https://github.com/dart-lang/dev_compiler/issues/470 |
| 90 'class_syntax2_test': skip_fail, |
87 'classes_static_method_clash_test': skip_fail, | 91 'classes_static_method_clash_test': skip_fail, |
88 'closure_call_wrong_argument_count_negative_test': skip_fail, | 92 'closure_call_wrong_argument_count_negative_test': skip_fail, |
89 'closure_in_constructor_test': skip_fail, | 93 'closure_in_constructor_test': skip_fail, |
90 'closure_with_super_field_test': skip_fail, | 94 'closure_with_super_field_test': skip_fail, |
91 'closures_initializer_test': skip_fail, | 95 'closures_initializer_test': skip_fail, |
92 'code_after_try_is_executed_test_01_multi': skip_fail, | 96 'code_after_try_is_executed_test_01_multi': skip_fail, |
93 'compile_time_constant10_test_none_multi': skip_fail, | 97 'compile_time_constant10_test_none_multi': skip_fail, |
94 'compile_time_constant_a_test': skip_fail, | 98 'compile_time_constant_a_test': skip_fail, |
95 'compile_time_constant_b_test': skip_fail, | 99 'compile_time_constant_b_test': skip_fail, |
96 'compile_time_constant_d_test': skip_fail, | 100 'compile_time_constant_d_test': skip_fail, |
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
423 'integer_to_string_test_01_multi': fail, | 427 'integer_to_string_test_01_multi': fail, |
424 'iterable_generate_test': fail, | 428 'iterable_generate_test': fail, |
425 'iterable_return_type_test_01_multi': fail, | 429 'iterable_return_type_test_01_multi': fail, |
426 'iterable_return_type_test_02_multi': fail, | 430 'iterable_return_type_test_02_multi': fail, |
427 'iterable_return_type_test_none_multi': fail, | 431 'iterable_return_type_test_none_multi': fail, |
428 'json_map_test': fail, | 432 'json_map_test': fail, |
429 'list_fill_range_test': fail, | 433 'list_fill_range_test': fail, |
430 'list_replace_range_test': fail, | 434 'list_replace_range_test': fail, |
431 'list_set_all_test': fail, | 435 'list_set_all_test': fail, |
432 'list_to_string2_test': fail, | 436 'list_to_string2_test': fail, |
433 'list_to_string_test': fail, | |
434 'main_test': fail, | 437 'main_test': fail, |
435 'map_keys2_test': fail, | 438 'map_keys2_test': fail, |
436 'map_to_string_test': fail, | 439 'map_to_string_test': fail, |
437 'nan_infinity_test_01_multi': fail, | 440 'nan_infinity_test_01_multi': fail, |
438 'null_nosuchmethod_test': fail, | 441 'null_nosuchmethod_test': fail, |
439 'null_test': fail, | 442 'null_test': fail, |
440 'num_sign_test': fail, | 443 'num_sign_test': fail, |
441 'queue_test': fail, | 444 'queue_test': fail, |
442 'regress_r21715_test': fail, | 445 'regress_r21715_test': fail, |
443 'throw_half_surrogate_pair_test_02_multi': fail, | 446 'throw_half_surrogate_pair_test_02_multi': fail, |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
687 }); | 690 }); |
688 continue; | 691 continue; |
689 } | 692 } |
690 | 693 |
691 function protect(f) { // Returns the exception, or `null`. | 694 function protect(f) { // Returns the exception, or `null`. |
692 try { | 695 try { |
693 f(); | 696 f(); |
694 return null; | 697 return null; |
695 } catch (e) { | 698 } catch (e) { |
696 return e; | 699 return e; |
697 }; | 700 } |
698 } | 701 } |
699 | 702 |
700 test(name, function(done) { // 'function' to allow `this.timeout`. | 703 test(name, function(done) { // 'function' to allow `this.timeout`. |
701 async_helper.asyncTestInitialize(done); | 704 async_helper.asyncTestInitialize(done); |
702 console.debug('Running test: ' + name); | 705 console.debug('Running test: ' + name); |
703 | 706 |
704 let mainLibrary = dart_library.import(module)[name]; | 707 let mainLibrary = dart_library.import(module)[name]; |
705 let negative = /negative_test/.test(name); | 708 let negative = /negative_test/.test(name); |
706 if (has('slow')) this.timeout(5000); | 709 if (has('slow')) this.timeout(5000); |
707 if (has('fail')) { | 710 if (has('fail')) { |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
766 | 769 |
767 for (let action of unittest_tests) { | 770 for (let action of unittest_tests) { |
768 try { | 771 try { |
769 action(); | 772 action(); |
770 } catch (e) { | 773 } catch (e) { |
771 console.error("Caught error tying to setup test:", e); | 774 console.error("Caught error tying to setup test:", e); |
772 } | 775 } |
773 } | 776 } |
774 }); | 777 }); |
775 })(); | 778 })(); |
OLD | NEW |