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

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

Issue 2796123002: Move tests for parseVariableDeclarationList(), fix for keywords. (Closed)
Patch Set: 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
« no previous file with comments | « pkg/analyzer/lib/src/fasta/ast_builder.dart ('k') | pkg/analyzer/test/generated/parser_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 dd9cc72e13603fb66c914319f9270b83f83ab0a6..b508125cb23e6391bd03a984b12b30d928ef5656 100644
--- a/pkg/analyzer/test/generated/parser_fasta_test.dart
+++ b/pkg/analyzer/test/generated/parser_fasta_test.dart
@@ -661,6 +661,12 @@ class FastaParserTestCase extends Object
return _parseExpression(code);
}
+ @override
+ VariableDeclarationList parseVariableDeclarationList(String code) {
+ var statement = parseStatement('$code;') as VariableDeclarationStatement;
+ return statement.variables;
+ }
+
Expression _parseExpression(String code) {
var statement = parseStatement('$code;') as ExpressionStatement;
return statement.expression;
@@ -941,6 +947,36 @@ 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();
+ }
}
/**
« no previous file with comments | « pkg/analyzer/lib/src/fasta/ast_builder.dart ('k') | pkg/analyzer/test/generated/parser_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698