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

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

Issue 2944383002: translate fasta parser error to analyzer error (Closed)
Patch Set: Created 3 years, 6 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/generated/parser_fasta.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 ca1c58762bc3a5b61345001af10014dab7b3156c..7897260719eede01b3026628ca05c077465bc9a3 100644
--- a/pkg/analyzer/test/generated/parser_fasta_test.dart
+++ b/pkg/analyzer/test/generated/parser_fasta_test.dart
@@ -282,6 +282,9 @@ class FastaParserTestCase extends Object
*/
bool enableGenericMethodComments = false;
+ @override
+ bool get usingFasta => true;
+
@override
set enableAssertInitializer(bool value) {
if (value == true) {
@@ -406,6 +409,7 @@ class FastaParserTestCase extends Object
// Assert and return result
listener.assertErrorsWithCodes(expectedErrorCodes);
+ expect(unit, isNotNull);
return unit;
}
@@ -956,12 +960,6 @@ class TopLevelParserTest_Fasta extends FastaParserTestCase
super.test_parseClassDeclaration_native();
}
- @override
- @failingTest
- void test_parseCompilationUnit_abstractAsPrefix_parameterized() {
- super.test_parseCompilationUnit_abstractAsPrefix_parameterized();
- }
-
@override
@failingTest
void test_parseCompilationUnit_builtIn_asFunctionName() {
@@ -985,12 +983,6 @@ class TopLevelParserTest_Fasta extends FastaParserTestCase
super.test_parseCompilationUnit_exportAsPrefix_parameterized();
}
- @override
- @failingTest
- void test_parseCompilationUnit_operatorAsPrefix_parameterized() {
- super.test_parseCompilationUnit_operatorAsPrefix_parameterized();
- }
-
@override
@failingTest
void test_parseDirectives_mixed() {
« no previous file with comments | « pkg/analyzer/lib/src/generated/parser_fasta.dart ('k') | pkg/analyzer/test/generated/parser_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698