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

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

Issue 2256393002: Regression test dart:mirrors (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Remove flag Created 4 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
« no previous file with comments | « karma.conf.js ('k') | test/codegen_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 (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 2716 matching lines...) Expand 10 before | Expand all | Expand 10 after
2727 'lib/typed_data': { 2727 'lib/typed_data': {
2728 // No bigint or int64 support 2728 // No bigint or int64 support
2729 'float32x4_test': notyetstrong, 2729 'float32x4_test': notyetstrong,
2730 'float64x2_functional_test': notyetstrong, 2730 'float64x2_functional_test': notyetstrong,
2731 'int32x4_bigint_test': skip_fail, 2731 'int32x4_bigint_test': skip_fail,
2732 'int32x4_test': notyetstrong, 2732 'int32x4_test': notyetstrong,
2733 'int64_list_load_store_test': skip_fail, 2733 'int64_list_load_store_test': skip_fail,
2734 'typed_data_hierarchy_int64_test': skip_fail, 2734 'typed_data_hierarchy_int64_test': skip_fail,
2735 'typed_data_list_test': fail, 2735 'typed_data_list_test': fail,
2736 }, 2736 },
2737
2738 'lib/mirrors': {
2739 'abstract_class_test_none_multi': fail,
2740 'accessor_cache_overflow_test': fail,
2741 'array_tracing3_test': fail,
2742 'array_tracing_test': fail,
2743 'basic_types_in_dart_core_test': fail,
2744 'circular_factory_redirection_test_none_multi': fail,
2745 'class_mirror_location_test': fail,
2746 'class_mirror_type_variables_test': fail,
2747 'closurization_equivalence_test': fail,
2748 'constructor_kinds_test_01_multi': fail,
2749 'constructor_kinds_test_none_multi': fail,
2750 'constructor_optional_args_test': fail,
2751 'constructor_private_name_test': fail,
2752 'declarations_type_test': fail,
2753 'deferred_mirrors_metadata_test': skip_timeout,
2754 'deferred_mirrors_metatarget_test': skip_timeout,
2755 'deferred_mirrors_update_test': fail,
2756 'empty_test': fail,
2757 'equality_test': fail,
2758 'fake_function_with_call_test': fail,
2759 'field_type_test': fail,
2760 'function_apply_mirrors_test': fail,
2761 'function_type_mirror_test': fail,
2762 'generic_f_bounded_test_01_multi': fail,
2763 'generic_f_bounded_test_none_multi': fail,
2764 'generic_function_typedef_test': fail,
2765 'generic_interface_test_none_multi': fail,
2766 'generic_list_test': fail,
2767 'generic_local_function_test': fail,
2768 'generic_mixin_applications_test': fail,
2769 'generic_mixin_test': fail,
2770 'generic_superclass_test_01_multi': fail,
2771 'generic_superclass_test_none_multi': fail,
2772 'generic_type_mirror_test': fail,
2773 'generics_double_substitution_test_01_multi': fail,
2774 'generics_double_substitution_test_none_multi': fail,
2775 'generics_dynamic_test': fail,
2776 'generics_special_types_test': fail,
2777 'generics_substitution_test': fail,
2778 'generics_test_none_multi': fail,
2779 'get_field_static_test_00_multi': fail,
2780 'get_field_static_test_none_multi': fail,
2781 'globalized_closures2_test_00_multi': fail,
2782 'globalized_closures2_test_none_multi': fail,
2783 'globalized_closures_test_00_multi': fail,
2784 'globalized_closures_test_none_multi': fail,
2785 'hierarchy_invariants_test': fail,
2786 'hot_get_field_test': fail,
2787 'hot_set_field_test': fail,
2788 'inherited_metadata_test': fail,
2789 'instance_members_unimplemented_interface_test': fail,
2790 'instantiate_abstract_class_test': fail,
2791 'intercepted_superclass_test': fail,
2792 'invocation_fuzz_test_emptyarray_multi': fail,
2793 'invocation_fuzz_test_false_multi': fail,
2794 'invocation_fuzz_test_none_multi': fail,
2795 'invocation_fuzz_test_smi_multi': fail,
2796 'invocation_fuzz_test_string_multi': fail,
2797 'invoke_call_on_closure_test': fail,
2798 'invoke_closurization2_test': fail,
2799 'invoke_closurization_test': fail,
2800 'invoke_import_test': fail,
2801 'invoke_named_test_01_multi': fail,
2802 'invoke_named_test_none_multi': fail,
2803 'invoke_natives_malicious_test': fail,
2804 'invoke_private_test': fail,
2805 'invoke_private_wrong_library_test': fail,
2806 'invoke_test': fail,
2807 'invoke_throws_test': fail,
2808 'io_html_mutual_exclusion_test': fail,
2809 'libraries_test': fail,
2810 'library_enumeration_deferred_loading_test': fail,
2811 'library_imports_bad_metadata_test_none_multi': fail,
2812 'library_metadata2_test_none_multi': fail,
2813 'library_metadata_test': fail,
2814 'library_uri_package_test': fail,
2815 'list_constructor_test_01_multi': fail,
2816 'list_constructor_test_none_multi': fail,
2817 'local_function_is_static_test': fail,
2818 'local_isolate_test': fail,
2819 'metadata_allowed_values_test_none_multi': fail,
2820 'metadata_constructed_constant_test': fail,
2821 'metadata_constructor_arguments_test_none_multi': fail,
2822 'metadata_nested_constructor_call_test_none_multi': fail,
2823 'metadata_scope_test_none_multi': fail,
2824 'metadata_test': fail,
2825 'method_mirror_location_test': fail,
2826 'method_mirror_returntype_test': fail,
2827 'method_mirror_source_line_ending_test': fail,
2828 'method_mirror_source_test': fail,
2829 'mirrors_reader_test': fail,
2830 'mirrors_resolve_fields_test': fail,
2831 'mirrors_used_typedef_declaration_test_01_multi': fail,
2832 'mirrors_used_typedef_declaration_test_none_multi': fail,
2833 'mixin_test': fail,
2834 'new_instance_optional_arguments_test': fail,
2835 'null2_test': fail,
2836 'null_test': fail,
2837 'other_declarations_location_test': fail,
2838 'parameter_annotation_mirror_test': fail,
2839 'parameter_is_const_test_none_multi': fail,
2840 'parameter_metadata_test': fail,
2841 'private_class_field_test': fail,
2842 'private_symbol_mangling_test': fail,
2843 'private_types_test': fail,
2844 'proxy_type_test': fail,
2845 'raw_type_test_01_multi': fail,
2846 'raw_type_test_none_multi': fail,
2847 'reflect_class_test_none_multi': fail,
2848 'reflect_runtime_type_test': fail,
2849 'reflect_uninstantiated_class_test': fail,
2850 'reflected_type_classes_test_none_multi': fail,
2851 'reflected_type_function_type_test': fail,
2852 'reflected_type_special_types_test': fail,
2853 'reflected_type_test_none_multi': fail,
2854 'reflected_type_typedefs_test': fail,
2855 'reflected_type_typevars_test': fail,
2856 'reflectively_instantiate_uninstantiated_class_test': fail,
2857 'regress_14304_test': fail,
2858 'regress_26187_test': fail,
2859 'relation_assignable_test': fail,
2860 'relation_subtype_test': fail,
2861 'runtime_type_test': fail,
2862 'set_field_with_final_test': fail,
2863 'static_const_field_test': fail,
2864 'superclass2_test': fail,
2865 'superclass_test': fail,
2866 'symbol_validation_test_01_multi': fail,
2867 'symbol_validation_test_none_multi': fail,
2868 'to_string_test': fail,
2869 'type_argument_is_type_variable_test': fail,
2870 'type_variable_is_static_test': fail,
2871 'type_variable_owner_test_01_multi': fail,
2872 'type_variable_owner_test_none_multi': fail,
2873 'typedef_deferred_library_test': skip_fail, // Isolate spawn not support
2874 'typedef_library_test': fail,
2875 'typedef_metadata_test': fail,
2876 'typedef_test': fail,
2877 'typevariable_mirror_metadata_test': fail,
2878 'unnamed_library_test': fail,
2879 'variable_is_const_test_none_multi': fail,
2880
2881 'abstract_class_test_00_multi': notyetstrong,
2882 'abstract_test': notyetstrong,
2883 'circular_factory_redirection_test_01_multi': notyetstrong,
2884 'circular_factory_redirection_test_02_multi': notyetstrong,
2885 'class_declarations_test_01_multi': notyetstrong,
2886 'class_declarations_test_none_multi': notyetstrong,
2887 'closures_test': notyetstrong,
2888 'constructors_test': notyetstrong,
2889 'dart2js_mirrors_test': notyetstrong,
2890 'deferred_type_test': notyetstrong,
2891 'delegate_call_through_getter_test': notyetstrong,
2892 'delegate_class_test': notyetstrong,
2893 'delegate_function_invocation_test': notyetstrong,
2894 'delegate_library_test': notyetstrong,
2895 'delegate_test': notyetstrong,
2896 'enum_test': notyetstrong,
2897 'fake_function_without_call_test': notyetstrong,
2898 'generic_bounded_by_type_parameter_test_01_multi': notyetstrong,
2899 'generic_bounded_by_type_parameter_test_02_multi': notyetstrong,
2900 'generic_bounded_by_type_parameter_test_none_multi': notyetstrong,
2901 'generic_bounded_test_01_multi': notyetstrong,
2902 'generic_bounded_test_02_multi': notyetstrong,
2903 'generic_bounded_test_none_multi': notyetstrong,
2904 'generic_class_declaration_test': notyetstrong,
2905 'generic_f_bounded_mixin_application_test': notyetstrong,
2906 'generic_interface_test_01_multi': notyetstrong,
2907 'generics_test_01_multi': notyetstrong,
2908 'get_symbol_name_no_such_method_test': notyetstrong,
2909 'immutable_collections_test': notyetstrong,
2910 'inference_and_no_such_method_test': notyetstrong,
2911 'inherit_field_test': notyetstrong,
2912 'initializing_formals_test_01_multi': notyetstrong,
2913 'initializing_formals_test_03_multi': notyetstrong,
2914 'initializing_formals_test_none_multi': notyetstrong,
2915 'instance_members_easier_test': notyetstrong,
2916 'instance_members_test': notyetstrong,
2917 'instance_members_with_override_test': notyetstrong,
2918 'intercepted_class_test': notyetstrong,
2919 'intercepted_object_test': notyetstrong,
2920 'invoke_call_through_getter_previously_accessed_test_named_multi': notyets trong,
2921 'invoke_call_through_getter_previously_accessed_test_none_multi': notyetst rong,
2922 'invoke_call_through_getter_test_named_multi': notyetstrong,
2923 'invoke_call_through_getter_test_none_multi': notyetstrong,
2924 'invoke_call_through_implicit_getter_previously_accessed_test_named_multi' : notyetstrong,
2925 'invoke_call_through_implicit_getter_previously_accessed_test_none_multi': notyetstrong,
2926 'invoke_call_through_implicit_getter_test': notyetstrong,
2927 'lazy_static_test': notyetstrong,
2928 'library_declarations_test_01_multi': notyetstrong,
2929 'library_declarations_test_none_multi': notyetstrong,
2930 'library_exports_hidden_test': notyetstrong,
2931 'library_exports_shown_test': notyetstrong,
2932 'library_import_deferred_loading_test': notyetstrong,
2933 'library_imports_bad_metadata_test_01_multi': notyetstrong,
2934 'library_imports_deferred_test': notyetstrong,
2935 'library_imports_hidden_test': notyetstrong,
2936 'library_imports_metadata_test': notyetstrong,
2937 'library_imports_prefixed_show_hide_test': notyetstrong,
2938 'library_imports_prefixed_test': notyetstrong,
2939 'library_imports_shown_test': notyetstrong,
2940 'library_metadata2_test_01_multi': notyetstrong,
2941 'library_uri_io_test': notyetstrong,
2942 'load_library_test': notyetstrong,
2943 'metadata_allowed_values_test_01_multi': notyetstrong,
2944 'metadata_allowed_values_test_02_multi': notyetstrong,
2945 'metadata_allowed_values_test_03_multi': notyetstrong,
2946 'metadata_allowed_values_test_04_multi': notyetstrong,
2947 'metadata_allowed_values_test_05_multi': notyetstrong,
2948 'metadata_allowed_values_test_06_multi': notyetstrong,
2949 'metadata_allowed_values_test_07_multi': notyetstrong,
2950 'metadata_allowed_values_test_08_multi': notyetstrong,
2951 'metadata_allowed_values_test_09_multi': notyetstrong,
2952 'metadata_allowed_values_test_10_multi': notyetstrong,
2953 'metadata_allowed_values_test_11_multi': notyetstrong,
2954 'metadata_allowed_values_test_12_multi': notyetstrong,
2955 'metadata_allowed_values_test_13_multi': notyetstrong,
2956 'metadata_allowed_values_test_14_multi': notyetstrong,
2957 'metadata_allowed_values_test_15_multi': notyetstrong,
2958 'metadata_allowed_values_test_16_multi': notyetstrong,
2959 'metadata_allowed_values_test_17_multi': notyetstrong,
2960 'metadata_allowed_values_test_18_multi': notyetstrong,
2961 'metadata_allowed_values_test_19_multi': notyetstrong,
2962 'metadata_allowed_values_test_20_multi': notyetstrong,
2963 'metadata_allowed_values_test_21_multi': notyetstrong,
2964 'metadata_allowed_values_test_22_multi': notyetstrong,
2965 'metadata_allowed_values_test_23_multi': notyetstrong,
2966 'metadata_allowed_values_test_24_multi': notyetstrong,
2967 'metadata_allowed_values_test_25_multi': notyetstrong,
2968 'metadata_allowed_values_test_26_multi': notyetstrong,
2969 'metadata_allowed_values_test_27_multi': notyetstrong,
2970 'metadata_allowed_values_test_28_multi': notyetstrong,
2971 'metadata_allowed_values_test_29_multi': notyetstrong,
2972 'metadata_allowed_values_test_30_multi': notyetstrong,
2973 'metadata_allowed_values_test_31_multi': notyetstrong,
2974 'metadata_constructor_arguments_test_01_multi': notyetstrong,
2975 'metadata_constructor_arguments_test_02_multi': notyetstrong,
2976 'metadata_constructor_arguments_test_03_multi': notyetstrong,
2977 'metadata_constructor_arguments_test_04_multi': notyetstrong,
2978 'metadata_constructor_arguments_test_05_multi': notyetstrong,
2979 'metadata_constructor_arguments_test_06_multi': notyetstrong,
2980 'metadata_constructor_arguments_test_07_multi': notyetstrong,
2981 'metadata_nested_constructor_call_test_01_multi': notyetstrong,
2982 'metadata_nested_constructor_call_test_02_multi': notyetstrong,
2983 'metadata_nested_constructor_call_test_03_multi': notyetstrong,
2984 'metadata_nested_constructor_call_test_04_multi': notyetstrong,
2985 'metadata_nested_constructor_call_test_05_multi': notyetstrong,
2986 'metadata_nested_constructor_call_test_06_multi': notyetstrong,
2987 'metadata_nested_constructor_call_test_07_multi': notyetstrong,
2988 'metadata_nested_constructor_call_test_08_multi': notyetstrong,
2989 'metadata_nested_constructor_call_test_09_multi': notyetstrong,
2990 'metadata_scope_test_01_multi': notyetstrong,
2991 'method_mirror_name_test': notyetstrong,
2992 'method_mirror_properties_test': notyetstrong,
2993 'mirror_in_static_init_test_01_multi': notyetstrong,
2994 'mirror_in_static_init_test_none_multi': notyetstrong,
2995 'mirrors_nsm_mismatch_test': notyetstrong,
2996 'mirrors_nsm_test_dart2js_multi': notyetstrong,
2997 'mirrors_nsm_test_none_multi': notyetstrong,
2998 'mirrors_test': notyetstrong,
2999 'mirrors_used_get_name2_test': notyetstrong,
3000 'mirrors_used_get_name_test': notyetstrong,
3001 'mirrors_used_inheritance_test': notyetstrong,
3002 'mixin_application_test': notyetstrong,
3003 'mixin_members_test': notyetstrong,
3004 'model_test': notyetstrong,
3005 'native_class_test': notyetstrong,
3006 'no_metadata_test': notyetstrong,
3007 'operator_test': notyetstrong,
3008 'parameter_is_const_test_01_multi': notyetstrong,
3009 'parameter_of_mixin_app_constructor_test': notyetstrong,
3010 'parameter_test_01_multi': notyetstrong,
3011 'parameter_test_none_multi': notyetstrong,
3012 'private_symbol_test': notyetstrong,
3013 'redirecting_factory_different_type_test_01_multi': notyetstrong,
3014 'redirecting_factory_different_type_test_none_multi': notyetstrong,
3015 'redirecting_factory_test_01_multi': notyetstrong,
3016 'redirecting_factory_test_02_multi': notyetstrong,
3017 'redirecting_factory_test_none_multi': notyetstrong,
3018 'reflect_class_test_01_multi': notyetstrong,
3019 'reflect_class_test_02_multi': notyetstrong,
3020 'reflect_model_test': notyetstrong,
3021 'reflected_type_classes_test_01_multi': notyetstrong,
3022 'reflected_type_classes_test_02_multi': notyetstrong,
3023 'reflected_type_classes_test_03_multi': notyetstrong,
3024 'reflected_type_test_01_multi': notyetstrong,
3025 'reflected_type_test_02_multi': notyetstrong,
3026 'reflected_type_test_03_multi': notyetstrong,
3027 'regress_16321_test_01_multi': notyetstrong,
3028 'regress_19731_test': notyetstrong,
3029 'relation_subclass_test': notyetstrong,
3030 'removed_api_test': notyetstrong,
3031 'repeated_private_anon_mixin_app_test': notyetstrong,
3032 'return_type_test': notyetstrong,
3033 'set_field_with_final_inheritance_test': notyetstrong,
3034 'static_members_easier_test': notyetstrong,
3035 'static_members_test': notyetstrong,
3036 'static_test': notyetstrong,
3037 'syntax_error_test_01_multi': notyetstrong,
3038 'synthetic_accessor_properties_test': notyetstrong,
3039 'top_level_accessors_test': notyetstrong,
3040 'type_mirror_for_type_test': notyetstrong,
3041 'typearguments_mirror_test': notyetstrong,
3042 'typedef_in_signature_test': notyetstrong,
3043 'typedef_reflected_type_test_01_multi': notyetstrong,
3044 'typedef_reflected_type_test_none_multi': notyetstrong,
3045 'variable_is_const_test_01_multi': notyetstrong,
3046 },
2737 }; 3047 };
2738 3048
2739 function countMatches(text, regex) { 3049 function countMatches(text, regex) {
2740 let matches = text.match(regex); 3050 let matches = text.match(regex);
2741 return matches ? matches.length : 0; 3051 return matches ? matches.length : 0;
2742 } 3052 }
2743 3053
2744 let unittest_tests = []; 3054 let unittest_tests = [];
2745 3055
2746 let languageTestPattern = new RegExp('(.*)/([^/]*_test[^/]*)'); 3056 let languageTestPattern = new RegExp('(.*)/([^/]*_test[^/]*)');
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
2882 3192
2883 for (let action of unittest_tests) { 3193 for (let action of unittest_tests) {
2884 try { 3194 try {
2885 action(); 3195 action();
2886 } catch (e) { 3196 } catch (e) {
2887 console.error("Caught error tying to setup test:", e); 3197 console.error("Caught error tying to setup test:", e);
2888 } 3198 }
2889 } 3199 }
2890 }); 3200 });
2891 })(); 3201 })();
OLDNEW
« no previous file with comments | « karma.conf.js ('k') | test/codegen_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698