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

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

Issue 2711813002: Add AstBuilder support for enum declarations. (Closed)
Patch Set: Created 3 years, 10 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
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 1055 matching lines...) Expand 10 before | Expand all | Expand 10 after
1066 1066
1067 @override 1067 @override
1068 @failingTest 1068 @failingTest
1069 void test_parseDirectives_script() { 1069 void test_parseDirectives_script() {
1070 // TODO(paulberry): No objects placed on stack 1070 // TODO(paulberry): No objects placed on stack
1071 super.test_parseDirectives_script(); 1071 super.test_parseDirectives_script();
1072 } 1072 }
1073 1073
1074 @override 1074 @override
1075 @failingTest 1075 @failingTest
1076 void test_parseEnumDeclaration_one() {
1077 // TODO(paulberry): Unhandled event: Enum
1078 super.test_parseEnumDeclaration_one();
1079 }
1080
1081 @override
1082 @failingTest
1083 void test_parseEnumDeclaration_trailingComma() {
1084 // TODO(paulberry): Unhandled event: Enum
1085 super.test_parseEnumDeclaration_trailingComma();
1086 }
1087
1088 @override
1089 @failingTest
1090 void test_parseEnumDeclaration_two() {
1091 // TODO(paulberry): Unhandled event: Enum
1092 super.test_parseEnumDeclaration_two();
1093 }
1094
1095 @override
1096 @failingTest
1097 void test_parseFunctionDeclaration_function() { 1076 void test_parseFunctionDeclaration_function() {
1098 // TODO(paulberry): handle doc comments 1077 // TODO(paulberry): handle doc comments
1099 super.test_parseFunctionDeclaration_function(); 1078 super.test_parseFunctionDeclaration_function();
1100 } 1079 }
1101 1080
1102 @override 1081 @override
1103 @failingTest 1082 @failingTest
1104 void test_parseFunctionDeclaration_functionWithTypeParameters() { 1083 void test_parseFunctionDeclaration_functionWithTypeParameters() {
1105 // TODO(paulberry): handle doc comments 1084 // TODO(paulberry): handle doc comments
1106 super.test_parseFunctionDeclaration_functionWithTypeParameters(); 1085 super.test_parseFunctionDeclaration_functionWithTypeParameters();
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
1220 void test_parseTypeAlias_genericFunction_typeParameters_voidReturnType() { 1199 void test_parseTypeAlias_genericFunction_typeParameters_voidReturnType() {
1221 super.test_parseTypeAlias_genericFunction_typeParameters_voidReturnType(); 1200 super.test_parseTypeAlias_genericFunction_typeParameters_voidReturnType();
1222 } 1201 }
1223 1202
1224 @override 1203 @override
1225 @failingTest 1204 @failingTest
1226 void test_parseTypeAlias_genericFunction_voidReturnType() { 1205 void test_parseTypeAlias_genericFunction_voidReturnType() {
1227 super.test_parseTypeAlias_genericFunction_voidReturnType(); 1206 super.test_parseTypeAlias_genericFunction_voidReturnType();
1228 } 1207 }
1229 } 1208 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698