| OLD | NEW |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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 import 'package:analyzer/dart/ast/ast.dart'; | 5 import 'package:analyzer/dart/ast/ast.dart'; |
| 6 import 'package:analyzer/dart/ast/token.dart' as analyzer; | 6 import 'package:analyzer/dart/ast/token.dart' as analyzer; |
| 7 import 'package:analyzer/dart/ast/token.dart' show TokenType; | 7 import 'package:analyzer/dart/ast/token.dart' show TokenType; |
| 8 import 'package:analyzer/error/error.dart'; | 8 import 'package:analyzer/error/error.dart'; |
| 9 import 'package:analyzer/error/listener.dart' show ErrorReporter; | 9 import 'package:analyzer/error/listener.dart' show ErrorReporter; |
| 10 import 'package:analyzer/src/dart/scanner/scanner.dart'; | 10 import 'package:analyzer/src/dart/scanner/scanner.dart'; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 import 'test_support.dart'; | 27 import 'test_support.dart'; |
| 28 | 28 |
| 29 main() { | 29 main() { |
| 30 defineReflectiveSuite(() { | 30 defineReflectiveSuite(() { |
| 31 defineReflectiveTests(ClassMemberParserTest_Fasta); | 31 defineReflectiveTests(ClassMemberParserTest_Fasta); |
| 32 defineReflectiveTests(ComplexParserTest_Fasta); | 32 defineReflectiveTests(ComplexParserTest_Fasta); |
| 33 defineReflectiveTests(ErrorParserTest_Fasta); | 33 defineReflectiveTests(ErrorParserTest_Fasta); |
| 34 defineReflectiveTests(ExpressionParserTest_Fasta); | 34 defineReflectiveTests(ExpressionParserTest_Fasta); |
| 35 defineReflectiveTests(FormalParameterParserTest_Fasta); | 35 defineReflectiveTests(FormalParameterParserTest_Fasta); |
| 36 defineReflectiveTests(RecoveryParserTest_Fasta); | 36 defineReflectiveTests(RecoveryParserTest_Fasta); |
| 37 defineReflectiveTests(SimpleParserTest_Fasta); |
| 37 defineReflectiveTests(StatementParserTest_Fasta); | 38 defineReflectiveTests(StatementParserTest_Fasta); |
| 38 defineReflectiveTests(TopLevelParserTest_Fasta); | 39 defineReflectiveTests(TopLevelParserTest_Fasta); |
| 39 }); | 40 }); |
| 40 } | 41 } |
| 41 | 42 |
| 42 /** | 43 /** |
| 43 * Type of the "parse..." methods defined in the Fasta parser. | 44 * Type of the "parse..." methods defined in the Fasta parser. |
| 44 */ | 45 */ |
| 45 typedef analyzer.Token ParseFunction(analyzer.Token token); | 46 typedef analyzer.Token ParseFunction(analyzer.Token token); |
| 46 | 47 |
| (...skipping 3472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3519 } | 3520 } |
| 3520 | 3521 |
| 3521 @override | 3522 @override |
| 3522 Builder lookup(String name, int charOffset, Uri fileUri, | 3523 Builder lookup(String name, int charOffset, Uri fileUri, |
| 3523 {bool isInstanceScope: true}) => | 3524 {bool isInstanceScope: true}) => |
| 3524 _locals.putIfAbsent(name, () => new BuilderProxy()); | 3525 _locals.putIfAbsent(name, () => new BuilderProxy()); |
| 3525 | 3526 |
| 3526 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); | 3527 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); |
| 3527 } | 3528 } |
| 3528 | 3529 |
| 3530 @reflectiveTest |
| 3531 class SimpleParserTest_Fasta extends FastaParserTestCase |
| 3532 with SimpleParserTestMixin { |
| 3533 @override |
| 3534 @failingTest |
| 3535 void test_parseAnnotation_n1() { |
| 3536 super.test_parseAnnotation_n1(); |
| 3537 } |
| 3538 |
| 3539 @override |
| 3540 @failingTest |
| 3541 void test_parseAnnotation_n1_a() { |
| 3542 super.test_parseAnnotation_n1_a(); |
| 3543 } |
| 3544 |
| 3545 @override |
| 3546 @failingTest |
| 3547 void test_parseAnnotation_n2() { |
| 3548 super.test_parseAnnotation_n2(); |
| 3549 } |
| 3550 |
| 3551 @override |
| 3552 @failingTest |
| 3553 void test_parseAnnotation_n2_a() { |
| 3554 super.test_parseAnnotation_n2_a(); |
| 3555 } |
| 3556 |
| 3557 @override |
| 3558 @failingTest |
| 3559 void test_parseAnnotation_n3() { |
| 3560 super.test_parseAnnotation_n3(); |
| 3561 } |
| 3562 |
| 3563 @override |
| 3564 @failingTest |
| 3565 void test_parseAnnotation_n3_a() { |
| 3566 super.test_parseAnnotation_n3_a(); |
| 3567 } |
| 3568 |
| 3569 @override |
| 3570 @failingTest |
| 3571 void test_parseArgument_named() { |
| 3572 super.test_parseArgument_named(); |
| 3573 } |
| 3574 |
| 3575 @override |
| 3576 @failingTest |
| 3577 void test_parseArgument_unnamed() { |
| 3578 super.test_parseArgument_unnamed(); |
| 3579 } |
| 3580 |
| 3581 @override |
| 3582 @failingTest |
| 3583 void test_parseArgumentList_empty() { |
| 3584 super.test_parseArgumentList_empty(); |
| 3585 } |
| 3586 |
| 3587 @override |
| 3588 @failingTest |
| 3589 void test_parseArgumentList_mixed() { |
| 3590 super.test_parseArgumentList_mixed(); |
| 3591 } |
| 3592 |
| 3593 @override |
| 3594 @failingTest |
| 3595 void test_parseArgumentList_noNamed() { |
| 3596 super.test_parseArgumentList_noNamed(); |
| 3597 } |
| 3598 |
| 3599 @override |
| 3600 @failingTest |
| 3601 void test_parseArgumentList_onlyNamed() { |
| 3602 super.test_parseArgumentList_onlyNamed(); |
| 3603 } |
| 3604 |
| 3605 @override |
| 3606 @failingTest |
| 3607 void test_parseArgumentList_trailing_comma() { |
| 3608 super.test_parseArgumentList_trailing_comma(); |
| 3609 } |
| 3610 |
| 3611 @override |
| 3612 @failingTest |
| 3613 void test_parseCombinator_hide() { |
| 3614 super.test_parseCombinator_hide(); |
| 3615 } |
| 3616 |
| 3617 @override |
| 3618 @failingTest |
| 3619 void test_parseCombinator_show() { |
| 3620 super.test_parseCombinator_show(); |
| 3621 } |
| 3622 |
| 3623 @override |
| 3624 @failingTest |
| 3625 void test_parseCombinators_h() { |
| 3626 super.test_parseCombinators_h(); |
| 3627 } |
| 3628 |
| 3629 @override |
| 3630 @failingTest |
| 3631 void test_parseCombinators_hs() { |
| 3632 super.test_parseCombinators_hs(); |
| 3633 } |
| 3634 |
| 3635 @override |
| 3636 @failingTest |
| 3637 void test_parseCombinators_hshs() { |
| 3638 super.test_parseCombinators_hshs(); |
| 3639 } |
| 3640 |
| 3641 @override |
| 3642 @failingTest |
| 3643 void test_parseCombinators_s() { |
| 3644 super.test_parseCombinators_s(); |
| 3645 } |
| 3646 |
| 3647 @override |
| 3648 @failingTest |
| 3649 void test_parseCommentAndMetadata_c() { |
| 3650 super.test_parseCommentAndMetadata_c(); |
| 3651 } |
| 3652 |
| 3653 @override |
| 3654 @failingTest |
| 3655 void test_parseCommentAndMetadata_cmc() { |
| 3656 super.test_parseCommentAndMetadata_cmc(); |
| 3657 } |
| 3658 |
| 3659 @override |
| 3660 @failingTest |
| 3661 void test_parseCommentAndMetadata_cmcm() { |
| 3662 super.test_parseCommentAndMetadata_cmcm(); |
| 3663 } |
| 3664 |
| 3665 @override |
| 3666 @failingTest |
| 3667 void test_parseCommentAndMetadata_cmm() { |
| 3668 super.test_parseCommentAndMetadata_cmm(); |
| 3669 } |
| 3670 |
| 3671 @override |
| 3672 @failingTest |
| 3673 void test_parseCommentAndMetadata_m() { |
| 3674 super.test_parseCommentAndMetadata_m(); |
| 3675 } |
| 3676 |
| 3677 @override |
| 3678 @failingTest |
| 3679 void test_parseCommentAndMetadata_mcm() { |
| 3680 super.test_parseCommentAndMetadata_mcm(); |
| 3681 } |
| 3682 |
| 3683 @override |
| 3684 @failingTest |
| 3685 void test_parseCommentAndMetadata_mcmc() { |
| 3686 super.test_parseCommentAndMetadata_mcmc(); |
| 3687 } |
| 3688 |
| 3689 @override |
| 3690 @failingTest |
| 3691 void test_parseCommentAndMetadata_mm() { |
| 3692 super.test_parseCommentAndMetadata_mm(); |
| 3693 } |
| 3694 |
| 3695 @override |
| 3696 @failingTest |
| 3697 void test_parseCommentAndMetadata_none() { |
| 3698 super.test_parseCommentAndMetadata_none(); |
| 3699 } |
| 3700 |
| 3701 @override |
| 3702 @failingTest |
| 3703 void test_parseCommentAndMetadata_singleLine() { |
| 3704 super.test_parseCommentAndMetadata_singleLine(); |
| 3705 } |
| 3706 |
| 3707 @override |
| 3708 @failingTest |
| 3709 void test_parseConfiguration_noOperator_dottedIdentifier() { |
| 3710 super.test_parseConfiguration_noOperator_dottedIdentifier(); |
| 3711 } |
| 3712 |
| 3713 @override |
| 3714 @failingTest |
| 3715 void test_parseConfiguration_noOperator_simpleIdentifier() { |
| 3716 super.test_parseConfiguration_noOperator_simpleIdentifier(); |
| 3717 } |
| 3718 |
| 3719 @override |
| 3720 @failingTest |
| 3721 void test_parseConfiguration_operator_dottedIdentifier() { |
| 3722 super.test_parseConfiguration_operator_dottedIdentifier(); |
| 3723 } |
| 3724 |
| 3725 @override |
| 3726 @failingTest |
| 3727 void test_parseConfiguration_operator_simpleIdentifier() { |
| 3728 super.test_parseConfiguration_operator_simpleIdentifier(); |
| 3729 } |
| 3730 |
| 3731 @override |
| 3732 @failingTest |
| 3733 void test_parseConstructorName_named_noPrefix() { |
| 3734 super.test_parseConstructorName_named_noPrefix(); |
| 3735 } |
| 3736 |
| 3737 @override |
| 3738 @failingTest |
| 3739 void test_parseConstructorName_named_prefixed() { |
| 3740 super.test_parseConstructorName_named_prefixed(); |
| 3741 } |
| 3742 |
| 3743 @override |
| 3744 @failingTest |
| 3745 void test_parseConstructorName_unnamed_noPrefix() { |
| 3746 super.test_parseConstructorName_unnamed_noPrefix(); |
| 3747 } |
| 3748 |
| 3749 @override |
| 3750 @failingTest |
| 3751 void test_parseConstructorName_unnamed_prefixed() { |
| 3752 super.test_parseConstructorName_unnamed_prefixed(); |
| 3753 } |
| 3754 |
| 3755 @override |
| 3756 @failingTest |
| 3757 void test_parseDocumentationComment_block() { |
| 3758 super.test_parseDocumentationComment_block(); |
| 3759 } |
| 3760 |
| 3761 @override |
| 3762 @failingTest |
| 3763 void test_parseDocumentationComment_block_withReference() { |
| 3764 super.test_parseDocumentationComment_block_withReference(); |
| 3765 } |
| 3766 |
| 3767 @override |
| 3768 @failingTest |
| 3769 void test_parseDocumentationComment_endOfLine() { |
| 3770 super.test_parseDocumentationComment_endOfLine(); |
| 3771 } |
| 3772 |
| 3773 @override |
| 3774 @failingTest |
| 3775 void test_parseDottedName_multiple() { |
| 3776 super.test_parseDottedName_multiple(); |
| 3777 } |
| 3778 |
| 3779 @override |
| 3780 @failingTest |
| 3781 void test_parseDottedName_single() { |
| 3782 super.test_parseDottedName_single(); |
| 3783 } |
| 3784 |
| 3785 @override |
| 3786 @failingTest |
| 3787 void test_parseExtendsClause() { |
| 3788 super.test_parseExtendsClause(); |
| 3789 } |
| 3790 |
| 3791 @override |
| 3792 @failingTest |
| 3793 void test_parseFinalConstVarOrType_const_functionType() { |
| 3794 super.test_parseFinalConstVarOrType_const_functionType(); |
| 3795 } |
| 3796 |
| 3797 @override |
| 3798 @failingTest |
| 3799 void test_parseFinalConstVarOrType_const_namedType() { |
| 3800 super.test_parseFinalConstVarOrType_const_namedType(); |
| 3801 } |
| 3802 |
| 3803 @override |
| 3804 @failingTest |
| 3805 void test_parseFinalConstVarOrType_const_noType() { |
| 3806 super.test_parseFinalConstVarOrType_const_noType(); |
| 3807 } |
| 3808 |
| 3809 @override |
| 3810 @failingTest |
| 3811 void test_parseFinalConstVarOrType_final_functionType() { |
| 3812 super.test_parseFinalConstVarOrType_final_functionType(); |
| 3813 } |
| 3814 |
| 3815 @override |
| 3816 @failingTest |
| 3817 void test_parseFinalConstVarOrType_final_namedType() { |
| 3818 super.test_parseFinalConstVarOrType_final_namedType(); |
| 3819 } |
| 3820 |
| 3821 @override |
| 3822 @failingTest |
| 3823 void test_parseFinalConstVarOrType_final_noType() { |
| 3824 super.test_parseFinalConstVarOrType_final_noType(); |
| 3825 } |
| 3826 |
| 3827 @override |
| 3828 @failingTest |
| 3829 void test_parseFinalConstVarOrType_final_prefixedType() { |
| 3830 super.test_parseFinalConstVarOrType_final_prefixedType(); |
| 3831 } |
| 3832 |
| 3833 @override |
| 3834 @failingTest |
| 3835 void test_parseFinalConstVarOrType_type_function() { |
| 3836 super.test_parseFinalConstVarOrType_type_function(); |
| 3837 } |
| 3838 |
| 3839 @override |
| 3840 @failingTest |
| 3841 void test_parseFinalConstVarOrType_type_parameterized() { |
| 3842 super.test_parseFinalConstVarOrType_type_parameterized(); |
| 3843 } |
| 3844 |
| 3845 @override |
| 3846 @failingTest |
| 3847 void test_parseFinalConstVarOrType_type_prefixed() { |
| 3848 super.test_parseFinalConstVarOrType_type_prefixed(); |
| 3849 } |
| 3850 |
| 3851 @override |
| 3852 @failingTest |
| 3853 void test_parseFinalConstVarOrType_type_prefixed_noIdentifier() { |
| 3854 super.test_parseFinalConstVarOrType_type_prefixed_noIdentifier(); |
| 3855 } |
| 3856 |
| 3857 @override |
| 3858 @failingTest |
| 3859 void test_parseFinalConstVarOrType_type_prefixedAndParameterized() { |
| 3860 super.test_parseFinalConstVarOrType_type_prefixedAndParameterized(); |
| 3861 } |
| 3862 |
| 3863 @override |
| 3864 @failingTest |
| 3865 void test_parseFinalConstVarOrType_type_simple() { |
| 3866 super.test_parseFinalConstVarOrType_type_simple(); |
| 3867 } |
| 3868 |
| 3869 @override |
| 3870 @failingTest |
| 3871 void test_parseFinalConstVarOrType_type_simple_noIdentifier_inFunctionType() { |
| 3872 super |
| 3873 .test_parseFinalConstVarOrType_type_simple_noIdentifier_inFunctionType()
; |
| 3874 } |
| 3875 |
| 3876 @override |
| 3877 @failingTest |
| 3878 void test_parseFinalConstVarOrType_var() { |
| 3879 super.test_parseFinalConstVarOrType_var(); |
| 3880 } |
| 3881 |
| 3882 @override |
| 3883 @failingTest |
| 3884 void test_parseFinalConstVarOrType_void() { |
| 3885 super.test_parseFinalConstVarOrType_void(); |
| 3886 } |
| 3887 |
| 3888 @override |
| 3889 @failingTest |
| 3890 void test_parseFinalConstVarOrType_void_identifier() { |
| 3891 super.test_parseFinalConstVarOrType_void_identifier(); |
| 3892 } |
| 3893 |
| 3894 @override |
| 3895 @failingTest |
| 3896 void test_parseFinalConstVarOrType_void_noIdentifier() { |
| 3897 super.test_parseFinalConstVarOrType_void_noIdentifier(); |
| 3898 } |
| 3899 |
| 3900 @override |
| 3901 @failingTest |
| 3902 void test_parseFunctionBody_block() { |
| 3903 super.test_parseFunctionBody_block(); |
| 3904 } |
| 3905 |
| 3906 @override |
| 3907 @failingTest |
| 3908 void test_parseFunctionBody_block_async() { |
| 3909 super.test_parseFunctionBody_block_async(); |
| 3910 } |
| 3911 |
| 3912 @override |
| 3913 @failingTest |
| 3914 void test_parseFunctionBody_block_asyncGenerator() { |
| 3915 super.test_parseFunctionBody_block_asyncGenerator(); |
| 3916 } |
| 3917 |
| 3918 @override |
| 3919 @failingTest |
| 3920 void test_parseFunctionBody_block_syncGenerator() { |
| 3921 super.test_parseFunctionBody_block_syncGenerator(); |
| 3922 } |
| 3923 |
| 3924 @override |
| 3925 @failingTest |
| 3926 void test_parseFunctionBody_empty() { |
| 3927 super.test_parseFunctionBody_empty(); |
| 3928 } |
| 3929 |
| 3930 @override |
| 3931 @failingTest |
| 3932 void test_parseFunctionBody_expression() { |
| 3933 super.test_parseFunctionBody_expression(); |
| 3934 } |
| 3935 |
| 3936 @override |
| 3937 @failingTest |
| 3938 void test_parseFunctionBody_expression_async() { |
| 3939 super.test_parseFunctionBody_expression_async(); |
| 3940 } |
| 3941 |
| 3942 @override |
| 3943 @failingTest |
| 3944 void test_parseFunctionBody_skip_block() { |
| 3945 super.test_parseFunctionBody_skip_block(); |
| 3946 } |
| 3947 |
| 3948 @override |
| 3949 @failingTest |
| 3950 void test_parseFunctionBody_skip_block_invalid() { |
| 3951 super.test_parseFunctionBody_skip_block_invalid(); |
| 3952 } |
| 3953 |
| 3954 @override |
| 3955 @failingTest |
| 3956 void test_parseFunctionBody_skip_blocks() { |
| 3957 super.test_parseFunctionBody_skip_blocks(); |
| 3958 } |
| 3959 |
| 3960 @override |
| 3961 @failingTest |
| 3962 void test_parseFunctionBody_skip_expression() { |
| 3963 super.test_parseFunctionBody_skip_expression(); |
| 3964 } |
| 3965 |
| 3966 @override |
| 3967 @failingTest |
| 3968 void test_parseIdentifierList_multiple() { |
| 3969 super.test_parseIdentifierList_multiple(); |
| 3970 } |
| 3971 |
| 3972 @override |
| 3973 @failingTest |
| 3974 void test_parseIdentifierList_single() { |
| 3975 super.test_parseIdentifierList_single(); |
| 3976 } |
| 3977 |
| 3978 @override |
| 3979 @failingTest |
| 3980 void test_parseImplementsClause_multiple() { |
| 3981 super.test_parseImplementsClause_multiple(); |
| 3982 } |
| 3983 |
| 3984 @override |
| 3985 @failingTest |
| 3986 void test_parseImplementsClause_single() { |
| 3987 super.test_parseImplementsClause_single(); |
| 3988 } |
| 3989 |
| 3990 @override |
| 3991 @failingTest |
| 3992 void test_parseLibraryIdentifier_multiple() { |
| 3993 super.test_parseLibraryIdentifier_multiple(); |
| 3994 } |
| 3995 |
| 3996 @override |
| 3997 @failingTest |
| 3998 void test_parseLibraryIdentifier_single() { |
| 3999 super.test_parseLibraryIdentifier_single(); |
| 4000 } |
| 4001 |
| 4002 @override |
| 4003 @failingTest |
| 4004 void test_parseModifiers_abstract() { |
| 4005 super.test_parseModifiers_abstract(); |
| 4006 } |
| 4007 |
| 4008 @override |
| 4009 @failingTest |
| 4010 void test_parseModifiers_const() { |
| 4011 super.test_parseModifiers_const(); |
| 4012 } |
| 4013 |
| 4014 @override |
| 4015 @failingTest |
| 4016 void test_parseModifiers_covariant() { |
| 4017 super.test_parseModifiers_covariant(); |
| 4018 } |
| 4019 |
| 4020 @override |
| 4021 @failingTest |
| 4022 void test_parseModifiers_external() { |
| 4023 super.test_parseModifiers_external(); |
| 4024 } |
| 4025 |
| 4026 @override |
| 4027 @failingTest |
| 4028 void test_parseModifiers_factory() { |
| 4029 super.test_parseModifiers_factory(); |
| 4030 } |
| 4031 |
| 4032 @override |
| 4033 @failingTest |
| 4034 void test_parseModifiers_final() { |
| 4035 super.test_parseModifiers_final(); |
| 4036 } |
| 4037 |
| 4038 @override |
| 4039 @failingTest |
| 4040 void test_parseModifiers_static() { |
| 4041 super.test_parseModifiers_static(); |
| 4042 } |
| 4043 |
| 4044 @override |
| 4045 @failingTest |
| 4046 void test_parseModifiers_var() { |
| 4047 super.test_parseModifiers_var(); |
| 4048 } |
| 4049 |
| 4050 @override |
| 4051 @failingTest |
| 4052 void test_parseReturnStatement_noValue() { |
| 4053 super.test_parseReturnStatement_noValue(); |
| 4054 } |
| 4055 |
| 4056 @override |
| 4057 @failingTest |
| 4058 void test_parseReturnStatement_value() { |
| 4059 super.test_parseReturnStatement_value(); |
| 4060 } |
| 4061 |
| 4062 @override |
| 4063 @failingTest |
| 4064 void test_parseReturnType_function() { |
| 4065 super.test_parseReturnType_function(); |
| 4066 } |
| 4067 |
| 4068 @override |
| 4069 @failingTest |
| 4070 void test_parseReturnType_named() { |
| 4071 super.test_parseReturnType_named(); |
| 4072 } |
| 4073 |
| 4074 @override |
| 4075 @failingTest |
| 4076 void test_parseReturnType_void() { |
| 4077 super.test_parseReturnType_void(); |
| 4078 } |
| 4079 |
| 4080 @override |
| 4081 @failingTest |
| 4082 void test_parseStatement_function_noReturnType() { |
| 4083 super.test_parseStatement_function_noReturnType(); |
| 4084 } |
| 4085 |
| 4086 @override |
| 4087 @failingTest |
| 4088 void test_parseTypeAnnotation_function_noReturnType_noParameters() { |
| 4089 super.test_parseTypeAnnotation_function_noReturnType_noParameters(); |
| 4090 } |
| 4091 |
| 4092 @override |
| 4093 @failingTest |
| 4094 void test_parseTypeAnnotation_function_noReturnType_parameters() { |
| 4095 super.test_parseTypeAnnotation_function_noReturnType_parameters(); |
| 4096 } |
| 4097 |
| 4098 @override |
| 4099 @failingTest |
| 4100 void test_parseTypeAnnotation_function_noReturnType_typeParameters() { |
| 4101 super.test_parseTypeAnnotation_function_noReturnType_typeParameters(); |
| 4102 } |
| 4103 |
| 4104 @override |
| 4105 @failingTest |
| 4106 void |
| 4107 test_parseTypeAnnotation_function_noReturnType_typeParameters_parameters()
{ |
| 4108 super |
| 4109 .test_parseTypeAnnotation_function_noReturnType_typeParameters_parameter
s(); |
| 4110 } |
| 4111 |
| 4112 @override |
| 4113 @failingTest |
| 4114 void test_parseTypeAnnotation_function_returnType_classFunction() { |
| 4115 super.test_parseTypeAnnotation_function_returnType_classFunction(); |
| 4116 } |
| 4117 |
| 4118 @override |
| 4119 @failingTest |
| 4120 void test_parseTypeAnnotation_function_returnType_function() { |
| 4121 super.test_parseTypeAnnotation_function_returnType_function(); |
| 4122 } |
| 4123 |
| 4124 @override |
| 4125 @failingTest |
| 4126 void test_parseTypeAnnotation_function_returnType_noParameters() { |
| 4127 super.test_parseTypeAnnotation_function_returnType_noParameters(); |
| 4128 } |
| 4129 |
| 4130 @override |
| 4131 @failingTest |
| 4132 void test_parseTypeAnnotation_function_returnType_parameters() { |
| 4133 super.test_parseTypeAnnotation_function_returnType_parameters(); |
| 4134 } |
| 4135 |
| 4136 @override |
| 4137 @failingTest |
| 4138 void test_parseTypeAnnotation_function_returnType_simple() { |
| 4139 super.test_parseTypeAnnotation_function_returnType_simple(); |
| 4140 } |
| 4141 |
| 4142 @override |
| 4143 @failingTest |
| 4144 void test_parseTypeAnnotation_function_returnType_typeParameters() { |
| 4145 super.test_parseTypeAnnotation_function_returnType_typeParameters(); |
| 4146 } |
| 4147 |
| 4148 @override |
| 4149 @failingTest |
| 4150 void |
| 4151 test_parseTypeAnnotation_function_returnType_typeParameters_parameters() { |
| 4152 super |
| 4153 .test_parseTypeAnnotation_function_returnType_typeParameters_parameters(
); |
| 4154 } |
| 4155 |
| 4156 @override |
| 4157 @failingTest |
| 4158 void test_parseTypeAnnotation_function_returnType_withArguments() { |
| 4159 super.test_parseTypeAnnotation_function_returnType_withArguments(); |
| 4160 } |
| 4161 |
| 4162 @override |
| 4163 @failingTest |
| 4164 void test_parseTypeAnnotation_named() { |
| 4165 super.test_parseTypeAnnotation_named(); |
| 4166 } |
| 4167 |
| 4168 @override |
| 4169 @failingTest |
| 4170 void test_parseTypeArgumentList_empty() { |
| 4171 super.test_parseTypeArgumentList_empty(); |
| 4172 } |
| 4173 |
| 4174 @override |
| 4175 @failingTest |
| 4176 void test_parseTypeArgumentList_multiple() { |
| 4177 super.test_parseTypeArgumentList_multiple(); |
| 4178 } |
| 4179 |
| 4180 @override |
| 4181 @failingTest |
| 4182 void test_parseTypeArgumentList_nested() { |
| 4183 super.test_parseTypeArgumentList_nested(); |
| 4184 } |
| 4185 |
| 4186 @override |
| 4187 @failingTest |
| 4188 void test_parseTypeArgumentList_nested_withComment_double() { |
| 4189 super.test_parseTypeArgumentList_nested_withComment_double(); |
| 4190 } |
| 4191 |
| 4192 @override |
| 4193 @failingTest |
| 4194 void test_parseTypeArgumentList_nested_withComment_tripple() { |
| 4195 super.test_parseTypeArgumentList_nested_withComment_tripple(); |
| 4196 } |
| 4197 |
| 4198 @override |
| 4199 @failingTest |
| 4200 void test_parseTypeArgumentList_single() { |
| 4201 super.test_parseTypeArgumentList_single(); |
| 4202 } |
| 4203 |
| 4204 @override |
| 4205 @failingTest |
| 4206 void test_parseTypeName_parameterized() { |
| 4207 super.test_parseTypeName_parameterized(); |
| 4208 } |
| 4209 |
| 4210 @override |
| 4211 @failingTest |
| 4212 void test_parseTypeName_parameterized_nullable() { |
| 4213 super.test_parseTypeName_parameterized_nullable(); |
| 4214 } |
| 4215 |
| 4216 @override |
| 4217 @failingTest |
| 4218 void test_parseTypeName_simple() { |
| 4219 super.test_parseTypeName_simple(); |
| 4220 } |
| 4221 |
| 4222 @override |
| 4223 @failingTest |
| 4224 void test_parseTypeName_simple_nullable() { |
| 4225 super.test_parseTypeName_simple_nullable(); |
| 4226 } |
| 4227 |
| 4228 @override |
| 4229 @failingTest |
| 4230 void test_parseTypeParameter_bounded_functionType_noReturn() { |
| 4231 super.test_parseTypeParameter_bounded_functionType_noReturn(); |
| 4232 } |
| 4233 |
| 4234 @override |
| 4235 @failingTest |
| 4236 void test_parseTypeParameter_bounded_functionType_return() { |
| 4237 super.test_parseTypeParameter_bounded_functionType_return(); |
| 4238 } |
| 4239 |
| 4240 @override |
| 4241 @failingTest |
| 4242 void test_parseTypeParameter_bounded_generic() { |
| 4243 super.test_parseTypeParameter_bounded_generic(); |
| 4244 } |
| 4245 |
| 4246 @override |
| 4247 @failingTest |
| 4248 void test_parseTypeParameter_bounded_nullable() { |
| 4249 super.test_parseTypeParameter_bounded_nullable(); |
| 4250 } |
| 4251 |
| 4252 @override |
| 4253 @failingTest |
| 4254 void test_parseTypeParameter_bounded_simple() { |
| 4255 super.test_parseTypeParameter_bounded_simple(); |
| 4256 } |
| 4257 |
| 4258 @override |
| 4259 @failingTest |
| 4260 void test_parseTypeParameter_simple() { |
| 4261 super.test_parseTypeParameter_simple(); |
| 4262 } |
| 4263 |
| 4264 @override |
| 4265 @failingTest |
| 4266 void test_parseTypeParameterList_multiple() { |
| 4267 super.test_parseTypeParameterList_multiple(); |
| 4268 } |
| 4269 |
| 4270 @override |
| 4271 @failingTest |
| 4272 void test_parseTypeParameterList_parameterizedWithTrailingEquals() { |
| 4273 super.test_parseTypeParameterList_parameterizedWithTrailingEquals(); |
| 4274 } |
| 4275 |
| 4276 @override |
| 4277 @failingTest |
| 4278 void test_parseTypeParameterList_single() { |
| 4279 super.test_parseTypeParameterList_single(); |
| 4280 } |
| 4281 |
| 4282 @override |
| 4283 @failingTest |
| 4284 void test_parseTypeParameterList_withTrailingEquals() { |
| 4285 super.test_parseTypeParameterList_withTrailingEquals(); |
| 4286 } |
| 4287 |
| 4288 @override |
| 4289 @failingTest |
| 4290 void test_parseVariableDeclaration_equals() { |
| 4291 super.test_parseVariableDeclaration_equals(); |
| 4292 } |
| 4293 |
| 4294 @override |
| 4295 @failingTest |
| 4296 void test_parseVariableDeclaration_noEquals() { |
| 4297 super.test_parseVariableDeclaration_noEquals(); |
| 4298 } |
| 4299 |
| 4300 @override |
| 4301 @failingTest |
| 4302 void test_parseWithClause_multiple() { |
| 4303 super.test_parseWithClause_multiple(); |
| 4304 } |
| 4305 |
| 4306 @override |
| 4307 @failingTest |
| 4308 void test_parseWithClause_single() { |
| 4309 super.test_parseWithClause_single(); |
| 4310 } |
| 4311 } |
| 4312 |
| 3529 /** | 4313 /** |
| 3530 * Tests of the fasta parser based on [StatementParserTestMixin]. | 4314 * Tests of the fasta parser based on [StatementParserTestMixin]. |
| 3531 */ | 4315 */ |
| 3532 @reflectiveTest | 4316 @reflectiveTest |
| 3533 class StatementParserTest_Fasta extends FastaParserTestCase | 4317 class StatementParserTest_Fasta extends FastaParserTestCase |
| 3534 with StatementParserTestMixin { | 4318 with StatementParserTestMixin { |
| 3535 @override | 4319 @override |
| 3536 @failingTest | 4320 @failingTest |
| 3537 void test_parseAssertStatement_trailingComma_message() { | 4321 void test_parseAssertStatement_trailingComma_message() { |
| 3538 super.test_parseAssertStatement_trailingComma_message(); | 4322 super.test_parseAssertStatement_trailingComma_message(); |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3679 @override | 4463 @override |
| 3680 @failingTest | 4464 @failingTest |
| 3681 void test_parseDirectives_mixed() { | 4465 void test_parseDirectives_mixed() { |
| 3682 // TODO(paulberry,ahe): This test verifies the analyzer parser's ability to | 4466 // TODO(paulberry,ahe): This test verifies the analyzer parser's ability to |
| 3683 // stop parsing as soon as the first non-directive is encountered; this is | 4467 // stop parsing as soon as the first non-directive is encountered; this is |
| 3684 // useful for quickly traversing an import graph. Consider adding a similar | 4468 // useful for quickly traversing an import graph. Consider adding a similar |
| 3685 // ability to Fasta's parser. | 4469 // ability to Fasta's parser. |
| 3686 super.test_parseDirectives_mixed(); | 4470 super.test_parseDirectives_mixed(); |
| 3687 } | 4471 } |
| 3688 } | 4472 } |
| OLD | NEW |