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

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

Issue 3004843002: Move one test to run under Fasta, sort files (Closed)
Patch Set: Created 3 years, 4 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 | « no previous file | 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 d08a4a029407c010762ef3073885bb8c02e47bb2..4b707cfa45e7b24899b73928de743312351bb638 100644
--- a/pkg/analyzer/test/generated/parser_fasta_test.dart
+++ b/pkg/analyzer/test/generated/parser_fasta_test.dart
@@ -299,12 +299,6 @@ class ErrorParserTest_Fasta extends FastaParserTestCase
@override
@failingTest
- void test_constTypedef() {
- super.test_constTypedef();
- }
-
- @override
- @failingTest
void test_constructorWithReturnType() {
super.test_constructorWithReturnType();
}
@@ -317,6 +311,12 @@ class ErrorParserTest_Fasta extends FastaParserTestCase
@override
@failingTest
+ void test_constTypedef() {
+ super.test_constTypedef();
+ }
+
+ @override
+ @failingTest
void test_continueOutsideOfLoop_continueInDoStatement() {
super.test_continueOutsideOfLoop_continueInDoStatement();
}
@@ -455,12 +455,6 @@ class ErrorParserTest_Fasta extends FastaParserTestCase
@override
@failingTest
- void test_duplicateLabelInSwitchStatement() {
- super.test_duplicateLabelInSwitchStatement();
- }
-
- @override
- @failingTest
void test_duplicatedModifier_const() {
super.test_duplicatedModifier_const();
}
@@ -497,6 +491,12 @@ class ErrorParserTest_Fasta extends FastaParserTestCase
@override
@failingTest
+ void test_duplicateLabelInSwitchStatement() {
+ super.test_duplicateLabelInSwitchStatement();
+ }
+
+ @override
+ @failingTest
void test_emptyEnumBody() {
super.test_emptyEnumBody();
}
@@ -1320,12 +1320,6 @@ class ErrorParserTest_Fasta extends FastaParserTestCase
@override
@failingTest
- void test_missingIdentifierForParameterGroup() {
- super.test_missingIdentifierForParameterGroup();
- }
-
- @override
- @failingTest
void test_missingIdentifier_afterOperator() {
super.test_missingIdentifier_afterOperator();
}
@@ -1362,6 +1356,12 @@ class ErrorParserTest_Fasta extends FastaParserTestCase
@override
@failingTest
+ void test_missingIdentifierForParameterGroup() {
+ super.test_missingIdentifierForParameterGroup();
+ }
+
+ @override
+ @failingTest
void test_missingKeywordOperator() {
super.test_missingKeywordOperator();
}
@@ -1806,20 +1806,20 @@ class ErrorParserTest_Fasta extends FastaParserTestCase
@override
@failingTest
- void test_topLevelOperator_withType() {
- super.test_topLevelOperator_withType();
+ void test_topLevelOperator_withoutType() {
+ super.test_topLevelOperator_withoutType();
}
@override
@failingTest
- void test_topLevelOperator_withVoid() {
- super.test_topLevelOperator_withVoid();
+ void test_topLevelOperator_withType() {
+ super.test_topLevelOperator_withType();
}
@override
@failingTest
- void test_topLevelOperator_withoutType() {
- super.test_topLevelOperator_withoutType();
+ void test_topLevelOperator_withVoid() {
+ super.test_topLevelOperator_withVoid();
}
@override
@@ -1830,26 +1830,26 @@ class ErrorParserTest_Fasta extends FastaParserTestCase
@override
@failingTest
- void test_typedefInClass_withReturnType() {
- super.test_typedefInClass_withReturnType();
+ void test_typedef_incomplete() {
+ super.test_typedef_incomplete();
}
@override
@failingTest
- void test_typedefInClass_withoutReturnType() {
- super.test_typedefInClass_withoutReturnType();
+ void test_typedef_namedFunction() {
+ super.test_typedef_namedFunction();
}
@override
@failingTest
- void test_typedef_incomplete() {
- super.test_typedef_incomplete();
+ void test_typedefInClass_withoutReturnType() {
+ super.test_typedefInClass_withoutReturnType();
}
@override
@failingTest
- void test_typedef_namedFunction() {
- super.test_typedef_namedFunction();
+ void test_typedefInClass_withReturnType() {
+ super.test_typedefInClass_withReturnType();
}
@override
@@ -1998,26 +1998,26 @@ class ErrorParserTest_Fasta extends FastaParserTestCase
@override
@failingTest
- void test_voidVariable_parseCompilationUnitMember_initializer() {
- super.test_voidVariable_parseCompilationUnitMember_initializer();
+ void test_voidVariable_parseCompilationUnit_initializer() {
+ super.test_voidVariable_parseCompilationUnit_initializer();
}
@override
@failingTest
- void test_voidVariable_parseCompilationUnitMember_noInitializer() {
- super.test_voidVariable_parseCompilationUnitMember_noInitializer();
+ void test_voidVariable_parseCompilationUnit_noInitializer() {
+ super.test_voidVariable_parseCompilationUnit_noInitializer();
}
@override
@failingTest
- void test_voidVariable_parseCompilationUnit_initializer() {
- super.test_voidVariable_parseCompilationUnit_initializer();
+ void test_voidVariable_parseCompilationUnitMember_initializer() {
+ super.test_voidVariable_parseCompilationUnitMember_initializer();
}
@override
@failingTest
- void test_voidVariable_parseCompilationUnit_noInitializer() {
- super.test_voidVariable_parseCompilationUnit_noInitializer();
+ void test_voidVariable_parseCompilationUnitMember_noInitializer() {
+ super.test_voidVariable_parseCompilationUnitMember_noInitializer();
}
@override
@@ -2187,9 +2187,6 @@ class FastaParserTestCase extends Object
@override
bool allowNativeClause = false;
- @override
- GatheringErrorListener get listener => _parserProxy._errorListener;
-
/**
* Whether generic method comments should be enabled for the test.
*/
@@ -2230,6 +2227,9 @@ class FastaParserTestCase extends Object
}
@override
+ GatheringErrorListener get listener => _parserProxy._errorListener;
+
+ @override
analyzer.Parser get parser => _parserProxy;
@override
@@ -2621,6 +2621,20 @@ class FormalParameterParserTest_Fasta extends FastaParserTestCase
super.test_parseFormalParameterList_prefixedType_partial2();
}
+ @failingTest
+ void test_parseNormalFormalParameter_field_const_noType2() {
+ // TODO(danrubel): should not be generating an error
+ super.test_parseNormalFormalParameter_field_const_noType();
+ assertNoErrors();
+ }
+
+ @failingTest
+ void test_parseNormalFormalParameter_field_const_type2() {
+ // TODO(danrubel): should not be generating an error
+ super.test_parseNormalFormalParameter_field_const_type();
+ assertNoErrors();
+ }
+
@override
@failingTest
void test_parseNormalFormalParameter_function_noType_nullable() {
@@ -2668,20 +2682,6 @@ class FormalParameterParserTest_Fasta extends FastaParserTestCase
}
@failingTest
- void test_parseNormalFormalParameter_field_const_noType2() {
- // TODO(danrubel): should not be generating an error
- super.test_parseNormalFormalParameter_field_const_noType();
- assertNoErrors();
- }
-
- @failingTest
- void test_parseNormalFormalParameter_field_const_type2() {
- // TODO(danrubel): should not be generating an error
- super.test_parseNormalFormalParameter_field_const_type();
- assertNoErrors();
- }
-
- @failingTest
void test_parseNormalFormalParameter_simple_const_noType2() {
// TODO(danrubel): should not be generating an error
super.test_parseNormalFormalParameter_simple_const_noType();
@@ -2921,6 +2921,11 @@ class StatementParserTest_Fasta extends FastaParserTestCase
@reflectiveTest
class TopLevelParserTest_Fasta extends FastaParserTestCase
with TopLevelParserTestMixin {
+ void test_parseClassDeclaration_native_allowed() {
+ allowNativeClause = true;
+ test_parseClassDeclaration_native();
+ }
+
void test_parseClassDeclaration_native_missing_literal() {
createParser('class A native {}');
CompilationUnitMember member = parseFullCompilationUnitMember();
@@ -2940,11 +2945,6 @@ class TopLevelParserTest_Fasta extends FastaParserTestCase
expect(declaration.endToken.type, TokenType.CLOSE_CURLY_BRACKET);
}
- void test_parseClassDeclaration_native_allowed() {
- allowNativeClause = true;
- test_parseClassDeclaration_native();
- }
-
void test_parseClassDeclaration_native_missing_literal_allowed() {
allowNativeClause = true;
test_parseClassDeclaration_native_missing_literal();
@@ -2983,16 +2983,6 @@ class TopLevelParserTest_Fasta extends FastaParserTestCase
super.test_parseCompilationUnit_exportAsPrefix_parameterized();
}
- @override
- @failingTest
- void test_parseDirectives_mixed() {
- // TODO(paulberry,ahe): This test verifies the analyzer parser's ability to
- // stop parsing as soon as the first non-directive is encountered; this is
- // useful for quickly traversing an import graph. Consider adding a similar
- // ability to Fasta's parser.
- super.test_parseDirectives_mixed();
- }
-
@failingTest
void test_parseCompilationUnit_operatorAsPrefix_parameterized2() {
// TODO(danrubel): should not be generating an error
@@ -3013,4 +3003,14 @@ class TopLevelParserTest_Fasta extends FastaParserTestCase
super.test_parseCompilationUnitMember_abstractAsPrefix();
assertNoErrors();
}
+
+ @override
+ @failingTest
+ void test_parseDirectives_mixed() {
+ // TODO(paulberry,ahe): This test verifies the analyzer parser's ability to
+ // stop parsing as soon as the first non-directive is encountered; this is
+ // useful for quickly traversing an import graph. Consider adding a similar
+ // ability to Fasta's parser.
+ super.test_parseDirectives_mixed();
+ }
}
« no previous file with comments | « no previous file | pkg/analyzer/test/generated/parser_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698