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

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

Issue 2804753003: Parse type substitution comments /*=T*/ in variable declarations with Fasta. (Closed)
Patch Set: Move generic comment 'inject' methods to Listener. Created 3 years, 8 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 464de0916e126c8da279ea73ca2bf1b888098138..605bd9426b912c216d06aed26669f2413cb3b0d6 100644
--- a/pkg/analyzer/test/generated/parser_fasta_test.dart
+++ b/pkg/analyzer/test/generated/parser_fasta_test.dart
@@ -232,12 +232,6 @@ class ExpressionParserTest_Fasta extends FastaParserTestCase
@override
@failingTest
- void test_parseFunctionExpression_typeParameterComments() {
- super.test_parseFunctionExpression_typeParameterComments();
- }
-
- @override
- @failingTest
void test_parseInstanceCreationExpression_type_named_typeArgumentComments() {
super
.test_parseInstanceCreationExpression_type_named_typeArgumentComments();
@@ -803,8 +797,8 @@ class ParserProxy implements analyzer.Parser {
var elementStore = new ElementStoreProxy();
var scope = new ScopeProxy();
var astBuilder = new AstBuilder(null, library, member, elementStore, scope);
+ astBuilder.parseGenericMethodComments = enableGenericMethodComments;
var fastaParser = new fasta.Parser(astBuilder);
- fastaParser.parseGenericMethodComments = enableGenericMethodComments;
return new ParserProxy._(startingToken, fastaParser, astBuilder);
}
@@ -902,13 +896,6 @@ class StatementParserTest_Fasta extends FastaParserTestCase
@override
@failingTest
- void test_parseFunctionDeclarationStatement_typeParameterComments() {
- // TODO(scheglov): Fasta doesn't support generic comment syntax.
- super.test_parseFunctionDeclarationStatement_typeParameterComments();
- }
-
- @override
- @failingTest
void test_parseStatement_emptyTypeArgumentList() {
super.test_parseStatement_emptyTypeArgumentList();
}
@@ -930,36 +917,6 @@ class StatementParserTest_Fasta extends FastaParserTestCase
void test_parseTryStatement_on_catch_finally() {
super.test_parseTryStatement_on_catch_finally();
}
-
- @override
- @failingTest
- void test_parseVariableDeclarationListAfterMetadata_const_typeComment() {
- super.test_parseVariableDeclarationListAfterMetadata_const_typeComment();
- }
-
- @override
- @failingTest
- void test_parseVariableDeclarationListAfterMetadata_dynamic_typeComment() {
- super.test_parseVariableDeclarationListAfterMetadata_dynamic_typeComment();
- }
-
- @override
- @failingTest
- void test_parseVariableDeclarationListAfterMetadata_final_typeComment() {
- super.test_parseVariableDeclarationListAfterMetadata_final_typeComment();
- }
-
- @override
- @failingTest
- void test_parseVariableDeclarationListAfterMetadata_type_typeComment() {
- super.test_parseVariableDeclarationListAfterMetadata_type_typeComment();
- }
-
- @override
- @failingTest
- void test_parseVariableDeclarationListAfterMetadata_var_typeComment() {
- super.test_parseVariableDeclarationListAfterMetadata_var_typeComment();
- }
}
/**

Powered by Google App Engine
This is Rietveld 408576698