Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(575)

Side by Side Diff: pkg/analyzer/test/generated/parser_fasta_test.dart

Issue 2712023003: Support multiple optional parameters. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | pkg/front_end/lib/src/fasta/analyzer/ast_builder.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 767 matching lines...) Expand 10 before | Expand all | Expand 10 after
778 778
779 @override 779 @override
780 @failingTest 780 @failingTest
781 void test_parseFormalParameter_type_function() { 781 void test_parseFormalParameter_type_function() {
782 // TODO(scheglov): Unhandled event: FunctionTypedFormalParameter 782 // TODO(scheglov): Unhandled event: FunctionTypedFormalParameter
783 super.test_parseFormalParameter_type_function(); 783 super.test_parseFormalParameter_type_function();
784 } 784 }
785 785
786 @override 786 @override
787 @failingTest 787 @failingTest
788 void test_parseFormalParameterList_named_multiple() {
789 // TODO(scheglov): Unhandled event: ValuedFormalParameter
790 super.test_parseFormalParameterList_named_multiple();
791 }
792
793 @override
794 @failingTest
795 void test_parseFormalParameterList_named_single() {
796 // TODO(scheglov): Unhandled event: OptionalFormalParameters
797 super.test_parseFormalParameterList_named_single();
798 }
799
800 @override
801 @failingTest
802 void test_parseFormalParameterList_named_trailing_comma() {
803 // TODO(scheglov): Unhandled event: OptionalFormalParameters
804 super.test_parseFormalParameterList_named_trailing_comma();
805 }
806
807 @override
808 @failingTest
809 void test_parseFormalParameterList_normal_named() {
810 // TODO(scheglov): Unhandled event: OptionalFormalParameters
811 super.test_parseFormalParameterList_normal_named();
812 }
813
814 @override
815 @failingTest
816 void test_parseFormalParameterList_normal_named_inFunctionType() { 788 void test_parseFormalParameterList_normal_named_inFunctionType() {
817 // TODO(scheglov): Unhandled event: OptionalFormalParameters 789 // TODO(scheglov): Unhandled event: OptionalFormalParameters
818 super.test_parseFormalParameterList_normal_named_inFunctionType(); 790 super.test_parseFormalParameterList_normal_named_inFunctionType();
819 } 791 }
820 792
821 @override 793 @override
822 @failingTest 794 @failingTest
823 void test_parseFormalParameterList_normal_positional() {
824 // TODO(scheglov): Unhandled event: OptionalFormalParameters
825 super.test_parseFormalParameterList_normal_positional();
826 }
827
828 @override
829 @failingTest
830 void test_parseFormalParameterList_positional_multiple() {
831 // TODO(scheglov): Unhandled event: ValuedFormalParameter
832 super.test_parseFormalParameterList_positional_multiple();
833 }
834
835 @override
836 @failingTest
837 void test_parseFormalParameterList_positional_single() {
838 // TODO(scheglov): Unhandled event: ValuedFormalParameter
839 super.test_parseFormalParameterList_positional_single();
840 }
841
842 @override
843 @failingTest
844 void test_parseFormalParameterList_positional_trailing_comma() {
845 // TODO(scheglov): Unhandled event: OptionalFormalParameters
846 super.test_parseFormalParameterList_positional_trailing_comma();
847 }
848
849 @override
850 @failingTest
851 void test_parseFormalParameterList_prefixedType_partial() { 795 void test_parseFormalParameterList_prefixedType_partial() {
852 // TODO(scheglov): Unimplemented: errors 796 // TODO(scheglov): Unimplemented: errors
853 super.test_parseFormalParameterList_prefixedType_partial(); 797 super.test_parseFormalParameterList_prefixedType_partial();
854 } 798 }
855 799
856 @override 800 @override
857 @failingTest 801 @failingTest
858 void test_parseFormalParameterList_prefixedType_partial2() { 802 void test_parseFormalParameterList_prefixedType_partial2() {
859 // TODO(scheglov): Unimplemented: errors 803 // TODO(scheglov): Unimplemented: errors
860 super.test_parseFormalParameterList_prefixedType_partial2(); 804 super.test_parseFormalParameterList_prefixedType_partial2();
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after
1378 void test_parseTypeAlias_genericFunction_typeParameters_voidReturnType() { 1322 void test_parseTypeAlias_genericFunction_typeParameters_voidReturnType() {
1379 super.test_parseTypeAlias_genericFunction_typeParameters_voidReturnType(); 1323 super.test_parseTypeAlias_genericFunction_typeParameters_voidReturnType();
1380 } 1324 }
1381 1325
1382 @override 1326 @override
1383 @failingTest 1327 @failingTest
1384 void test_parseTypeAlias_genericFunction_voidReturnType() { 1328 void test_parseTypeAlias_genericFunction_voidReturnType() {
1385 super.test_parseTypeAlias_genericFunction_voidReturnType(); 1329 super.test_parseTypeAlias_genericFunction_voidReturnType();
1386 } 1330 }
1387 } 1331 }
OLDNEW
« no previous file with comments | « no previous file | pkg/front_end/lib/src/fasta/analyzer/ast_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698