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

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

Issue 2726753003: Fix cascade tests with Fasta. (Closed)
Patch Set: Created 3 years, 10 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 | no next file » | 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 fa334ab370c5f2e340100f6b59927c805c811097..d7f17c7dec9f0ca63f6b8898d438d23f01c656a7 100644
--- a/pkg/analyzer/test/generated/parser_fasta_test.dart
+++ b/pkg/analyzer/test/generated/parser_fasta_test.dart
@@ -428,18 +428,6 @@ class ExpressionParserTest_Fasta extends FastaParserTestCase
@override
@failingTest
- void test_parseCascadeSection_i() {
- super.test_parseCascadeSection_i();
- }
-
- @override
- @failingTest
- void test_parseCascadeSection_ia() {
- super.test_parseCascadeSection_ia();
- }
-
- @override
- @failingTest
void test_parseCascadeSection_ia_typeArgumentComments() {
super.test_parseCascadeSection_ia_typeArgumentComments();
}
@@ -452,36 +440,12 @@ class ExpressionParserTest_Fasta extends FastaParserTestCase
@override
@failingTest
- void test_parseCascadeSection_ii() {
- super.test_parseCascadeSection_ii();
- }
-
- @override
- @failingTest
void test_parseCascadeSection_ii_typeArgumentComments() {
super.test_parseCascadeSection_ii_typeArgumentComments();
}
@override
@failingTest
- void test_parseCascadeSection_ii_typeArguments() {
- super.test_parseCascadeSection_ii_typeArguments();
- }
-
- @override
- @failingTest
- void test_parseCascadeSection_p() {
- super.test_parseCascadeSection_p();
- }
-
- @override
- @failingTest
- void test_parseCascadeSection_p_assign() {
- super.test_parseCascadeSection_p_assign();
- }
-
- @override
- @failingTest
void test_parseCascadeSection_p_assign_withCascade() {
super.test_parseCascadeSection_p_assign_withCascade();
}
@@ -500,36 +464,12 @@ class ExpressionParserTest_Fasta extends FastaParserTestCase
@override
@failingTest
- void test_parseCascadeSection_p_builtIn() {
- super.test_parseCascadeSection_p_builtIn();
- }
-
- @override
- @failingTest
- void test_parseCascadeSection_pa() {
- super.test_parseCascadeSection_pa();
- }
-
- @override
- @failingTest
void test_parseCascadeSection_pa_typeArgumentComments() {
super.test_parseCascadeSection_pa_typeArgumentComments();
}
@override
@failingTest
- void test_parseCascadeSection_pa_typeArguments() {
- super.test_parseCascadeSection_pa_typeArguments();
- }
-
- @override
- @failingTest
- void test_parseCascadeSection_paa() {
- super.test_parseCascadeSection_paa();
- }
-
- @override
- @failingTest
void test_parseCascadeSection_paa_typeArgumentComments() {
super.test_parseCascadeSection_paa_typeArgumentComments();
}
@@ -542,12 +482,6 @@ class ExpressionParserTest_Fasta extends FastaParserTestCase
@override
@failingTest
- void test_parseCascadeSection_paapaa() {
- super.test_parseCascadeSection_paapaa();
- }
-
- @override
- @failingTest
void test_parseCascadeSection_paapaa_typeArgumentComments() {
super.test_parseCascadeSection_paapaa_typeArgumentComments();
}
@@ -560,24 +494,12 @@ class ExpressionParserTest_Fasta extends FastaParserTestCase
@override
@failingTest
- void test_parseCascadeSection_pap() {
- super.test_parseCascadeSection_pap();
- }
-
- @override
- @failingTest
void test_parseCascadeSection_pap_typeArgumentComments() {
super.test_parseCascadeSection_pap_typeArgumentComments();
}
@override
@failingTest
- void test_parseCascadeSection_pap_typeArguments() {
- super.test_parseCascadeSection_pap_typeArguments();
- }
-
- @override
- @failingTest
void test_parseConstExpression_instanceCreation() {
super.test_parseConstExpression_instanceCreation();
}
@@ -1043,7 +965,8 @@ class FastaParserTestCase extends Object
@override
Expression parseCascadeSection(String code) {
- return _parseExpression('null$code');
+ var cascadeExpression = _parseExpression('null$code') as CascadeExpression;
+ return cascadeExpression.cascadeSections.single;
}
@override
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698