| 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 # This directory contains tests that are intended to show the | 5 # This directory contains tests that are intended to show the |
| 6 # current state of the language. | 6 # current state of the language. |
| 7 | 7 |
| 8 # In order to maintain maximum test coverage for all builds, | 8 # In order to maintain maximum test coverage for all builds, |
| 9 # please use the following procedure to mark a test | 9 # please use the following procedure to mark a test |
| 10 # failed on architectures other than the one you are working on. | 10 # failed on architectures other than the one you are working on. |
| (...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 452 constructor_redirect2_negative_test: Skip # Undiagnosed infinite loop. | 452 constructor_redirect2_negative_test: Skip # Undiagnosed infinite loop. |
| 453 | 453 |
| 454 [ $compiler == frog && $runtime == none ] | 454 [ $compiler == frog && $runtime == none ] |
| 455 *: Skip | 455 *: Skip |
| 456 | 456 |
| 457 [ $arch == simarm ] | 457 [ $arch == simarm ] |
| 458 *: Skip | 458 *: Skip |
| 459 | 459 |
| 460 [ $arch == arm ] | 460 [ $arch == arm ] |
| 461 *: Skip | 461 *: Skip |
| 462 | |
| 463 [ $compiler == dart2js && $checked ] | |
| 464 assign_static_type_test/01: Fail | |
| 465 assign_static_type_test/02: Fail | |
| 466 assign_static_type_test/03: Fail | |
| 467 assign_static_type_test/04: Fail | |
| 468 type_variable_bounds_test/01: Fail | |
| 469 type_variable_bounds_test/02: Fail | |
| 470 type_variable_bounds_test/04: Fail | |
| 471 type_variable_bounds_test/05: Fail | |
| 472 type_variable_bounds2_test/00: Fail | |
| 473 type_variable_bounds2_test/03: Fail | |
| 474 type_variable_bounds2_test/05: Fail | |
| 475 type_variable_bounds2_test/06: Pass # For the wrong reasons. | |
| 476 assign_top_method_negative_test: Pass # For the wrong reasons. | |
| 477 f_bounded_quantification_test/01: Fail | |
| 478 f_bounded_quantification_test/02: Fail | |
| 479 | |
| 480 arithmetic_test: Fail | |
| 481 | |
| 482 | |
| 483 [ $compiler == dart2js] | |
| 484 compile_time_constant8_test: Fail # We don't take the generic type into account
yet. | |
| 485 static_initializer_type_error_test: Fail # Checked mode not supported. | |
| 486 exception_test: Fail # "throw null" throws NullPointerException. | |
| 487 | |
| 488 # Compilation errors. | |
| 489 ct_const_test: Fail # We don't take the generic type into account yet. | |
| 490 call_operator_test: Fail # Unexpected token 'call' | |
| 491 char_escape_test: Fail # Unhandled non-BMP character: U+10000 | |
| 492 constructor6_test: Fail # Closures inside initializers not implemented. | |
| 493 default_factory_library_test: Fail # lib is not a type | |
| 494 dynamic_test: Fail # cannot resolve type F1 | |
| 495 factory3_test: Fail # internal error: visitIs for type variables not implemented | |
| 496 function_literals2_test: Fail # Closures inside initializers not implemented. | |
| 497 function_syntax_test: Fail # Closures inside initializers not implemented. | |
| 498 function_test: Fail # internal error: Closures inside initializers not implement
ed | |
| 499 function_type_alias2_test: Fail # cannot resolve type f1 | |
| 500 function_type_alias3_test: Fail # cannot resolve type F | |
| 501 function_type_alias4_test: Fail # cannot resolve type F | |
| 502 function_type_alias5_test/00: Fail # visitIs for typedefs not implemented | |
| 503 function_type_alias5_test/01: Fail # visitIs for typedefs not implemented | |
| 504 function_type_alias5_test/02: Fail # visitIs for typedefs not implemented | |
| 505 function_type_alias6_test: Fail # visitIs for typedefs not implemented | |
| 506 function_type_alias_test: Fail # cannot resolve type Fun | |
| 507 function_type_parameter2_test: Fail # Internal Error: expected optional paramete
rs | |
| 508 function_type_parameter_test: Fail # Internal Error: expected optional parameter
s | |
| 509 generic_instanceof_test: Fail # cannot resolve type T | |
| 510 generic_instanceof2_test: Fail # fails an instance of test at run time | |
| 511 generic_instanceof3_test: Fail # cannot handle generics. | |
| 512 generic_test: Fail # cannot resolve type T | |
| 513 get_set_syntax_test/none: Fail # Parsing of pseudo keywords. | |
| 514 getters_setters_test: Fail # Internal Error: SsaBuilder.visitIdentifier on non-t
his | |
| 515 implicit_scope_test: Fail # duplicate definition of a="bar" | |
| 516 label_test: Fail # switch cases are not implemented | |
| 517 library_prefixes_test: Fail # other is not a type | |
| 518 local_function_test: Fail # TypeError: Object #<Closure> has no method '$call$2'
(bad exception mapping). | |
| 519 many_generic_instanceof_test: Fail # cannot resolve type T | |
| 520 method_binding_test: Fail # internal error: super property read not implemented. | |
| 521 method_name_test: Fail # Parsing of pseudo keywords. | |
| 522 method_override_test: Fail # cannot resolve type GetKeysFunctionType | |
| 523 named_parameters2_test: Fail # Unimplemented non-matching static call | |
| 524 named_parameters3_test: Fail # Unimplemented non-matching static call | |
| 525 named_parameters4_test: Fail # Unimplemented non-matching static call | |
| 526 naming_test: Fail # Broken because operator negate is not accessible as if it wa
s a method. | |
| 527 operator6_test: Fail # Constant folding of bit-operations does not agree with ru
ntime behavior. Issue 2887. | |
| 528 parameter_initializer_test: Fail # internal error: super property read not imple
mented | |
| 529 pseudo_kw_test: Fail # Unexpected token '(' | |
| 530 super_field_access_test: Fail # internal error: super property read not implemen
ted | |
| 531 super_field_test: Fail # internal error: super property read not implemented | |
| 532 super_implicit_closure_test: Fail # internal error: super property read not impl
emented | |
| 533 super_operator_test: Fail # internal error: super property store not implemented | |
| 534 super_setter_test: Fail # internal error: super property read not implemented | |
| 535 switch_label_test: Fail # error: target of continue is not a loop or switch case | |
| 536 | |
| 537 | |
| 538 # Implementation errors (library or generated code). | |
| 539 assertion_test: Fail # Expect.equals(expected: <1>, actual: <0>) fails. | |
| 540 generic_deep_test: Fail # Expect.isTrue(false) fails. | |
| 541 generic_inheritance_test: Fail # Expect.isTrue(false) fails. | |
| 542 generic_parameterized_extends_test: Fail # Expect.isTrue(false) fails. | |
| 543 instanceof2_test: Fail # Expect.equals(expected: <true>, actual: <false>) fails. | |
| 544 instanceof3_test: Fail # cannot resolve type UndeclaredType. | |
| 545 library_private_in_constructor_test: Fail # Issue 2620. | |
| 546 list_literal4_test: Fail # Illegal argument(s): 0 -- checked mode test. | |
| 547 map_literal4_test: Fail # Attempt to modify an immutable object -- checked mode
test. | |
| 548 named_parameters_type_test: Fail # Expect.equals(expected: <111>, actual: <0>) f
ails. -- checked mode test. | |
| 549 type_checks_in_factory_method_test: Fail # Expect.equals(expected: <true>, actua
l: <false>) fails. -- checked mode test. | |
| 550 type_dartc_test: Fail # Expect.equals(expected: <1>, actual: <0>) -- checked mod
e test. | |
| 551 | |
| 552 | |
| 553 # | |
| 554 # The following tests are all semantic tests that we can rely on dartc | |
| 555 # catching for now. | |
| 556 # | |
| 557 abstract_static_negative_test: Fail, OK # Negative language test. | |
| 558 abstract_syntax_test/01: Fail, OK # Negative language test. | |
| 559 abstract_syntax_test/02: Fail, OK # Negative language test. | |
| 560 assign_top_method_negative_test: Fail, OK # Negative language test. | |
| 561 class_extends_negative_test: Fail, OK # Negative language test. | |
| 562 class_override_negative_test: Fail, OK # Negative language test. | |
| 563 const_constructor_syntax_test/01: Fail, OK # Negative language test. | |
| 564 const_constructor_syntax_test/02: Fail, OK # Negative language test. | |
| 565 const_constructor_syntax_test/03: Fail, OK # Negative language test. | |
| 566 const_constructor_syntax_test/04: Fail, OK # Negative language test. | |
| 567 const_factory_negative_test: Fail, OK # Negative language test. | |
| 568 const_field_negative_test: Fail, OK # Negative language test. | |
| 569 const_init4_negative_test: Fail, OK # Negative language test. | |
| 570 const_init_negative_test: Fail, OK # Negative language test. | |
| 571 const_syntax_test/01: Fail, OK # Negative language test. | |
| 572 const_syntax_test/02: Fail, OK # Negative language test. | |
| 573 const_syntax_test/03: Fail, OK # Negative language test. | |
| 574 constructor2_negative_test: Fail, OK # Negative language test. | |
| 575 constructor_duplicate_initializers_test/02: Fail, OK # Negative language test. | |
| 576 constructor_negative_test: Pass # For the wrong reason. | |
| 577 constructor_return_negative_test: Fail, OK # Negative language test. | |
| 578 constructor_return_with_arrow_negative_test: Fail, OK # Negative language test. | |
| 579 constructor_return_with_init_and_arrow_negative_test: Fail, OK # Negative langua
ge test. | |
| 580 constructor_return_with_init_negative_test: Fail, OK # Negative language test. | |
| 581 duplicate_constructor_test/01: Fail, OK # Negative language test. | |
| 582 duplicate_implements_test/01: Fail, OK # Negative language test. | |
| 583 duplicate_implements_test/02: Fail, OK # Negative language test. | |
| 584 duplicate_implements_test/03: Fail, OK # Negative language test. | |
| 585 duplicate_implements_test/04: Fail, OK # Negative language test. | |
| 586 empty_body_member_negative_test: Fail, OK # Negative language test. | |
| 587 factory2_negative_test: Fail, OK # Negative language test. | |
| 588 factory3_negative_test: Fail, OK # Negative language test. | |
| 589 factory_negative_test: Fail, OK # Negative language test. | |
| 590 fauxverride_test/03: Fail, OK # Negative language test. | |
| 591 fauxverride_test/05: Fail, OK # Negative language test. | |
| 592 field2_negative_test: Fail, OK # Negative language test. | |
| 593 field3_negative_test: Fail, OK # Negative language test. | |
| 594 field4_negative_test: Fail, OK # Negative language test. | |
| 595 field5_negative_test: Fail, OK # Negative language test. | |
| 596 field6a_negative_test: Fail, OK # Negative language test. | |
| 597 field7a_negative_test: Fail, OK # Negative language test. | |
| 598 final_for_in_variable_test/01: Fail, OK # Negative language test | |
| 599 final_param_negative_test: Fail, OK # Negative language test. | |
| 600 final_var_negative_test: Fail, OK # Negative language test. | |
| 601 getter_declaration_negative_test: Fail, OK # Negative language test. | |
| 602 instantiate_type_variable_negative_test: Pass # For the wrong reason. | |
| 603 interface_factory3_negative_test: Fail, OK # Negative language test. | |
| 604 interface_factory_constructor_negative_test: Fail, OK # Negative language test. | |
| 605 interface_static_method_negative_test: Fail, OK # Negative language test. | |
| 606 list_literal1_negative_test: Fail, OK # Negative language test. | |
| 607 list_literal2_negative_test: Fail, OK # Negative language test. | |
| 608 map_literal1_negative_test: Fail, OK # Negative language test. | |
| 609 map_literal2_negative_test: Fail, OK # Negative language test. | |
| 610 new_expression_type_args_frog_test/02: Fail, OK # Negative language test. | |
| 611 non_const_super_negative_test: Fail, OK # Negative language test. | |
| 612 number_identifier_negative_test: Fail, OK # Negative language test. | |
| 613 operator1_negative_test: Fail, OK # Negative language test. | |
| 614 override_field_method1_negative_test: Fail, OK # Negative language test. | |
| 615 override_field_method2_negative_test: Fail, OK # Negative language test. | |
| 616 override_field_method3_negative_test: Fail, OK # Negative language test. | |
| 617 override_field_method4_negative_test: Fail, OK # Negative language test. | |
| 618 override_field_method5_negative_test: Fail, OK # Negative language test. | |
| 619 override_field_method6_negative_test: Fail, OK # Negative language test. | |
| 620 override_field_test/01: Fail, OK # Negative language test. | |
| 621 override_field_test/04: Fail, OK # Negative language test. | |
| 622 override_method_with_field_test/01: Fail, OK # Negative language test. | |
| 623 prefix16_test: Fail | |
| 624 prefix18_negative_test: Fail, OK # Negative language test. | |
| 625 prefix20_negative_test: Fail, OK # Negative language test. | |
| 626 prefix23_negative_test: Fail, OK # Negative language test. | |
| 627 pseudo_kw_illegal_test/01: Fail, OK # Negative language test. | |
| 628 pseudo_kw_illegal_test/03: Fail, OK # Negative language test. | |
| 629 pseudo_kw_illegal_test/05: Fail, OK # Negative language test. | |
| 630 pseudo_kw_illegal_test/06: Fail, OK # Negative language test. | |
| 631 pseudo_kw_illegal_test/07: Fail, OK # Negative language test. | |
| 632 pseudo_kw_illegal_test/08: Fail, OK # Negative language test. | |
| 633 pseudo_kw_illegal_test/09: Fail, OK # Negative language test. | |
| 634 pseudo_kw_illegal_test/10: Fail, OK # Negative language test. | |
| 635 pseudo_kw_illegal_test/11: Fail, OK # Negative language test. | |
| 636 pseudo_kw_illegal_test/12: Fail, OK # Negative language test. | |
| 637 pseudo_kw_illegal_test/13: Fail, OK # Negative language test. | |
| 638 pseudo_kw_illegal_test/14: Fail, OK # Negative language test. | |
| 639 pseudo_kw_illegal_test/15: Fail, OK # Negative language test. | |
| 640 pseudo_kw_illegal_test/16: Fail, OK # Negative language test. | |
| 641 scope_negative_test: Fail, OK # Negative language test. | |
| 642 setter_declaration2_negative_test: Fail, OK # Negative language test. | |
| 643 setter_declaration_negative_test: Fail, OK # Negative language test. | |
| 644 static_field1_run_negative_test: Fail, OK # Negative language test. | |
| 645 static_field2_run_negative_test: Fail, OK # Negative language test. | |
| 646 static_final_field2_negative_test: Fail, OK # Negative language test. | |
| 647 static_final_field_negative_test: Fail, OK # Negative language test. | |
| 648 static_top_level_test/00: Fail, OK # Negative language test. | |
| 649 static_top_level_test/01: Fail, OK # Negative language test. | |
| 650 static_top_level_test/02: Fail, OK # Negative language test. | |
| 651 static_top_level_test/03: Fail, OK # Negative language test. | |
| 652 static_top_level_test/04: Fail, OK # Negative language test. | |
| 653 static_top_level_test/05: Fail, OK # Negative language test. | |
| 654 string_interpolation7_negative_test: Fail, OK # Negative language test. | |
| 655 throw7_negative_test: Fail, OK # Negative language test. | |
| 656 try_catch_syntax_test/08: Fail, OK # Negative language test. | |
| 657 type_variable_bounds_test/00: Fail, OK # Negative language test. | |
| 658 type_variable_scope_test/00: Fail, OK # Negative language test. | |
| 659 type_variable_scope_test/01: Fail, OK # Negative language test. | |
| 660 type_variable_scope_test/02: Fail, OK # Negative language test. | |
| 661 type_variable_scope_test/03: Fail, OK # Negative language test. | |
| 662 type_variable_scope_test/04: Fail, OK # Negative language test. | |
| 663 type_variable_scope_test/05: Fail, OK # Negative language test. | |
| 664 | |
| 665 | |
| 666 type_vm_test: Fail, OK # VM specific test. | |
| 667 disable_privacy_test: Fail, OK # VM specific test. | |
| 668 numbers_test: Fail, OK # (unintended?) VM specific test. | |
| 669 | |
| 670 | |
| 671 div_by_zero_test: Fail, OK # Leg only has doubles. | |
| 672 bit_operations_test: Fail, OK # Tests bit operations outside the 32 bit range. | |
| 673 optimization_test: Fail, OK # Expects negative results of bit-operations. | |
| 674 | |
| 675 expect_test: Fail, OK # JavaScript canonicalizes all strings. This test assumes
that string-concatenation returns a new string. | |
| 676 | |
| 677 reg_exp3_test: Fail, OK # Expects exception from const constructor. | |
| 678 | |
| 679 | |
| 680 list_test: Fail, OK # Obsolete test uses List.copyFrom that was removed on 2011-
10-31. | |
| 681 | |
| 682 final_syntax_test/none: Fail, OK # Uses deprecated "StrConstant + StrConstant". | |
| 683 | |
| 684 [ $compiler == dart2js && $mode == release ] | |
| 685 assign_top_method_negative_test: Crash | |
| 686 | |
| 687 [ $compiler == dart2js && $runtime == none ] | |
| 688 *: Fail, Pass # TODO(ahe): Triage these tests. | |
| OLD | NEW |