4b4bf1cf08
R=jwren@google.com, scheglov@google.com Review URL: https://codereview.chromium.org//113143004 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31303 260f80e4-7a28-3924-810f-c04153c831b5
464 lines
20 KiB
Plaintext
464 lines
20 KiB
Plaintext
# 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 == dartanalyzer ]
|
|
# 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: fail
|
|
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
|
|
|
|
assignable_expression_test/02: Fail # Issue 15471
|
|
assignable_expression_test/12: Fail # Issue 15471
|
|
assignable_expression_test/22: Fail # Issue 15471
|
|
assignable_expression_test/32: Fail # Issue 15471
|
|
assignable_expression_test/42: Fail # Issue 15471
|
|
|
|
# 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
|
|
abstract_factory_constructor_test/none: fail # Issue 11575
|
|
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
|
|
|
|
abstract_exact_selector_test: StaticWarning
|
|
abstract_getter_test: StaticWarning
|
|
abstract_object_method_test: StaticWarning
|
|
abstract_runtime_error_test: StaticWarning
|
|
application_negative_test: CompileTimeError
|
|
bad_constructor_test/05: CompileTimeError
|
|
bad_initializer1_negative_test: CompileTimeError
|
|
bad_named_constructor_negative_test: CompileTimeError
|
|
bad_named_parameters2_test: StaticWarning
|
|
bad_named_parameters_test: StaticWarning
|
|
bit_operations_test: StaticWarning
|
|
body_less_constructor_wrong_arg_negative_test: CompileTimeError
|
|
call_constructor_on_unresolvable_class_test/04: StaticWarning
|
|
call_constructor_on_unresolvable_class_test/05: StaticWarning
|
|
call_constructor_on_unresolvable_class_test/06: StaticWarning
|
|
call_nonexistent_constructor_test: StaticWarning
|
|
checked_null_test: StaticWarning
|
|
checked_setter2_test: StaticWarning
|
|
checked_setter_test: StaticWarning
|
|
closure_type_test: StaticWarning
|
|
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
|
|
compile_time_constant_k_test: StaticWarning
|
|
compile_time_constant_o_test: StaticWarning
|
|
const_counter_negative_test: CompileTimeError
|
|
const_objects_are_immutable_test: StaticWarning
|
|
const_optional_args_negative_test: CompileTimeError
|
|
constructor_named_arguments_test/01: StaticWarning
|
|
constructor_redirect1_negative_test: CompileTimeError
|
|
constructor_redirect2_negative_test: CompileTimeError
|
|
constructor_setter_negative_test: CompileTimeError
|
|
constructor_test: StaticWarning
|
|
core_type_check_test: StaticWarning
|
|
crash_6725_test: StaticWarning
|
|
default_factory_library_test: StaticWarning
|
|
default_factory_test: StaticWarning
|
|
double_to_string_as_exponential2_test: StaticWarning
|
|
double_to_string_as_fixed2_test: StaticWarning
|
|
double_to_string_as_precision2_test: StaticWarning
|
|
duplicate_export_negative_test: CompileTimeError
|
|
duplicate_interface_negative_test: CompileTimeError
|
|
dynamic_field_test: StaticWarning
|
|
dynamic_prefix_core_test: StaticWarning
|
|
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_typedef_constructor_test: StaticWarning
|
|
mixin_type_parameter2_test: StaticWarning
|
|
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
|
|
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
|
|
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
|
|
|