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

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

Issue 2924363002: Improve error messages. (Closed)
Patch Set: Updates after testing. 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
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 b73cdcc7ffb0c1b5a495aae88ab0e7800ada7d89..876db5cc481eb56465de2239907cd425ca635029 100644
--- a/pkg/analyzer/test/generated/parser_fasta_test.dart
+++ b/pkg/analyzer/test/generated/parser_fasta_test.dart
@@ -723,6 +723,30 @@ class FormalParameterParserTest_Fasta extends FastaParserTestCase
super
.test_parseNormalFormalParameter_function_void_typeParameters_nullable();
}
+
+ @override
+ @failingTest
+ void test_parseNormalFormalParameter_field_const_noType() {
+ super.test_parseNormalFormalParameter_field_const_noType();
+ }
+
+ @override
+ @failingTest
+ void test_parseNormalFormalParameter_field_const_type() {
+ super.test_parseNormalFormalParameter_field_const_type();
+ }
+
+ @override
+ @failingTest
+ void test_parseNormalFormalParameter_simple_const_noType() {
+ super.test_parseNormalFormalParameter_simple_const_noType();
+ }
+
+ @override
+ @failingTest
+ void test_parseNormalFormalParameter_simple_const_type() {
+ super.test_parseNormalFormalParameter_simple_const_type();
+ }
}
/**
@@ -747,6 +771,12 @@ class KernelLibraryBuilderProxy implements KernelLibraryBuilder {
Uri get fileUri => uri;
noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
+
+ @override
+ void addCompileTimeError(int charOffset, Object message,
+ {Uri fileUri, bool silent: false}) {
+ fail('$message');
+ }
}
/**
@@ -960,4 +990,16 @@ class TopLevelParserTest_Fasta extends FastaParserTestCase
// Fasta.
super.test_parsePartOfDirective_uri();
}
+
+ @override
+ @failingTest
+ void test_parseCompilationUnit_operatorAsPrefix_parameterized() {
+ super.test_parseCompilationUnit_operatorAsPrefix_parameterized();
+ }
+
+ @override
+ @failingTest
+ void test_parseCompilationUnit_abstractAsPrefix_parameterized() {
+ super.test_parseCompilationUnit_abstractAsPrefix_parameterized();
+ }
}

Powered by Google App Engine
This is Rietveld 408576698