| 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 == dartanalyzer ] | 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 # 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) | 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: CompileTimeError # Issue 12694 | 10 built_in_identifier_prefix_test: CompileTimeError # Issue 12694 |
| 11 | 11 |
| 12 # TBF: we should check conflicts not only for methods, but for accessors too | 12 # TBF: we should check conflicts not only for methods, but for accessors too |
| 13 override_field_test/03: fail | 13 override_field_test/03: fail |
| 14 method_override7_test/03: Fail # Issue 11496 | 14 method_override7_test/03: Fail # Issue 11496 |
| 15 | 15 |
| 16 type_check_const_function_typedef2_test/00: MissingCompileTimeError, Ok # Compil
e-time error in checked mode, because of constants. | 16 type_check_const_function_typedef2_test/00: MissingCompileTimeError, Ok # Compil
e-time error in checked mode, because of constants. |
| 17 | 17 |
| 18 call_closurization_test: StaticWarning # Issue 17476 | 18 call_closurization_test: StaticWarning # Issue 17476 |
| 19 | 19 |
| 20 # Please add new failing tests before this line. | 20 # Please add new failing tests before this line. |
| 21 # Section below is for invalid tests. | 21 # Section below is for invalid tests. |
| 22 # | 22 # |
| 23 # | 23 # |
| 24 | 24 |
| 25 ref_before_declaration_test/none: fail # test issue 14879, "P" is not defined | 25 ref_before_declaration_test/none: fail # test issue 14879, "P" is not defined |
| 26 bad_initializer2_negative_test: fail # tester issue 14880, Analyzer reports comp
ile-time error, but test runner is not satisfied | 26 bad_initializer2_negative_test: fail # Issue 14880, Analyzer reports compile-tim
e error, but test runner is not satisfied |
| 27 | 27 |
| 28 # test issue 11124, It is warning, not error to don't initialize final field | 28 # test issue 11124, It is warning, not error to don't initialize final field |
| 29 field3a_negative_test: Fail # Issue 11124 | 29 field3a_negative_test: Fail # Issue 11124 |
| 30 final_syntax_test/01: Fail # Issue 11124 | 30 final_syntax_test/01: Fail # Issue 11124 |
| 31 final_syntax_test/04: Fail # Issue 11124 | 31 final_syntax_test/04: Fail # Issue 11124 |
| 32 final_syntax_test/02: Fail # Issue 11124 | 32 final_syntax_test/02: Fail # Issue 11124 |
| 33 final_syntax_test/03: Fail # Issue 11124 | 33 final_syntax_test/03: Fail # Issue 11124 |
| 34 | 34 |
| 35 # Test issue 11545, using not existing constructor name in annotation | 35 # Test issue 11545, using not existing constructor name in annotation |
| 36 metadata_test: fail | 36 metadata_test: fail |
| (...skipping 15 matching lines...) Expand all Loading... |
| 52 type_variable_bounds_test/none: fail # Issue 11578 | 52 type_variable_bounds_test/none: fail # Issue 11578 |
| 53 type_variable_scope_test/none: fail # Issue 11578 | 53 type_variable_scope_test/none: fail # Issue 11578 |
| 54 factory_implementation_test/none: fail # Issue 11578 | 54 factory_implementation_test/none: fail # Issue 11578 |
| 55 malbounded_redirecting_factory_test/none: fail # Issue 11578 | 55 malbounded_redirecting_factory_test/none: fail # Issue 11578 |
| 56 malbounded_redirecting_factory2_test/none: fail # Issue 11578 | 56 malbounded_redirecting_factory2_test/none: fail # Issue 11578 |
| 57 | 57 |
| 58 # test issue 11579, assignment, no setter | 58 # test issue 11579, assignment, no setter |
| 59 getter_no_setter_test/none: fail | 59 getter_no_setter_test/none: fail |
| 60 | 60 |
| 61 # test issue 11584, positional arguments cannot be used for named parameters | 61 # test issue 11584, positional arguments cannot be used for named parameters |
| 62 compile_time_constant_e_test: fail | 62 compile_time_constant_e_test: fail # Test Issue 11584 |
| 63 | 63 |
| 64 # test issue 11585, static warning, not negative test | 64 # test issue 11585, static warning, not negative test |
| 65 constructor3_negative_test: fail | 65 constructor3_negative_test: fail |
| 66 constructor_call_wrong_argument_count_negative_test: fail | 66 constructor_call_wrong_argument_count_negative_test: fail |
| 67 instance_call_wrong_argument_count_negative_test: fail | 67 instance_call_wrong_argument_count_negative_test: fail |
| 68 | 68 |
| 69 # test issue 11590, runtime only negative test | 69 # test issue 11590, runtime only negative test |
| 70 field_method4_negative_test: fail | 70 field_method4_negative_test: fail |
| 71 | 71 |
| 72 # test issue 11594, Reference to a not resolve identifier is static warning | 72 # test issue 11594, Reference to a not resolve identifier is static warning |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 | 169 |
| 170 # missing warning for override | 170 # missing warning for override |
| 171 override_inheritance_generic_test/07: MissingStaticWarning # Issue 16135 | 171 override_inheritance_generic_test/07: MissingStaticWarning # Issue 16135 |
| 172 override_inheritance_generic_test/09: MissingStaticWarning # Issue 16135 | 172 override_inheritance_generic_test/09: MissingStaticWarning # Issue 16135 |
| 173 | 173 |
| 174 # flaky override tests | 174 # flaky override tests |
| 175 override_inheritance_field_test/33: MissingStaticWarning, Pass # Issue 16498 | 175 override_inheritance_field_test/33: MissingStaticWarning, Pass # Issue 16498 |
| 176 override_inheritance_field_test/33a: MissingStaticWarning, Pass # Issue 16498 | 176 override_inheritance_field_test/33a: MissingStaticWarning, Pass # Issue 16498 |
| 177 override_inheritance_generic_test/09: MissingStaticWarning, Pass # Issue 16498 | 177 override_inheritance_generic_test/09: MissingStaticWarning, Pass # Issue 16498 |
| 178 | 178 |
| 179 abstract_object_method_test: StaticWarning | 179 abstract_object_method_test: StaticWarning # Issue 14527 |
| 180 application_negative_test: CompileTimeError | 180 |
| 181 bad_constructor_test/05: CompileTimeError | 181 # The following tests are currently assumed to be failing because the test is wr
ong. |
| 182 bad_initializer1_negative_test: CompileTimeError | 182 # |
| 183 bad_named_constructor_negative_test: CompileTimeError | 183 application_negative_test: CompileTimeError # Test Issue 14528 |
| 184 body_less_constructor_wrong_arg_negative_test: CompileTimeError | 184 bad_constructor_test/05: CompileTimeError # Test Issue 5337 |
| 185 bad_initializer1_negative_test: CompileTimeError # Test Issue 14529 |
| 186 bad_named_constructor_negative_test: CompileTimeError # Test Issue 18693 |
| 187 body_less_constructor_wrong_arg_negative_test: CompileTimeError # Test Issue 186
95 |
| 188 empty_block_case_test: StaticWarning # Test Issue 18701 |
| 189 error_stacktrace_test: StaticWarning # Test Issue 18702 |
| 190 external_test/20: StaticWarning # Test Issue 18703 |
| 191 |
| 185 const_counter_negative_test: CompileTimeError | 192 const_counter_negative_test: CompileTimeError |
| 186 const_optional_args_negative_test: CompileTimeError | 193 const_optional_args_negative_test: CompileTimeError |
| 187 constructor_redirect1_negative_test: CompileTimeError | 194 constructor_redirect1_negative_test: CompileTimeError |
| 188 constructor_redirect2_negative_test: CompileTimeError | 195 constructor_redirect2_negative_test: CompileTimeError |
| 189 constructor_setter_negative_test: CompileTimeError | 196 constructor_setter_negative_test: CompileTimeError |
| 190 duplicate_export_negative_test: CompileTimeError | 197 duplicate_export_negative_test: CompileTimeError |
| 191 duplicate_interface_negative_test: CompileTimeError | 198 duplicate_interface_negative_test: CompileTimeError |
| 192 empty_block_case_test: StaticWarning | |
| 193 error_stacktrace_test: StaticWarning | |
| 194 export_ambiguous_main_negative_test: CompileTimeError | 199 export_ambiguous_main_negative_test: CompileTimeError |
| 195 extend_type_parameter2_negative_test: CompileTimeError | 200 extend_type_parameter2_negative_test: CompileTimeError |
| 196 extend_type_parameter_negative_test: CompileTimeError | 201 extend_type_parameter_negative_test: CompileTimeError |
| 197 external_test/20: StaticWarning | |
| 198 factory2_negative_test: CompileTimeError | 202 factory2_negative_test: CompileTimeError |
| 199 factory2_test: StaticWarning | 203 factory2_test: StaticWarning # Test Issue 18727 |
| 200 factory3_negative_test: CompileTimeError | 204 factory3_negative_test: CompileTimeError |
| 201 factory3_test: StaticWarning | 205 factory3_test: StaticWarning # Test Issue 18727 |
| 202 factory4_test: StaticWarning | 206 factory4_test: StaticWarning # Test Issue 18727 |
| 203 factory_implementation_test/00: StaticWarning | 207 factory_implementation_test/00: StaticWarning |
| 204 factory_negative_test: CompileTimeError | 208 factory_negative_test: CompileTimeError |
| 205 factory_redirection_test/01: StaticWarning | 209 factory_redirection_test/01: StaticWarning # Test Issue 11578 |
| 206 factory_redirection_test/03: StaticWarning | 210 factory_redirection_test/03: StaticWarning # Test Issue 11578 |
| 207 factory_redirection_test/05: StaticWarning | 211 factory_redirection_test/05: StaticWarning # Test Issue 11578 |
| 208 factory_redirection_test/06: StaticWarning | 212 factory_redirection_test/06: StaticWarning # Test Issue 11578 |
| 209 factory_return_type_checked_test: StaticWarning | 213 factory_return_type_checked_test: StaticWarning # Test Issue 18728 |
| 210 f_bounded_quantification4_test: StaticWarning | 214 f_bounded_quantification4_test: StaticWarning |
| 211 f_bounded_quantification5_test: StaticWarning | 215 f_bounded_quantification5_test: StaticWarning |
| 212 field1_negative_test: CompileTimeError | 216 field1_negative_test: CompileTimeError |
| 213 field2_negative_test: CompileTimeError | 217 field2_negative_test: CompileTimeError |
| 214 field3_negative_test: CompileTimeError | 218 field3_negative_test: CompileTimeError |
| 215 field4_negative_test: CompileTimeError | 219 field4_negative_test: CompileTimeError |
| 216 field5_negative_test: CompileTimeError | 220 field5_negative_test: CompileTimeError |
| 217 field6a_negative_test: CompileTimeError | 221 field6a_negative_test: CompileTimeError |
| 218 field6_negative_test: CompileTimeError | 222 field6_negative_test: CompileTimeError |
| 219 first_class_types_literals_test: StaticWarning | 223 first_class_types_literals_test: StaticWarning # Issue 18731 |
| 220 function_malformed_result_type_test: StaticWarning | 224 function_malformed_result_type_test: StaticWarning |
| 221 function_subtype_bound_closure7_test: StaticWarning | 225 function_subtype_bound_closure7_test: StaticWarning |
| 222 function_subtype_checked0_test: StaticWarning | 226 function_subtype_checked0_test: StaticWarning |
| 223 function_subtype_closure0_test: StaticWarning | 227 function_subtype_closure0_test: StaticWarning |
| 224 function_subtype_closure1_test: StaticWarning | 228 function_subtype_closure1_test: StaticWarning |
| 225 function_subtype_factory1_test: StaticWarning | 229 function_subtype_factory1_test: StaticWarning |
| 226 function_subtype_inline1_test: StaticWarning | 230 function_subtype_inline1_test: StaticWarning |
| 227 function_type2_test: StaticWarning | 231 function_type2_test: StaticWarning |
| 228 function_type_parameter2_negative_test: CompileTimeError | 232 function_type_parameter2_negative_test: CompileTimeError |
| 229 function_type_parameter_negative_test: CompileTimeError | 233 function_type_parameter_negative_test: CompileTimeError |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 424 unary_plus_negative_test: CompileTimeError | 428 unary_plus_negative_test: CompileTimeError |
| 425 unbound_getter_test: StaticWarning | 429 unbound_getter_test: StaticWarning |
| 426 unhandled_exception_negative_test: CompileTimeError | 430 unhandled_exception_negative_test: CompileTimeError |
| 427 unresolved_top_level_method_negative_test: StaticWarning | 431 unresolved_top_level_method_negative_test: StaticWarning |
| 428 vm/type_cast_vm_test: StaticWarning | 432 vm/type_cast_vm_test: StaticWarning |
| 429 vm/type_vm_test: StaticWarning | 433 vm/type_vm_test: StaticWarning |
| 430 void_type_test: StaticWarning | 434 void_type_test: StaticWarning |
| 431 | 435 |
| 432 # Issue 16391. The analyzer handle compile-time error in checked only in these | 436 # Issue 16391. The analyzer handle compile-time error in checked only in these |
| 433 # cases: | 437 # cases: |
| 434 compile_time_constant_checked2_test/01: CompileTimeError # Issue 16391 | 438 compile_time_constant_checked2_test/01: CompileTimeError # Language Issue 16391 |
| 435 compile_time_constant_checked2_test/05: CompileTimeError # Issue 16391 | 439 compile_time_constant_checked2_test/05: CompileTimeError # Language Issue 16391 |
| 436 compile_time_constant_checked3_test/01: CompileTimeError # Issue 16391 | 440 compile_time_constant_checked3_test/01: CompileTimeError # Language Issue 16391 |
| 437 compile_time_constant_checked3_test/05: CompileTimeError # Issue 16391 | 441 compile_time_constant_checked3_test/05: CompileTimeError # Language Issue 16391 |
| 438 list_literal1_test/01: CompileTimeError # Issue 16391 | 442 list_literal1_test/01: CompileTimeError # Issue 16391 |
| 439 map_literal1_test/01: CompileTimeError # Issue 16391 | 443 map_literal1_test/01: CompileTimeError # Issue 16391 |
| 440 | 444 |
| 441 # Issue 18562- Old syntax (@lazy) for deferred libraries | 445 # Issue 18562- Old syntax (@lazy) for deferred libraries |
| 442 deferred_constraints_type_annotation_old_syntax_test/*: Pass, Fail | 446 deferred_constraints_type_annotation_old_syntax_test/*: Pass, Fail |
| 443 deferred_constraints_constants_old_syntax_test/*: Pass, Fail | 447 deferred_constraints_constants_old_syntax_test/*: Pass, Fail |
| 444 | 448 |
| 445 # Issue 18562- 'is', 'as' and 'catch' aren't type annotations, thus we don't | 449 # Issue 18562- 'is', 'as' and 'catch' aren't type annotations, thus we don't |
| 446 # generate the "The deferred types cannot be used in a declaration" warning | 450 # generate the "The deferred types cannot be used in a declaration" warning |
| 447 deferred_constraints_type_annotation_test/as_operation: MissingStaticWarning | 451 deferred_constraints_type_annotation_test/as_operation: MissingStaticWarning |
| 448 deferred_constraints_type_annotation_test/is_check: MissingStaticWarning | 452 deferred_constraints_type_annotation_test/is_check: MissingStaticWarning |
| 449 deferred_constraints_type_annotation_test/catch_check: MissingStaticWarning | 453 deferred_constraints_type_annotation_test/catch_check: MissingStaticWarning |
| 450 | 454 |
| 451 # The following lines have been left in to quickly switch back to having deferre
d loading | 455 # The following lines have been left in to quickly switch back to having deferre
d loading |
| 452 # off by default again. | 456 # off by default again. |
| 453 # Deferred loading support, tests marked as failing until support is enabled by
default. | 457 # Deferred loading support, tests marked as failing until support is enabled by
default. |
| 454 #deferred_closurize_load_library_test: Pass, Fail | 458 #deferred_closurize_load_library_test: Pass, Fail |
| 455 #deferred_not_loaded_check_test/*: Pass, Fail | 459 #deferred_not_loaded_check_test/*: Pass, Fail |
| 456 #deferred_shadow_load_library_test: Pass, Fail | 460 #deferred_shadow_load_library_test: Pass, Fail |
| 457 #deferred_constraints_constants_test/*: Pass, Fail | 461 #deferred_constraints_constants_test/*: Pass, Fail |
| 458 #deferred_load_library_wrong_args_test/*: Pass, Fail | 462 #deferred_load_library_wrong_args_test/*: Pass, Fail |
| 459 #deferred_constraints_type_annotation_test/*: Pass, Fail | 463 #deferred_constraints_type_annotation_test/*: Pass, Fail |
| 460 #deferred_load_inval_code_test: Pass, Fail | 464 #deferred_load_inval_code_test: Pass, Fail |
| 461 #deferred_not_loaded_check_test: Pass, Fail | 465 #deferred_not_loaded_check_test: Pass, Fail |
| 462 | 466 |
| 463 # Issues to be fixed now that type parameters have been fixed | 467 # Issues to be fixed now that type parameters have been fixed |
| 464 # (issues 14221, 15553) | 468 # (issues 14221, 15553) |
| 465 | 469 factory1_test/00: StaticWarning # Test Issue 18726 |
| 466 factory1_test/00: StaticWarning | 470 factory1_test/01: StaticWarning # Test Issue 18726 |
| 467 factory1_test/01: StaticWarning | 471 factory1_test/none: StaticWarning # Test Issue 18726 |
| 468 factory1_test/none: StaticWarning | |
| 469 generic_closure_test: StaticWarning | 472 generic_closure_test: StaticWarning |
| 470 local_function2_test: StaticWarning | 473 local_function2_test: StaticWarning |
| 471 redirecting_factory_long_test: StaticWarning | 474 redirecting_factory_long_test: StaticWarning |
| OLD | NEW |