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/element/element.dart'; | 6 import 'package:analyzer/dart/element/element.dart'; |
7 import 'package:analyzer/error/error.dart'; | 7 import 'package:analyzer/error/error.dart'; |
8 import 'package:analyzer/src/generated/parser.dart' as analyzer; | 8 import 'package:analyzer/src/generated/parser.dart' as analyzer; |
9 import 'package:analyzer/src/generated/utilities_dart.dart'; | 9 import 'package:analyzer/src/generated/utilities_dart.dart'; |
10 import 'package:front_end/src/fasta/analyzer/ast_builder.dart'; | 10 import 'package:front_end/src/fasta/analyzer/ast_builder.dart'; |
(...skipping 753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
764 } | 764 } |
765 | 765 |
766 /** | 766 /** |
767 * Tests of the fasta parser based on [FormalParameterParserTestMixin]. | 767 * Tests of the fasta parser based on [FormalParameterParserTestMixin]. |
768 */ | 768 */ |
769 @reflectiveTest | 769 @reflectiveTest |
770 class FormalParameterParserTest_Fasta extends FastaParserTestCase | 770 class FormalParameterParserTest_Fasta extends FastaParserTestCase |
771 with FormalParameterParserTestMixin { | 771 with FormalParameterParserTestMixin { |
772 @override | 772 @override |
773 @failingTest | 773 @failingTest |
774 void test_parseFormalParameter_covariant_final_named() { | |
775 // TODO(scheglov): Unhandled event: ValuedFormalParameter | |
776 super.test_parseFormalParameter_covariant_final_named(); | |
777 } | |
778 | |
779 @override | |
780 @failingTest | |
781 void test_parseFormalParameter_covariant_final_normal() { | |
782 // TODO(scheglov): parse final | |
783 super.test_parseFormalParameter_covariant_final_normal(); | |
784 } | |
785 | |
786 @override | |
787 @failingTest | |
788 void test_parseFormalParameter_covariant_final_positional() { | |
789 // TODO(scheglov): Unhandled event: ValuedFormalParameter | |
790 super.test_parseFormalParameter_covariant_final_positional(); | |
791 } | |
792 | |
793 @override | |
794 @failingTest | |
795 void test_parseFormalParameter_covariant_final_type_named() { | |
796 // TODO(scheglov): Unhandled event: ValuedFormalParameter | |
797 super.test_parseFormalParameter_covariant_final_type_named(); | |
798 } | |
799 | |
800 @override | |
801 @failingTest | |
802 void test_parseFormalParameter_covariant_final_type_normal() { | |
803 // TODO(scheglov): parse final | |
804 super.test_parseFormalParameter_covariant_final_type_normal(); | |
805 } | |
806 | |
807 @override | |
808 @failingTest | |
809 void test_parseFormalParameter_covariant_final_type_positional() { | |
810 // TODO(scheglov): Unhandled event: ValuedFormalParameter | |
811 super.test_parseFormalParameter_covariant_final_type_positional(); | |
812 } | |
813 | |
814 @override | |
815 @failingTest | |
816 void test_parseFormalParameter_covariant_type_function() { | 774 void test_parseFormalParameter_covariant_type_function() { |
817 // TODO(scheglov): Unhandled event: FunctionTypedFormalParameter | 775 // TODO(scheglov): Unhandled event: FunctionTypedFormalParameter |
818 super.test_parseFormalParameter_covariant_type_function(); | 776 super.test_parseFormalParameter_covariant_type_function(); |
819 } | 777 } |
820 | 778 |
821 @override | 779 @override |
822 @failingTest | 780 @failingTest |
823 void test_parseFormalParameter_covariant_type_named() { | |
824 // TODO(scheglov): Unhandled event: ValuedFormalParameter | |
825 super.test_parseFormalParameter_covariant_type_named(); | |
826 } | |
827 | |
828 @override | |
829 @failingTest | |
830 void test_parseFormalParameter_covariant_type_normal() { | |
831 // TODO(paulberry): Covariant keyword is not yet supported. | |
832 super.test_parseFormalParameter_covariant_type_normal(); | |
833 } | |
834 | |
835 @override | |
836 @failingTest | |
837 void test_parseFormalParameter_covariant_type_positional() { | |
838 // TODO(scheglov): Unhandled event: ValuedFormalParameter | |
839 super.test_parseFormalParameter_covariant_type_positional(); | |
840 } | |
841 | |
842 @override | |
843 @failingTest | |
844 void test_parseFormalParameter_covariant_var_named() { | |
845 // TODO(scheglov): Unhandled event: ValuedFormalParameter | |
846 super.test_parseFormalParameter_covariant_var_named(); | |
847 } | |
848 | |
849 @override | |
850 @failingTest | |
851 void test_parseFormalParameter_covariant_var_normal() { | |
852 // TODO(scheglov): parse var | |
853 super.test_parseFormalParameter_covariant_var_normal(); | |
854 } | |
855 | |
856 @override | |
857 @failingTest | |
858 void test_parseFormalParameter_covariant_var_positional() { | |
859 // TODO(scheglov): Unhandled event: ValuedFormalParameter | |
860 super.test_parseFormalParameter_covariant_var_positional(); | |
861 } | |
862 | |
863 @override | |
864 @failingTest | |
865 void test_parseFormalParameter_type_function() { | 781 void test_parseFormalParameter_type_function() { |
866 // TODO(scheglov): Unhandled event: FunctionTypedFormalParameter | 782 // TODO(scheglov): Unhandled event: FunctionTypedFormalParameter |
867 super.test_parseFormalParameter_type_function(); | 783 super.test_parseFormalParameter_type_function(); |
868 } | 784 } |
869 | 785 |
870 @override | 786 @override |
871 @failingTest | 787 @failingTest |
872 void test_parseFormalParameterList_named_multiple() { | 788 void test_parseFormalParameterList_named_multiple() { |
873 // TODO(scheglov): Unhandled event: ValuedFormalParameter | 789 // TODO(scheglov): Unhandled event: ValuedFormalParameter |
874 super.test_parseFormalParameterList_named_multiple(); | 790 super.test_parseFormalParameterList_named_multiple(); |
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1462 void test_parseTypeAlias_genericFunction_typeParameters_voidReturnType() { | 1378 void test_parseTypeAlias_genericFunction_typeParameters_voidReturnType() { |
1463 super.test_parseTypeAlias_genericFunction_typeParameters_voidReturnType(); | 1379 super.test_parseTypeAlias_genericFunction_typeParameters_voidReturnType(); |
1464 } | 1380 } |
1465 | 1381 |
1466 @override | 1382 @override |
1467 @failingTest | 1383 @failingTest |
1468 void test_parseTypeAlias_genericFunction_voidReturnType() { | 1384 void test_parseTypeAlias_genericFunction_voidReturnType() { |
1469 super.test_parseTypeAlias_genericFunction_voidReturnType(); | 1385 super.test_parseTypeAlias_genericFunction_voidReturnType(); |
1470 } | 1386 } |
1471 } | 1387 } |
OLD | NEW |