| OLD | NEW |
| 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2012, 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 [ $compiler == dart2analyzer ] | 5 [ $compiler == dartanalyzer ] |
| 6 # Runtime negative test. No static errors or warnings. | 6 # Runtime negative test. No static errors or warnings. |
| 7 closure_call_wrong_argument_count_negative_test: skip | 7 closure_call_wrong_argument_count_negative_test: skip |
| 8 | 8 |
| 9 # TBD: using built-in identifers | 9 # Test issue 12694 (was analyzer issue), (1) when "abstract" is import prefix us
ing it as type is warning; (2) currently analyzer resolves prefix as field (don'
t ask) |
| 10 built_in_identifier_prefix_test: fail # Issue 12694 | 10 built_in_identifier_prefix_test: CompileTimeError # Issue 12694 |
| 11 | 11 |
| 12 # TBD: these look like bad tests, no issue number | 12 # TBD: these look like bad tests, no issue number |
| 13 class_literal_test: fail | 13 class_literal_test: fail |
| 14 constructor_call_as_function_test/01: fail | 14 constructor_call_as_function_test/01: fail |
| 15 | 15 |
| 16 function_type_alias9_test/00: crash # Issue 11987 | 16 function_type_alias9_test/00: crash # Issue 11987 |
| 17 | 17 |
| 18 # TBF: we should check conflicts not only for methods, but for accessors too | 18 # TBF: we should check conflicts not only for methods, but for accessors too |
| 19 override_field_test/02: fail | |
| 20 override_field_test/03: fail | 19 override_field_test/03: fail |
| 21 method_override7_test/03: Fail # Issue 11496 | 20 method_override7_test/03: Fail # Issue 11496 |
| 22 method_override8_test/03: Fail # Issue 11496 | |
| 23 | |
| 24 built_in_identifier_test/none: Fail # Issue 13023 | |
| 25 | |
| 26 export_double_same_main_test: Fail # Issue 14772 | |
| 27 | 21 |
| 28 # Please add new failing tests before this line. | 22 # Please add new failing tests before this line. |
| 29 # Section below is for invalid tests. | 23 # Section below is for invalid tests. |
| 30 # | 24 # |
| 31 # | 25 # |
| 32 | 26 |
| 27 ref_before_declaration_test/none: fail # test issue 14879, "P" is not defined |
| 28 bad_initializer2_negative_test: fail # tester issue 14880, Analyzer reports comp
ile-time error, but test runner is not satisfied |
| 33 | 29 |
| 34 # test issue 11124, It is warning, not error to don't initialize final field | 30 # test issue 11124, It is warning, not error to don't initialize final field |
| 35 field3a_negative_test: Fail # Issue 11124 | 31 field3a_negative_test: Fail # Issue 11124 |
| 36 final_syntax_test/01: Fail # Issue 11124 | 32 final_syntax_test/01: Fail # Issue 11124 |
| 37 final_syntax_test/04: Fail # Issue 11124 | 33 final_syntax_test/04: Fail # Issue 11124 |
| 38 final_syntax_test/02: Fail # Issue 11124 | 34 final_syntax_test/02: Fail # Issue 11124 |
| 39 final_syntax_test/03: Fail # Issue 11124 | 35 final_syntax_test/03: Fail # Issue 11124 |
| 40 | 36 |
| 41 # Test issue 11545, using not existing constructor name in annotation | 37 # Test issue 11545, using not existing constructor name in annotation |
| 42 metadata_test: fail | 38 metadata_test: fail |
| (...skipping 21 matching lines...) Expand all Loading... |
| 64 getter_no_setter_test/none: fail | 60 getter_no_setter_test/none: fail |
| 65 | 61 |
| 66 # test issue 11584, positional arguments cannot be used for named parameters | 62 # test issue 11584, positional arguments cannot be used for named parameters |
| 67 compile_time_constant_e_test: fail | 63 compile_time_constant_e_test: fail |
| 68 | 64 |
| 69 # test issue 11585, static warning, not negative test | 65 # test issue 11585, static warning, not negative test |
| 70 constructor3_negative_test: fail | 66 constructor3_negative_test: fail |
| 71 constructor_call_wrong_argument_count_negative_test: fail | 67 constructor_call_wrong_argument_count_negative_test: fail |
| 72 instance_call_wrong_argument_count_negative_test: fail | 68 instance_call_wrong_argument_count_negative_test: fail |
| 73 | 69 |
| 74 # test issue 11589, export D from 2 export directives | |
| 75 export_cyclic_test: fail | |
| 76 | |
| 77 # test issue 11590, runtime only negative test | 70 # test issue 11590, runtime only negative test |
| 78 field_method4_negative_test: fail | 71 field_method4_negative_test: fail |
| 79 | 72 |
| 80 # test issue 11592, Function type alias (typedef) is not a constant | |
| 81 first_class_types_constants_test: fail | |
| 82 | |
| 83 # test issue 11594, Reference to a not resolve identifier is static warning | 73 # test issue 11594, Reference to a not resolve identifier is static warning |
| 84 import_combinators_negative_test: fail | 74 import_combinators_negative_test: fail |
| 85 interface_static_non_final_fields_negative_test: fail | 75 interface_static_non_final_fields_negative_test: fail |
| 86 | 76 |
| 87 # test issue 11918: mixin and const constructor | 77 # test issue 11918: mixin and const constructor |
| 88 const_constructor_mixin_test/01: fail | 78 const_constructor_mixin_test/01: fail |
| 89 const_constructor_mixin3_test/01: fail | 79 const_constructor_mixin3_test/01: fail |
| 90 | 80 |
| 91 # test issue 11962, it is warning, not error to reference undeclared identifier | 81 # test issue 11962, it is warning, not error to reference undeclared identifier |
| 92 prefix1_negative_test: fail | 82 prefix1_negative_test: fail |
| (...skipping 30 matching lines...) Expand all Loading... |
| 123 | 113 |
| 124 # test issue 12539, rules for finals were loosened, contradiction in spec was fi
xed | 114 # test issue 12539, rules for finals were loosened, contradiction in spec was fi
xed |
| 125 const_syntax_test/09: fail # Issue 12539 | 115 const_syntax_test/09: fail # Issue 12539 |
| 126 | 116 |
| 127 # test issue 12541; there shouldn't be a static warning | 117 # test issue 12541; there shouldn't be a static warning |
| 128 static_field_test/01: fail # Issue 12541 | 118 static_field_test/01: fail # Issue 12541 |
| 129 static_field_test/02: fail # Issue 12541 | 119 static_field_test/02: fail # Issue 12541 |
| 130 static_field_test/03: fail # Issue 12541 | 120 static_field_test/03: fail # Issue 12541 |
| 131 static_field_test/04: fail # Issue 12541 | 121 static_field_test/04: fail # Issue 12541 |
| 132 | 122 |
| 133 # test issue 13787; duplicate exports of the same declaration is not handled | |
| 134 duplicate_export_test: fail # Issue 13787 | |
| 135 | |
| 136 # test issue 13916, Looks as no warning should be in this redirecting factory | 123 # test issue 13916, Looks as no warning should be in this redirecting factory |
| 137 redirecting_factory_infinite_steps_test/01: fail | 124 redirecting_factory_infinite_steps_test/01: fail |
| 138 | 125 |
| 139 # test issue , disallow default values in redirecting factories | 126 # test issue 14471, has (legitimate) static warning; but not annotated |
| 140 redirecting_factory_default_values_test/none: fail # Issue 14471 | 127 redirecting_factory_default_values_test/none: StaticWarning # Test issue 14471;
has (legitimate) static warning; but not annotated |
| 141 | 128 |
| 142 # 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. | 129 # 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. |
| 143 default_factory2_test/none: fail | 130 default_factory2_test/none: fail |
| 144 | 131 |
| 145 # test issue 14021, it is warning, not an error to reference private (undefined)
identifier | 132 # test issue 14021, it is warning, not an error to reference private (undefined)
identifier |
| 146 private_member1_negative_test: fail | 133 private_member1_negative_test: fail |
| 147 private_member2_negative_test: fail | 134 private_member2_negative_test: fail |
| 148 private_member3_negative_test: fail | 135 private_member3_negative_test: fail |
| 149 | 136 |
| 150 # test issue 14079 | 137 # test issue 14079 |
| 151 malformed_test/none: fail # test issue 14079, legit warnings for malformed type | 138 malformed_test/none: fail # test issue 14079, legit warnings for malformed type |
| 152 malformed_test/05: fail # test issue 14079, it is not error, but warning to inst
antiate malformed type | 139 malformed_test/05: fail # test issue 14079, it is not error, but warning to inst
antiate malformed type |
| 153 malformed_test/06: fail # test issue 14079, it is not error, but warning to use
malformed type in "try-on" clause | 140 malformed_test/06: fail # test issue 14079, it is not error, but warning to use
malformed type in "try-on" clause |
| 154 | 141 |
| 155 # test issue 14228 | 142 # test issue 14228 |
| 156 black_listed_test/none: fail # test issue 14228, warnings are required but not e
xpected | 143 black_listed_test/none: fail # test issue 14228, warnings are required but not e
xpected |
| 157 | 144 |
| 158 # test issue 14363, "if ((a is B))" has the same effect as "if (a is B)", so no
static warning expected | 145 # test issue 14363, "if ((a is B))" has the same effect as "if (a is B)", so no
static warning expected |
| 159 type_promotion_parameter_test/53: Fail | 146 type_promotion_parameter_test/53: Fail |
| 160 | 147 |
| 161 # test issue 14410, "typedef C = " is now really illegal syntax | 148 # test issue 14410, "typedef C = " is now really illegal syntax |
| 162 mixin_illegal_syntax_test/none: fail | 149 mixin_illegal_syntax_test/none: fail |
| 163 | 150 |
| 151 # test issue 14736, It is a static warning if a class C declares an instance met
hod named n and has a setter named n=. |
| 152 setter4_test: StaticWarning |
| 153 |
| 154 |
| 155 |
| 164 | 156 |
| 165 abstract_exact_selector_test: StaticWarning | 157 abstract_exact_selector_test: StaticWarning |
| 166 abstract_getter_test: StaticWarning | 158 abstract_getter_test: StaticWarning |
| 167 abstract_object_method_test: StaticWarning | 159 abstract_object_method_test: StaticWarning |
| 168 abstract_runtime_error_test: StaticWarning | 160 abstract_runtime_error_test: StaticWarning |
| 169 application_negative_test: CompileTimeError | 161 application_negative_test: CompileTimeError |
| 170 bad_constructor_test/05: CompileTimeError | 162 bad_constructor_test/05: CompileTimeError |
| 171 bad_initializer1_negative_test: CompileTimeError | 163 bad_initializer1_negative_test: CompileTimeError |
| 172 bad_named_constructor_negative_test: CompileTimeError | 164 bad_named_constructor_negative_test: CompileTimeError |
| 173 bad_named_parameters2_test: StaticWarning | 165 bad_named_parameters2_test: StaticWarning |
| 174 bad_named_parameters_test: StaticWarning | 166 bad_named_parameters_test: StaticWarning |
| 175 bit_operations_test: StaticWarning | 167 bit_operations_test: StaticWarning |
| 176 body_less_constructor_wrong_arg_negative_test: CompileTimeError | 168 body_less_constructor_wrong_arg_negative_test: CompileTimeError |
| 177 built_in_identifier_test/01: CompileTimeError | |
| 178 call_constructor_on_unresolvable_class_test/04: StaticWarning | 169 call_constructor_on_unresolvable_class_test/04: StaticWarning |
| 179 call_constructor_on_unresolvable_class_test/05: StaticWarning | 170 call_constructor_on_unresolvable_class_test/05: StaticWarning |
| 180 call_constructor_on_unresolvable_class_test/06: StaticWarning | 171 call_constructor_on_unresolvable_class_test/06: StaticWarning |
| 181 call_nonexistent_constructor_test: StaticWarning | 172 call_nonexistent_constructor_test: StaticWarning |
| 182 checked_null_test: StaticWarning | 173 checked_null_test: StaticWarning |
| 183 checked_setter2_test: StaticWarning | 174 checked_setter2_test: StaticWarning |
| 184 checked_setter_test: StaticWarning | 175 checked_setter_test: StaticWarning |
| 185 closure_type_test: StaticWarning | 176 closure_type_test: StaticWarning |
| 186 compile_time_constant_checked2_test/02: MissingCompileTimeError | 177 compile_time_constant_checked2_test/02: MissingCompileTimeError |
| 187 compile_time_constant_checked2_test/03: MissingCompileTimeError | 178 compile_time_constant_checked2_test/03: MissingCompileTimeError |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 map_literal2_negative_test: CompileTimeError | 296 map_literal2_negative_test: CompileTimeError |
| 306 map_literal3_test: StaticWarning | 297 map_literal3_test: StaticWarning |
| 307 map_literal4_test: StaticWarning | 298 map_literal4_test: StaticWarning |
| 308 map_literal6_test: StaticWarning | 299 map_literal6_test: StaticWarning |
| 309 map_literal8_test: StaticWarning | 300 map_literal8_test: StaticWarning |
| 310 map_literal_negative_test: CompileTimeError | 301 map_literal_negative_test: CompileTimeError |
| 311 method_override4_test: StaticWarning | 302 method_override4_test: StaticWarning |
| 312 method_override5_test: StaticWarning | 303 method_override5_test: StaticWarning |
| 313 method_override6_test: StaticWarning | 304 method_override6_test: StaticWarning |
| 314 method_override_test: StaticWarning | 305 method_override_test: StaticWarning |
| 306 mixin_illegal_static_access_test: StaticWarning |
| 315 mixin_illegal_syntax_test/13: CompileTimeError | 307 mixin_illegal_syntax_test/13: CompileTimeError |
| 316 mixin_typedef_constructor_test: StaticWarning | 308 mixin_typedef_constructor_test: StaticWarning |
| 317 mixin_type_parameter2_test: StaticWarning | 309 mixin_type_parameter2_test: StaticWarning |
| 318 mixin_type_parameters_mixin_extends_test: StaticWarning | 310 mixin_type_parameters_mixin_extends_test: StaticWarning |
| 319 mixin_type_parameters_mixin_test: StaticWarning | 311 mixin_type_parameters_mixin_test: StaticWarning |
| 320 mixin_type_parameters_super_extends_test: StaticWarning | 312 mixin_type_parameters_super_extends_test: StaticWarning |
| 321 mixin_type_parameters_super_test: StaticWarning | 313 mixin_type_parameters_super_test: StaticWarning |
| 322 mixin_with_two_implicit_constructors_test: StaticWarning | 314 mixin_with_two_implicit_constructors_test: StaticWarning |
| 323 named_constructor_test/01: StaticWarning | 315 named_constructor_test/01: StaticWarning |
| 324 named_constructor_test/03: StaticWarning | 316 named_constructor_test/03: StaticWarning |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 384 prefix14_test: StaticWarning | 376 prefix14_test: StaticWarning |
| 385 prefix15_negative_test: CompileTimeError | 377 prefix15_negative_test: CompileTimeError |
| 386 prefix15_test: StaticWarning | 378 prefix15_test: StaticWarning |
| 387 prefix16_test: StaticWarning | 379 prefix16_test: StaticWarning |
| 388 prefix17_test: StaticWarning | 380 prefix17_test: StaticWarning |
| 389 prefix18_negative_test: CompileTimeError | 381 prefix18_negative_test: CompileTimeError |
| 390 prefix22_test: StaticWarning | 382 prefix22_test: StaticWarning |
| 391 prefix23_test: StaticWarning | 383 prefix23_test: StaticWarning |
| 392 prefix7_negative_test: CompileTimeError | 384 prefix7_negative_test: CompileTimeError |
| 393 property_field_override_test: StaticWarning | 385 property_field_override_test: StaticWarning |
| 394 redirecting_factory_default_values_test/none: StaticWarning | |
| 395 redirecting_factory_incompatible_signature_test: StaticWarning | 386 redirecting_factory_incompatible_signature_test: StaticWarning |
| 396 regress_13494_test: StaticWarning | 387 regress_13494_test: StaticWarning |
| 397 return_type_test: StaticWarning | 388 return_type_test: StaticWarning |
| 398 script1_negative_test: CompileTimeError | 389 script1_negative_test: CompileTimeError |
| 399 script2_negative_test: CompileTimeError | 390 script2_negative_test: CompileTimeError |
| 400 setter_declaration2_negative_test: CompileTimeError | 391 setter_declaration2_negative_test: CompileTimeError |
| 401 setter_declaration_negative_test: CompileTimeError | 392 setter_declaration_negative_test: CompileTimeError |
| 402 setter_no_getter_call_test/01: CompileTimeError | 393 setter_no_getter_call_test/01: CompileTimeError |
| 403 source_self_negative_test: CompileTimeError | 394 source_self_negative_test: CompileTimeError |
| 404 static_initializer_type_error_test: StaticWarning | 395 static_initializer_type_error_test: StaticWarning |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 442 type_variable_identifier_expression_test: StaticWarning | 433 type_variable_identifier_expression_test: StaticWarning |
| 443 type_variable_scope2_test: StaticWarning | 434 type_variable_scope2_test: StaticWarning |
| 444 unary_plus_negative_test: CompileTimeError | 435 unary_plus_negative_test: CompileTimeError |
| 445 unbound_getter_test: StaticWarning | 436 unbound_getter_test: StaticWarning |
| 446 unhandled_exception_negative_test: CompileTimeError | 437 unhandled_exception_negative_test: CompileTimeError |
| 447 unresolved_top_level_method_negative_test: CompileTimeError | 438 unresolved_top_level_method_negative_test: CompileTimeError |
| 448 vm/type_cast_vm_test: StaticWarning | 439 vm/type_cast_vm_test: StaticWarning |
| 449 vm/type_vm_test: StaticWarning | 440 vm/type_vm_test: StaticWarning |
| 450 void_type_test: StaticWarning | 441 void_type_test: StaticWarning |
| 451 | 442 |
| OLD | NEW |