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

Unified Diff: pkg/analyzer/test/generated/parser_fasta_test.dart

Issue 2699423002: Implement AstBuilder support for top level variables and function literals. (Closed)
Patch Set: Comment changes 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 side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer/test/generated/parser_fasta_test.dart
diff --git a/pkg/analyzer/test/generated/parser_fasta_test.dart b/pkg/analyzer/test/generated/parser_fasta_test.dart
index 988fafa756b05688419e0637e73696f284d6ac98..6834daea917f7fd4f738f5d3857bcba398161e18 100644
--- a/pkg/analyzer/test/generated/parser_fasta_test.dart
+++ b/pkg/analyzer/test/generated/parser_fasta_test.dart
@@ -471,16 +471,9 @@ class TopLevelParserTest_Fasta extends FastaParserTestCase
with TopLevelParserTestMixin {
@override
@failingTest
- void test_function_literal_allowed_at_toplevel() {
- // TODO(paulberry): Unhandled event: UnnamedFunction
- super.test_function_literal_allowed_at_toplevel();
- }
-
- @override
- @failingTest
void
test_function_literal_allowed_in_ArgumentList_in_ConstructorFieldInitializer() {
- // TODO(paulberry): Unhandled event: UnnamedFunction
+ // TODO(paulberry): Unhandled event: Method
super
.test_function_literal_allowed_in_ArgumentList_in_ConstructorFieldInitializer();
}
@@ -489,7 +482,7 @@ class TopLevelParserTest_Fasta extends FastaParserTestCase
@failingTest
void
test_function_literal_allowed_in_IndexExpression_in_ConstructorFieldInitializer() {
- // TODO(paulberry): Unhandled event: UnnamedFunction
+ // TODO(paulberry): Unhandled event: Method
super
.test_function_literal_allowed_in_IndexExpression_in_ConstructorFieldInitializer();
}
@@ -498,7 +491,7 @@ class TopLevelParserTest_Fasta extends FastaParserTestCase
@failingTest
void
test_function_literal_allowed_in_ListLiteral_in_ConstructorFieldInitializer() {
- // TODO(paulberry): Unhandled event: UnnamedFunction
+ // TODO(paulberry): Unhandled event: Method
super
.test_function_literal_allowed_in_ListLiteral_in_ConstructorFieldInitializer();
}
@@ -507,7 +500,7 @@ class TopLevelParserTest_Fasta extends FastaParserTestCase
@failingTest
void
test_function_literal_allowed_in_MapLiteral_in_ConstructorFieldInitializer() {
- // TODO(paulberry): Unhandled event: UnnamedFunction
+ // TODO(paulberry): Unhandled event: Method
super
.test_function_literal_allowed_in_MapLiteral_in_ConstructorFieldInitializer();
}
@@ -516,7 +509,7 @@ class TopLevelParserTest_Fasta extends FastaParserTestCase
@failingTest
void
test_function_literal_allowed_in_ParenthesizedExpression_in_ConstructorFieldInitializer() {
- // TODO(paulberry): Unhandled event: UnnamedFunction
+ // TODO(paulberry): Unhandled event: Method
super
.test_function_literal_allowed_in_ParenthesizedExpression_in_ConstructorFieldInitializer();
}
@@ -525,7 +518,7 @@ class TopLevelParserTest_Fasta extends FastaParserTestCase
@failingTest
void
test_function_literal_allowed_in_StringInterpolation_in_ConstructorFieldInitializer() {
- // TODO(paulberry): Unhandled event: UnnamedFunction
+ // TODO(paulberry): Unhandled event: Method
super
.test_function_literal_allowed_in_StringInterpolation_in_ConstructorFieldInitializer();
}
@@ -639,20 +632,6 @@ class TopLevelParserTest_Fasta extends FastaParserTestCase
@override
@failingTest
- void test_parseCompilationUnitMember_constVariable() {
- // TODO(paulberry): Unhandled event: FieldInitializer
- super.test_parseCompilationUnitMember_constVariable();
- }
-
- @override
- @failingTest
- void test_parseCompilationUnitMember_finalVariable() {
- // TODO(paulberry): Unhandled event: FieldInitializer
- super.test_parseCompilationUnitMember_finalVariable();
- }
-
- @override
- @failingTest
void test_parseCompilationUnitMember_function_external_noType() {
// TODO(paulberry): Implement AstBuilder.handleModifier
super.test_parseCompilationUnitMember_function_external_noType();
@@ -775,27 +754,6 @@ class TopLevelParserTest_Fasta extends FastaParserTestCase
@override
@failingTest
- void test_parseCompilationUnitMember_variable() {
- // TODO(paulberry): Unhandled event: FieldInitializer
- super.test_parseCompilationUnitMember_variable();
- }
-
- @override
- @failingTest
- void test_parseCompilationUnitMember_variableGet() {
- // TODO(paulberry): Unhandled event: FieldInitializer
- super.test_parseCompilationUnitMember_variableGet();
- }
-
- @override
- @failingTest
- void test_parseCompilationUnitMember_variableSet() {
- // TODO(paulberry): Unhandled event: FieldInitializer
- super.test_parseCompilationUnitMember_variableSet();
- }
-
- @override
- @failingTest
void test_parseDirectives_complete() {
// TODO(paulberry,ahe): Fasta doesn't support script tags yet.
super.test_parseDirectives_complete();
« no previous file with comments | « no previous file | pkg/front_end/lib/src/fasta/analyzer/ast_builder.dart » ('j') | pkg/front_end/lib/src/fasta/parser/listener.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698