| # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| # for details. All rights reserved. Use of this source code is governed by a |
| # BSD-style license that can be found in the LICENSE file. |
| |
| [ $compiler == dart2analyzer ] |
| # Runtime negative test. No static errors or warnings. |
| closure_call_wrong_argument_count_negative_test: skip |
| |
| # Test issue 12694 (was analyzer issue), (1) when "abstract" is import prefix using it as type is warning; (2) currently analyzer resolves prefix as field (don't ask) |
| built_in_identifier_prefix_test: CompileTimeError # Issue 12694 |
| |
| # Issue 15315 |
| class_literal_test/01: CompileTimeError |
| class_literal_test/03: CompileTimeError |
| class_literal_test/07: CompileTimeError |
| constructor_call_as_function_test/01: fail |
| call_type_literal_test/01: fail |
| |
| # TBF: we should check conflicts not only for methods, but for accessors too |
| override_field_test/03: fail |
| method_override7_test/03: Fail # Issue 11496 |
| |
| #unicode_bom_test: Fail # Issue 16314 |
| |
| type_check_const_function_typedef2_test/00: MissingCompileTimeError, Ok # Compile-time error in checked mode, because of constants. |
| |
| const_map2_test/00: MissingCompileTimeError # Issue 17209 |
| switch_case_test/none: CompileTimeError # Issue 17209 |
| |
| call_closurization_test: StaticWarning # Issue 17476 |
| |
| # Please add new failing tests before this line. |
| # Section below is for invalid tests. |
| # |
| # |
| |
| ref_before_declaration_test/none: fail # test issue 14879, "P" is not defined |
| bad_initializer2_negative_test: fail # tester issue 14880, Analyzer reports compile-time error, but test runner is not satisfied |
| |
| # test issue 11124, It is warning, not error to don't initialize final field |
| field3a_negative_test: Fail # Issue 11124 |
| final_syntax_test/01: Fail # Issue 11124 |
| final_syntax_test/04: Fail # Issue 11124 |
| final_syntax_test/02: Fail # Issue 11124 |
| final_syntax_test/03: Fail # Issue 11124 |
| |
| # Test issue 11545, using not existing constructor name in annotation |
| metadata_test: fail |
| |
| # test issue 11575, classes with abstrac members are not marked as abstract |
| get_set_syntax_test/none: fail # Issue 11575 |
| implicit_this_test/none: fail # Issue 11575 |
| interface_test/none: fail # Issue 11575 |
| syntax_test/none: fail # Issue 11575 |
| |
| # test issue 11576 |
| bad_constructor_test/none: fail # Issue 11576 |
| |
| # test issue 11577, has return type for []= |
| cascade_test/none: fail # Issue 11577 |
| |
| # test issue 11578, redirecting factory with not subtype |
| factory5_test/none: fail # Issue 11578 |
| type_variable_bounds_test/none: fail # Issue 11578 |
| type_variable_scope_test/none: fail # Issue 11578 |
| factory_implementation_test/none: fail # Issue 11578 |
| malbounded_redirecting_factory_test/none: fail # Issue 11578 |
| malbounded_redirecting_factory2_test/none: fail # Issue 11578 |
| |
| # test issue 11579, assignment, no setter |
| getter_no_setter_test/none: fail |
| |
| # test issue 11584, positional arguments cannot be used for named parameters |
| compile_time_constant_e_test: fail |
| |
| # test issue 11585, static warning, not negative test |
| constructor3_negative_test: fail |
| constructor_call_wrong_argument_count_negative_test: fail |
| instance_call_wrong_argument_count_negative_test: fail |
| |
| # test issue 11590, runtime only negative test |
| field_method4_negative_test: fail |
| |
| # test issue 11594, Reference to a not resolve identifier is static warning |
| import_combinators_negative_test: fail |
| interface_static_non_final_fields_negative_test: fail |
| |
| # test issue 11918: mixin and const constructor |
| const_constructor_mixin_test/01: fail |
| const_constructor_mixin3_test/01: fail |
| |
| # test issue 11962, it is warning, not error to reference undeclared identifier |
| prefix1_negative_test: fail |
| prefix2_negative_test: fail |
| prefix4_negative_test: fail |
| prefix5_negative_test: fail |
| prefix12_negative_test: fail |
| |
| # test issue 11964, Any use of a malformed type gives rise to a static warning. |
| prefix8_negative_test: fail |
| prefix11_negative_test: fail |
| |
| # test issue 12156, fails only at runtime |
| static_call_wrong_argument_count_negative_test: fail |
| |
| # test issue 12160, not annotated warnings for type variables from static member |
| type_parameter_test/none: fail |
| # test issue 12161, type variable in static, malformed type, static warning |
| type_variable_static_context_negative_test: fail |
| |
| # test issue 12163, unresolved identifier is static warning in static context |
| unresolved_in_factory_negative_test: fail # Issue 12163 |
| unresolved_top_level_var_negative_test: fail # Issue 12163 |
| |
| # test issue 12191, ambiguous import is always warning now |
| prefix3_negative_test: fail # Issue 12191 |
| |
| # test issue 12289, assignment in assert statement |
| type_error_test: fail # Issue 12289 |
| |
| # test issue 12381, It is compile-time error to invoke not existing function |
| issue11724_test: fail # Issue 12381 |
| call_nonexistent_static_test/08: fail # Issue 12381 |
| |
| # test issue 12539, rules for finals were loosened, contradiction in spec was fixed |
| const_syntax_test/09: fail # Issue 12539 |
| |
| # test issue 12541; there shouldn't be a static warning |
| static_field_test/01: fail # Issue 12541 |
| static_field_test/02: fail # Issue 12541 |
| static_field_test/03: fail # Issue 12541 |
| static_field_test/04: fail # Issue 12541 |
| |
| # test issue 13916, Looks as no warning should be in this redirecting factory |
| redirecting_factory_infinite_steps_test/01: fail |
| |
| # test issue 14471, has (legitimate) static warning; but not annotated |
| redirecting_factory_default_values_test/none: StaticWarning # Test issue 14471; has (legitimate) static warning; but not annotated |
| |
| # test issue 13956, It is a static type warning if any of the type arguments to k' are not subtypes of the bounds of the corresponding formal type parameters of type. |
| default_factory2_test/none: fail |
| |
| # test issue 14021, it is warning, not an error to reference private (undefined) identifier |
| private_member1_negative_test: fail |
| private_member2_negative_test: fail |
| private_member3_negative_test: fail |
| |
| # test issue 14079 |
| malformed_test/none: fail # test issue 14079, legit warnings for malformed type |
| malformed_test/05: fail # test issue 14079, it is not error, but warning to instantiate malformed type |
| malformed_test/06: fail # test issue 14079, it is not error, but warning to use malformed type in "try-on" clause |
| |
| # test issue 14228 |
| black_listed_test/none: fail # test issue 14228, warnings are required but not expected |
| |
| # test issue 14410, "typedef C = " is now really illegal syntax |
| mixin_illegal_syntax_test/none: fail |
| |
| # test issue 14736, It is a static warning if a class C declares an instance method named n and has a setter named n=. |
| setter4_test: StaticWarning |
| |
| # test issue 15060 |
| least_upper_bound_test/23: StaticWarning # Issue 15060 |
| least_upper_bound_test/24: StaticWarning # Issue 15060 |
| least_upper_bound_test/25: MissingStaticWarning # Issue 15060 |
| least_upper_bound_test/26: MissingStaticWarning # Issue 15060 |
| least_upper_bound_test/29: StaticWarning # Issue 15060 |
| least_upper_bound_test/30: StaticWarning # Issue 15060 |
| least_upper_bound_test/31: MissingStaticWarning # Issue 15060 |
| least_upper_bound_expansive_test/02: MissingStaticWarning # Issue 15060 |
| least_upper_bound_expansive_test/04: MissingStaticWarning # Issue 15060 |
| least_upper_bound_expansive_test/05: MissingStaticWarning # Issue 15060 |
| least_upper_bound_expansive_test/06: MissingStaticWarning # Issue 15060 |
| least_upper_bound_expansive_test/08: MissingStaticWarning # Issue 15060 |
| least_upper_bound_expansive_test/10: MissingStaticWarning # Issue 15060 |
| least_upper_bound_expansive_test/11: MissingStaticWarning # Issue 15060 |
| least_upper_bound_expansive_test/12: MissingStaticWarning # Issue 15060 |
| |
| # test issue 15467 |
| proxy_test/05: StaticWarning # Issue 15467 |
| proxy_test/06: StaticWarning # Issue 15467 |
| |
| # analyzer does not handle @proxy and noSuchMethod correctly |
| override_inheritance_no_such_method_test/03: StaticWarning # Issue 16132 |
| override_inheritance_no_such_method_test/04: StaticWarning # Issue 16132 |
| override_inheritance_no_such_method_test/05: StaticWarning # Issue 16132 |
| |
| # missing warning for unimplemented getter/setter |
| override_inheritance_abstract_test/13: MissingStaticWarning # Issue 16133 |
| override_inheritance_abstract_test/26: MissingStaticWarning # Issue 16133 |
| |
| # unexpected warning for override |
| override_inheritance_abstract_test/27: StaticWarning # Issue 16134 |
| override_inheritance_generic_test/03: StaticWarning # Issue 16134 |
| |
| # missing warning for override |
| override_inheritance_generic_test/04: MissingStaticWarning # Issue 16135 |
| override_inheritance_generic_test/06: MissingStaticWarning # Issue 16135 |
| override_inheritance_generic_test/07: MissingStaticWarning # Issue 16135 |
| override_inheritance_generic_test/09: MissingStaticWarning # Issue 16135 |
| |
| # missing compile-time error for getter/member override |
| override_inheritance_mixed_test/08: MissingCompileTimeError # Issue 16136 |
| override_inheritance_mixed_test/09: MissingCompileTimeError # Issue 16136 |
| |
| # flaky override tests |
| override_inheritance_field_test/33: MissingStaticWarning, Pass # Issue 16498 |
| override_inheritance_field_test/33a: MissingStaticWarning, Pass # Issue 16498 |
| override_inheritance_generic_test/09: MissingStaticWarning, Pass # Issue 16498 |
| |
| # missing warning for assignment to method |
| assign_top_method_test/01: MissingStaticWarning # Issue 16672 |
| |
| # missing warning for assignment to type variable |
| checked_setter3_test/01: MissingStaticWarning # Issue 16673 |
| checked_setter3_test/02: MissingStaticWarning # Issue 16673 |
| |
| abstract_object_method_test: StaticWarning |
| application_negative_test: CompileTimeError |
| bad_constructor_test/05: CompileTimeError |
| bad_initializer1_negative_test: CompileTimeError |
| bad_named_constructor_negative_test: CompileTimeError |
| body_less_constructor_wrong_arg_negative_test: CompileTimeError |
| compile_time_constant_checked2_test/02: MissingCompileTimeError |
| compile_time_constant_checked2_test/03: MissingCompileTimeError |
| compile_time_constant_checked2_test/04: MissingCompileTimeError |
| compile_time_constant_checked2_test/06: MissingCompileTimeError |
| compile_time_constant_checked3_test/02: MissingCompileTimeError |
| compile_time_constant_checked3_test/03: MissingCompileTimeError |
| compile_time_constant_checked3_test/04: MissingCompileTimeError |
| compile_time_constant_checked3_test/06: MissingCompileTimeError |
| compile_time_constant_checked_test/02: MissingCompileTimeError |
| const_counter_negative_test: CompileTimeError |
| const_optional_args_negative_test: CompileTimeError |
| constructor_redirect1_negative_test: CompileTimeError |
| constructor_redirect2_negative_test: CompileTimeError |
| constructor_setter_negative_test: CompileTimeError |
| duplicate_export_negative_test: CompileTimeError |
| duplicate_interface_negative_test: CompileTimeError |
| empty_block_case_test: StaticWarning |
| error_stacktrace_test: StaticWarning |
| export_ambiguous_main_negative_test: CompileTimeError |
| extend_type_parameter2_negative_test: CompileTimeError |
| extend_type_parameter_negative_test: CompileTimeError |
| external_test/20: StaticWarning |
| factory2_negative_test: CompileTimeError |
| factory2_test: StaticWarning |
| factory3_negative_test: CompileTimeError |
| factory3_test: StaticWarning |
| factory4_test: StaticWarning |
| factory_implementation_test/00: StaticWarning |
| factory_negative_test: CompileTimeError |
| factory_redirection_test/01: StaticWarning |
| factory_redirection_test/03: StaticWarning |
| factory_redirection_test/05: StaticWarning |
| factory_redirection_test/06: StaticWarning |
| factory_return_type_checked_test: StaticWarning |
| f_bounded_quantification4_test: StaticWarning |
| f_bounded_quantification5_test: StaticWarning |
| field1_negative_test: CompileTimeError |
| field2_negative_test: CompileTimeError |
| field3_negative_test: CompileTimeError |
| field4_negative_test: CompileTimeError |
| field5_negative_test: CompileTimeError |
| field6a_negative_test: CompileTimeError |
| field6_negative_test: CompileTimeError |
| first_class_types_literals_test: StaticWarning |
| function_malformed_result_type_test: StaticWarning |
| function_subtype_bound_closure7_test: StaticWarning |
| function_subtype_checked0_test: StaticWarning |
| function_subtype_closure0_test: StaticWarning |
| function_subtype_closure1_test: StaticWarning |
| function_subtype_factory1_test: StaticWarning |
| function_subtype_inline1_test: StaticWarning |
| function_type2_test: StaticWarning |
| function_type_parameter2_negative_test: CompileTimeError |
| function_type_parameter_negative_test: CompileTimeError |
| generic_list_checked_test: StaticWarning |
| generics_test: StaticWarning |
| generic_test: StaticWarning |
| getter_declaration_negative_test: CompileTimeError |
| getter_no_setter2_test/01: StaticWarning |
| getter_no_setter_test/01: StaticWarning |
| illegal_invocation_test/01: CompileTimeError |
| implicit_this_test/02: StaticWarning |
| implied_interface_test: StaticWarning |
| import_combinators_test: StaticWarning |
| import_core_prefix_test: StaticWarning |
| inferrer_this_access_test: StaticWarning |
| inlined_throw_test: StaticWarning |
| instance_method2_negative_test: CompileTimeError |
| instance_method_negative_test: CompileTimeError |
| instanceof3_test: StaticWarning |
| instantiate_type_variable_test/01: StaticWarning |
| inst_field_initializer1_negative_test: CompileTimeError |
| interceptor6_test: StaticWarning |
| interface2_negative_test: CompileTimeError |
| interface_inherit_field_test: StaticWarning |
| interface_injection1_negative_test: CompileTimeError |
| interface_injection2_negative_test: CompileTimeError |
| interface_static_method_negative_test: CompileTimeError |
| invocation_mirror_test: StaticWarning |
| is_not_class1_negative_test: CompileTimeError |
| is_not_class2_test: StaticWarning |
| is_not_class4_negative_test: CompileTimeError |
| isnot_malformed_type_test: StaticWarning |
| issue1363_test: StaticWarning |
| issue1578_negative_test: CompileTimeError |
| label2_negative_test: CompileTimeError |
| label3_negative_test: CompileTimeError |
| label5_negative_test: CompileTimeError |
| label6_negative_test: CompileTimeError |
| label8_negative_test: CompileTimeError |
| label_test: StaticWarning |
| library_ambiguous_test/00: StaticWarning |
| library_ambiguous_test/01: CompileTimeError |
| library_ambiguous_test/02: CompileTimeError |
| library_ambiguous_test/03: CompileTimeError |
| library_negative_test: CompileTimeError |
| list_literal2_negative_test: CompileTimeError |
| list_literal4_test: StaticWarning |
| list_literal_negative_test: CompileTimeError |
| list_test: StaticWarning |
| malbounded_type_cast_test: StaticWarning |
| malbounded_type_literal_test: StaticWarning |
| malformed_type_test: StaticWarning |
| malformed2_test/01: MissingCompileTimeError |
| map_literal2_negative_test: CompileTimeError |
| map_literal3_test: StaticWarning |
| map_literal4_test: StaticWarning |
| map_literal6_test: StaticWarning |
| map_literal8_test: StaticWarning |
| map_literal_negative_test: CompileTimeError |
| method_override4_test: StaticWarning |
| method_override5_test: StaticWarning |
| method_override6_test: StaticWarning |
| method_override_test: StaticWarning |
| mixin_illegal_static_access_test: StaticWarning |
| mixin_illegal_syntax_test/13: CompileTimeError |
| mixin_type_parameters_mixin_extends_test: StaticWarning |
| mixin_type_parameters_mixin_test: StaticWarning |
| mixin_type_parameters_super_extends_test: StaticWarning |
| mixin_type_parameters_super_test: StaticWarning |
| mixin_with_two_implicit_constructors_test: StaticWarning |
| mixin_invalid_bound_test/none: StaticWarning # legitimate StaticWarning, cannot be annotated |
| mixin_invalid_bound2_test/none: StaticWarning # legitimate StaticWarning, cannot be annotated |
| named_constructor_test/01: StaticWarning |
| named_constructor_test/03: StaticWarning |
| named_parameters2_test: StaticWarning |
| named_parameters3_test: StaticWarning |
| named_parameters4_test: StaticWarning |
| named_parameters_test/01: StaticWarning |
| named_parameters_test/02: StaticWarning |
| named_parameters_test/03: StaticWarning |
| named_parameters_test/04: StaticWarning |
| named_parameters_test/05: StaticWarning |
| named_parameters_test/06: StaticWarning |
| named_parameters_test/07: StaticWarning |
| named_parameters_test/08: StaticWarning |
| named_parameters_test/09: StaticWarning |
| named_parameters_test/10: StaticWarning |
| named_parameters_type_test/01: StaticWarning |
| new_expression1_negative_test: CompileTimeError |
| new_expression2_negative_test: CompileTimeError |
| new_expression3_negative_test: CompileTimeError |
| non_const_super_negative_test: CompileTimeError |
| non_parameterized_factory2_test: StaticWarning |
| non_parameterized_factory_test: StaticWarning |
| no_such_constructor2_test: StaticWarning |
| no_such_method2_test: StaticWarning |
| no_such_method_dispatcher_test: StaticWarning |
| not_enough_positional_arguments_test/00: StaticWarning |
| not_enough_positional_arguments_test/01: CompileTimeError |
| not_enough_positional_arguments_test/02: StaticWarning |
| not_enough_positional_arguments_test/03: StaticWarning |
| not_enough_positional_arguments_test/05: StaticWarning |
| not_enough_positional_arguments_test/06: StaticWarning |
| not_enough_positional_arguments_test/07: StaticWarning |
| number_identifier_test/08: StaticWarning |
| number_identifier_test/09: StaticWarning |
| on_catch_malformed_type_test: StaticWarning |
| operator1_negative_test: CompileTimeError |
| operator2_negative_test: CompileTimeError |
| operator_equals_test: StaticWarning |
| optional_named_parameters_test/01: StaticWarning |
| optional_named_parameters_test/02: StaticWarning |
| optional_named_parameters_test/03: StaticWarning |
| optional_named_parameters_test/04: StaticWarning |
| optional_named_parameters_test/05: StaticWarning |
| optional_named_parameters_test/06: StaticWarning |
| optional_named_parameters_test/07: StaticWarning |
| optional_named_parameters_test/08: StaticWarning |
| optional_named_parameters_test/09: StaticWarning |
| override_field_method1_negative_test: CompileTimeError |
| override_field_method2_negative_test: CompileTimeError |
| override_field_method4_negative_test: CompileTimeError |
| override_field_method5_negative_test: CompileTimeError |
| parameter_initializer1_negative_test: CompileTimeError |
| parameter_initializer2_negative_test: CompileTimeError |
| parameter_initializer3_negative_test: CompileTimeError |
| parameter_initializer4_negative_test: CompileTimeError |
| parameter_initializer5_negative_test: CompileTimeError |
| parameter_initializer6_negative_test: CompileTimeError |
| parser_quirks_test: StaticWarning |
| part2_test: StaticWarning |
| positional_parameters_type_test/01: StaticWarning |
| prefix13_negative_test: CompileTimeError |
| prefix14_test: StaticWarning |
| prefix15_negative_test: CompileTimeError |
| prefix15_test: StaticWarning |
| prefix16_test: StaticWarning |
| prefix17_test: StaticWarning |
| prefix18_negative_test: CompileTimeError |
| prefix22_test: StaticWarning |
| prefix23_test: StaticWarning |
| prefix7_negative_test: CompileTimeError |
| property_field_override_test: StaticWarning |
| redirecting_factory_incompatible_signature_test: StaticWarning |
| regress_13494_test: StaticWarning |
| return_type_test: StaticWarning |
| script1_negative_test: CompileTimeError |
| script2_negative_test: CompileTimeError |
| setter_declaration2_negative_test: CompileTimeError |
| setter_declaration_negative_test: CompileTimeError |
| setter_no_getter_call_test/01: CompileTimeError |
| source_self_negative_test: CompileTimeError |
| static_initializer_type_error_test: StaticWarning |
| string_escape4_negative_test: CompileTimeError |
| string_interpolate1_negative_test: CompileTimeError |
| string_interpolate2_negative_test: CompileTimeError |
| string_interpolate_test: StaticWarning |
| string_interpolation1_negative_test: CompileTimeError |
| string_interpolation2_negative_test: CompileTimeError |
| string_interpolation3_negative_test: CompileTimeError |
| string_interpolation4_negative_test: CompileTimeError |
| string_interpolation5_negative_test: CompileTimeError |
| string_interpolation6_negative_test: CompileTimeError |
| string_test: StaticWarning |
| string_unicode1_negative_test: CompileTimeError |
| string_unicode2_negative_test: CompileTimeError |
| string_unicode3_negative_test: CompileTimeError |
| string_unicode4_negative_test: CompileTimeError |
| super_assign_test: StaticWarning |
| super_call4_test: StaticWarning |
| super_getter_setter_test: StaticWarning |
| super_operator_index5_test: StaticWarning |
| super_operator_index6_test: StaticWarning |
| super_operator_index7_test: StaticWarning |
| super_operator_index8_test: StaticWarning |
| super_operator_test: StaticWarning |
| super_setter_test: StaticWarning |
| switch1_negative_test: CompileTimeError |
| switch3_negative_test: CompileTimeError |
| switch4_negative_test: CompileTimeError |
| switch5_negative_test: CompileTimeError |
| switch6_test: StaticWarning |
| switch7_negative_test: CompileTimeError |
| switch_fallthru_test: StaticWarning |
| test_negative_test: CompileTimeError |
| top_level_non_prefixed_library_test: StaticWarning |
| try_catch4_test: StaticWarning |
| try_catch5_test: StaticWarning |
| type_argument_in_super_type_test: StaticWarning |
| typed_selector2_test: StaticWarning |
| type_variable_identifier_expression_test: StaticWarning |
| type_variable_scope2_test: StaticWarning |
| type_variable_conflict2_test/02: MissingCompileTimeError |
| type_variable_conflict2_test/06: MissingCompileTimeError |
| type_variable_conflict2_test/08: MissingCompileTimeError |
| type_variable_conflict2_test/10: MissingCompileTimeError |
| unary_plus_negative_test: CompileTimeError |
| unbound_getter_test: StaticWarning |
| unhandled_exception_negative_test: CompileTimeError |
| unresolved_top_level_method_negative_test: CompileTimeError |
| vm/type_cast_vm_test: StaticWarning |
| vm/type_vm_test: StaticWarning |
| void_type_test: StaticWarning |
| # Issue 17522 |
| deferred_constraints_type_annotation_test/*: Pass, Fail |
| deferred_constraints_constants_test/*: Pass, Fail |
| deferred_constraints_type_annotation_old_syntax_test/*: Pass, Fail |
| deferred_constraints_constants_old_syntax_test/*: Pass, Fail |
| deferred_shadow_load_library_test: Fail |
| deferred_closurize_load_library_test: Fail |
| deferred_load_library_wrong_args_test/01: Fail |
| deferred_load_library_wrong_args_test/none: Fail |