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 d7e86a3df77cb637de3870bab01ad61686091e03..c52ed165b1aafa836a7ad0161c6b308c97895418 100644 |
--- a/pkg/analyzer/test/generated/parser_fasta_test.dart |
+++ b/pkg/analyzer/test/generated/parser_fasta_test.dart |
@@ -185,13 +185,6 @@ class ComplexParserTest_Fasta extends FastaParserTestCase |
@override |
@failingTest |
- void test_multipleLabels_statement() { |
- // TODO(paulberry,ahe): AstBuilder doesn't implement handleLabel(). |
- super.test_multipleLabels_statement(); |
- } |
- |
- @override |
- @failingTest |
void test_topLevelFunction_nestedGenericFunction() { |
// TODO(paulberry): Implement parseCompilationUnitWithOptions |
super.test_topLevelFunction_nestedGenericFunction(); |
@@ -600,6 +593,16 @@ class FastaParserTestCase extends Object |
} |
@override |
+ ConstructorInitializer parseConstructorInitializer(String code) { |
+ String source = 'class __Test { __Test() : $code; }'; |
+ var unit = |
+ _runParser(source, (parser) => parser.parseUnit) as CompilationUnit; |
+ var clazz = unit.declarations[0] as ClassDeclaration; |
+ var constructor = clazz.members[0] as ConstructorDeclaration; |
+ return constructor.initializers.single; |
+ } |
+ |
+ @override |
CompilationUnit parseDirectives(String source, |
[List<ErrorCode> errorCodes = const <ErrorCode>[]]) { |
return _runParser(source, (parser) => parser.parseUnit, errorCodes); |
@@ -801,16 +804,6 @@ class FastaParserTestCase extends Object |
} |
@override |
- ConstructorInitializer parseConstructorInitializer(String code) { |
- String source = 'class __Test { __Test() : $code; }'; |
- var unit = |
- _runParser(source, (parser) => parser.parseUnit) as CompilationUnit; |
- var clazz = unit.declarations[0] as ClassDeclaration; |
- var constructor = clazz.members[0] as ConstructorDeclaration; |
- return constructor.initializers.single; |
- } |
- |
- @override |
SymbolLiteral parseSymbolLiteral(String code) { |
return _parseExpression(code); |
} |
@@ -1152,48 +1145,6 @@ class StatementParserTest_Fasta extends FastaParserTestCase |
@override |
@failingTest |
- void test_parseStatement_multipleLabels() { |
- super.test_parseStatement_multipleLabels(); |
- } |
- |
- @override |
- @failingTest |
- void test_parseStatement_singleLabel() { |
- super.test_parseStatement_singleLabel(); |
- } |
- |
- @override |
- @failingTest |
- void test_parseSwitchStatement_case() { |
- super.test_parseSwitchStatement_case(); |
- } |
- |
- @override |
- @failingTest |
- void test_parseSwitchStatement_empty() { |
- super.test_parseSwitchStatement_empty(); |
- } |
- |
- @override |
- @failingTest |
- void test_parseSwitchStatement_labeledCase() { |
- super.test_parseSwitchStatement_labeledCase(); |
- } |
- |
- @override |
- @failingTest |
- void test_parseSwitchStatement_labeledDefault() { |
- super.test_parseSwitchStatement_labeledDefault(); |
- } |
- |
- @override |
- @failingTest |
- void test_parseSwitchStatement_labeledStatementInCase() { |
- super.test_parseSwitchStatement_labeledStatementInCase(); |
- } |
- |
- @override |
- @failingTest |
void test_parseTryStatement_catch_finally() { |
super.test_parseTryStatement_catch_finally(); |
} |