# 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. # This directory contains tests that are intended to show the # current state of the language. # In order to maintain maximum test coverage for all builds, # please use the following procedure to mark a test # failed on architectures other than the one you are working on. # # 1) Copy the old version of the test to # tests/language/src/test_name_[dartc|vm]_test.dart. # to maintain coverage. # 2) File a bug on each architecture for the failure due to the language change. # 3) Update the language/src directory with the updated test. [ $compiler == none ] gc_test: Fail # Issue 1487 field_override_test/none: Fail # Issue 742: field shadowing now allowed field_override_test/01: Fail # Issue 742: field shadowing now allowed field_override_test/02: Fail # Issue 742: field shadowing now allowed super_field_access_test: Fail # Issue 742: field shadowing now allowed pseudo_kw_illegal_test/03: Fail # Issue 356 pseudo_kw_illegal_test/08: Fail # Issue 356 pseudo_kw_illegal_test/10: Fail # Issue 356 pseudo_kw_illegal_test/14: Fail # Issue 356 # These bugs refer currently ongoing language discussions. constructor5_test: Fail # (Discussion ongoing) constructor6_test: Fail # (Discussion ongoing) # Regular bugs which should be fixed. const_init6_negative_test: Fail # Issue 811 super_first_constructor_test: Fail # Issue 1372. # Issue 1355 call_operator_test: Fail constructor_redirect_test/01: Fail # Issue 2103. closure_with_super_send_test: Fail # Issue 3197. super_closure_test: Fail # Issue 3197. parameter_initializer6_negative_test: Fail # Issue 3502 fauxverride_test/none: Fail # Issue 3778. bad_override_test/01: Fail # Issue 3859. bad_override_test/02: Fail # Issue 3859. setter_no_getter_call_test/01: Crash # Issue 4360 # DartC specific tests that should not be run by the VM *dartc_test: Skip *dartc_negative_test: Skip [ $compiler == none && $mode == debug ] gc_test: Skip # Takes too long. [ $compiler == dartc ] application_negative_test: Fail # Runtime only test, rewrite as multitest assert_keyword_negative_test: Fail # Runtime only test, rewrite as multitest assign_instance_method_negative_test: Fail # Runtime only test, rewrite as multitest body_less_constructor_wrong_arg_negative_test: Fail # Runtime only test, rewrite as multitest call_operator_test: Pass # Issue 1355 cascade_test: Pass,Fail # Issue 3729 Some cases pass, but for the wrong reason char_escape_test: Pass # Issue 1654 class_literal_test/04 : Fail # language change 1031 class_literal_test/09 : Fail # language change 1031 class_literal_test/16 : Fail # language change 1031 closure_call_wrong_argument_count_negative_test: Fail # Runtime only test, rewrite as multitest constructor3_negative_test: Fail # Runtime only test, rewrite as multitest constructor_call_wrong_argument_count_negative_test: Fail # Runtime only test, rewrite as multitest disable_privacy_test: Skip # Issue 1882: Needs --disable_privacy support. duplicate_implements_test: Skip # Issue 976 factory5_test/00: Fail # issue 3079 field_method4_negative_test: Fail # Runtime only test, rewrite as multitest final_syntax_test/*: Skip # can't handle base case getter_no_setter_test/01: Fail # Fails to detect compile-time error. instance_call_wrong_argument_count_negative_test: Fail # Runtime only test, rewrite as multitest interface_factory1_negative_test: Fail # language change 1031 is_not_class2_negative_test: Fail # Runtime only test, rewrite as multitest library2_negative_test: Fail # still a valid test? Issue 3649 library4_negative_test: Fail # still a valid test? Issue 3530 library6_negative_test: Fail # still a valid test? Issue 3650 list_literal4_test: Fail # Issue 1343 map_literal4_test: Fail # Issue 1343 named_parameters_negative_test: Fail # Runtime only test, rewrite as multitest named_parameters_with_object_property_names_test: Fail # Issue 2137 new_expression_type_args_frog_test/01: Fail # language change 1031 new_expression_type_args_frog_test/02: Fail # language change 1031 no_such_method_negative_test: Fail # Runtime only test, rewrite as multiteste override_field_test/03: Fail # still a valid test? Issue 3894 override_field_test/04: Fail # still a valid test? Issue 3656 prefix1_negative_test : Fail # language change 1031 prefix4_negative_test : Fail # language change 1031 prefix5_negative_test : Fail # language change 1031 prefix8_negative_test : Fail # language change 1031 prefix9_negative_test : Fail # language change 1031 prefix10_negative_test : Fail # language change 1031 prefix11_negative_test : Fail # language change 1031 private_member3_negative_test: Fail # Runtime only test? rewrite as multitest pseudo_kw_illegal_test/08: Fail # Issue 356 pseudo_kw_illegal_test/10: Fail # Issue 356 pseudo_kw_illegal_test/14: Fail # Issue 356 resource_test: Skip # out of date - resource directives have been removed static_call_wrong_argument_count_negative_test: Fail # Runtime only test, rewrite as multitest syntax_test: Skip # Bug 2107 Static type warnings in none case throw7_negative_test: Fail # Issue 3654 # try_catch_syntax_test/08: Fail # Issue 3795 type_variable_bounds_test/00: Fail # issue 3079 type_variable_bounds_test/07: Fail # language change 1031 type_variable_static_context_negative_test: Fail # language change 1031 # # Add new dartc annotations above in alphabetical order # # VM specific tests that should not be run by DartC. *vm_test: Skip *vm_negative_test: Skip [ $compiler == none && $runtime == drt ] gc_test: Skip # Issue 1487 import_core_no_prefix_test: Fail # Issue 4607 [ $runtime == dartium ] import_core_no_prefix_test: Fail # Issue 4607 [ $runtime == chrome ] string_escape1_negative_test: Skip # TODO(jmesserly): now that we have a bot, we need to set up Opera testing. [ $runtime == opera ] *: Skip [ $runtime == ie && ($system == linux || $system == mac) ] *: Skip [ $runtime == safari && ($system == linux || $system == windows) ] *: Skip [ $browser ] [ $arch == simarm ] *: Skip [ $arch == arm ] *: Skip [ $compiler == dart2dart ] implicit_this_test/03: Fail # TODO(ahe): Handle abstract getters. implicit_this_test/04: Fail # TODO(ahe): Handle abstract getters. property_field_override_test: Fail # TODO(ahe): Handle abstract getters. const_var_test: Fail # Map literals take 2 type arguments. map_literal3_test: Fail # Map literals take 2 type arguments. class_cycle_negative_test: Fail, OK # Bad test: assumes eager loading. field1_negative_test: Fail, OK # Bad test: assumes eager loading. field6_negative_test: Fail, OK # Bad test: assumes eager loading. field7_negative_test: Fail, OK # Bad test: assumes eager loading. interface_cycle_negative_test: Fail, OK # Bad test: assumes eager loading. # Common problems with dart2js. In illegal family, invalid # declarations are simply not parsed. In pseudo kw dart2js # chokes on things like typedef(x) => "typedef $x" and alike. abstract_syntax_test/01: Fail abstract_syntax_test/02: Fail pseudo_kw_illegal_test/01: Fail pseudo_kw_illegal_test/05: Fail pseudo_kw_illegal_test/06: Fail pseudo_kw_illegal_test/07: Fail pseudo_kw_illegal_test/08: Fail pseudo_kw_illegal_test/09: Fail pseudo_kw_illegal_test/10: Fail pseudo_kw_illegal_test/11: Fail pseudo_kw_illegal_test/12: Fail pseudo_kw_illegal_test/13: Fail pseudo_kw_illegal_test/14: Fail pseudo_kw_illegal_test/15: Fail pseudo_kw_illegal_test/16: Fail pseudo_kw_test: Fail # external keyword is not yet supported by dart2js/dart2dart. external_test/*: Skip # Call operator is not supported by DartVM (see suppression above.) call_operator_test: Fail # dart2js frontend doesn't even analyse problematic classes. class_extends_negative_test: Fail duplicate_implements_test/01: Fail duplicate_implements_test/02: Fail duplicate_implements_test/03: Fail duplicate_implements_test/04: Fail empty_body_member_negative_test: Fail field2_negative_test: Fail field4_negative_test: Fail field5_negative_test: Fail field6a_negative_test: Fail field7a_negative_test: Fail interface_factory_constructor_negative_test: Fail interface_static_method_negative_test: Fail non_const_super_negative_test: Fail method_override2_test/00: Fail method_override2_test/02: Fail method_override2_test/03: Fail operator1_negative_test: Fail prefix18_negative_test: Fail prefix20_negative_test: Fail static_final_field_negative_test: Fail static_top_level_test/00: Fail static_top_level_test/01: Fail static_top_level_test/02: Fail static_top_level_test/03: Fail static_top_level_test/04: Fail static_top_level_test/05: Fail # Bug in dart2js frontend: cannot find the constructor. default_factory_library_test: Fail # Bug in dart2js parser: it happily parses 1is int; variable declaration. number_identifier_negative_test: Fail # Bug in dart2js frontent: does not support this feature. switch_label_test: Fail # Common with language_dart2js. function_type_alias5_test/00: Fail function_type_alias5_test/01: Fail function_type_alias5_test/02: Fail function_type_alias7_test/00: Fail function_type_parameter2_test: Fail function_type_parameter_test: Fail get_set_syntax_test/none: Fail implicit_scope_test: Fail instanceof3_test: Fail library_prefixes_test: Fail method_name_test: Fail numbers_test: Fail parameter_initializer6_negative_test: Fail # Issue 3502 syntax_test/47: Fail # DartVM problem. closure_with_super_send_test: Fail constructor5_test: Fail constructor6_test: Fail fauxverride_test/none: Fail field_override_test/01: Fail field_override_test/02: Fail field_override_test/none: Fail gc_test: Fail super_closure_test: Fail super_field_access_test: Fail super_first_constructor_test: Fail # VM specific tests. disable_privacy_test: Fail, Ok # This test hard codes name of file being run and precise position. generic_test: Fail, Ok