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

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

Issue 2933753002: Run the sorter to reduce code churn (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
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 876db5cc481eb56465de2239907cd425ca635029..94f884dc76f73e56ff649e5179ff675ced9ae342 100644
--- a/pkg/analyzer/test/generated/parser_fasta_test.dart
+++ b/pkg/analyzer/test/generated/parser_fasta_test.dart
@@ -680,6 +680,18 @@ class FormalParameterParserTest_Fasta extends FastaParserTestCase
@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_function_noType_nullable() {
// TODO(scheglov): Not implemented: Nnbd
super.test_parseNormalFormalParameter_function_noType_nullable();
@@ -726,18 +738,6 @@ class FormalParameterParserTest_Fasta extends FastaParserTestCase
@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();
}
@@ -770,13 +770,13 @@ class KernelLibraryBuilderProxy implements KernelLibraryBuilder {
@override
Uri get fileUri => uri;
- noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
-
@override
void addCompileTimeError(int charOffset, Object message,
{Uri fileUri, bool silent: false}) {
fail('$message');
}
+
+ noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
}
/**
@@ -860,14 +860,14 @@ class ScopeProxy implements Scope {
final _locals = <String, Builder>{};
@override
- declare(String name, Builder builder, int charOffset, Uri fileUri) {
- _locals[name] = builder;
- return null;
+ Scope createNestedScope({bool isModifiable: true}) {
+ return new Scope.nested(this, isModifiable: isModifiable);
}
@override
- Scope createNestedScope({bool isModifiable: true}) {
- return new Scope.nested(this, isModifiable: isModifiable);
+ declare(String name, Builder builder, int charOffset, Uri fileUri) {
+ _locals[name] = builder;
+ return null;
}
@override
@@ -942,6 +942,12 @@ class TopLevelParserTest_Fasta extends FastaParserTestCase
@override
@failingTest
+ void test_parseCompilationUnit_abstractAsPrefix_parameterized() {
+ super.test_parseCompilationUnit_abstractAsPrefix_parameterized();
+ }
+
+ @override
+ @failingTest
void test_parseCompilationUnit_builtIn_asFunctionName() {
// TODO(paulberry,ahe): Fasta's parser is confused when one of the built-in
// identifiers `export`, `import`, `library`, `part`, or `typedef` appears
@@ -965,6 +971,12 @@ class TopLevelParserTest_Fasta extends FastaParserTestCase
@override
@failingTest
+ void test_parseCompilationUnit_operatorAsPrefix_parameterized() {
+ super.test_parseCompilationUnit_operatorAsPrefix_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
@@ -990,16 +1002,4 @@ 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();
- }
}
« no previous file with comments | « pkg/analyzer/test/generated/hint_code_test.dart ('k') | pkg/analyzer/test/generated/static_type_warning_code_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698