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

Side by Side Diff: pkg/analyzer/test/generated/parser_fasta_test.dart

Issue 2769133004: Parse YieldStatement with Fasta. (Closed)
Patch Set: Created 3 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'package:analyzer/dart/ast/ast.dart'; 5 import 'package:analyzer/dart/ast/ast.dart';
6 import 'package:analyzer/dart/ast/token.dart' as analyzer; 6 import 'package:analyzer/dart/ast/token.dart' as analyzer;
7 import 'package:analyzer/dart/element/element.dart'; 7 import 'package:analyzer/dart/element/element.dart';
8 import 'package:analyzer/error/error.dart'; 8 import 'package:analyzer/error/error.dart';
9 import 'package:analyzer/src/fasta/ast_builder.dart'; 9 import 'package:analyzer/src/fasta/ast_builder.dart';
10 import 'package:analyzer/src/fasta/element_store.dart'; 10 import 'package:analyzer/src/fasta/element_store.dart';
(...skipping 1071 matching lines...) Expand 10 before | Expand all | Expand 10 after
1082 } 1082 }
1083 1083
1084 @override 1084 @override
1085 @failingTest 1085 @failingTest
1086 void test_parseContinueStatement_noLabel() { 1086 void test_parseContinueStatement_noLabel() {
1087 super.test_parseContinueStatement_noLabel(); 1087 super.test_parseContinueStatement_noLabel();
1088 } 1088 }
1089 1089
1090 @override 1090 @override
1091 @failingTest 1091 @failingTest
1092 void test_parseForStatement_each_await() {
1093 super.test_parseForStatement_each_await();
1094 }
1095
1096 @override
1097 @failingTest
1098 void test_parseForStatement_each_noType_metadata() { 1092 void test_parseForStatement_each_noType_metadata() {
1099 super.test_parseForStatement_each_noType_metadata(); 1093 super.test_parseForStatement_each_noType_metadata();
1100 } 1094 }
1101 1095
1102 @override 1096 @override
1103 @failingTest 1097 @failingTest
1104 void test_parseForStatement_loop_i_withMetadata() { 1098 void test_parseForStatement_loop_i_withMetadata() {
1105 super.test_parseForStatement_loop_i_withMetadata(); 1099 super.test_parseForStatement_loop_i_withMetadata();
1106 } 1100 }
1107 1101
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
1208 @failingTest 1202 @failingTest
1209 void test_parseTryStatement_on_catch() { 1203 void test_parseTryStatement_on_catch() {
1210 super.test_parseTryStatement_on_catch(); 1204 super.test_parseTryStatement_on_catch();
1211 } 1205 }
1212 1206
1213 @override 1207 @override
1214 @failingTest 1208 @failingTest
1215 void test_parseTryStatement_on_catch_finally() { 1209 void test_parseTryStatement_on_catch_finally() {
1216 super.test_parseTryStatement_on_catch_finally(); 1210 super.test_parseTryStatement_on_catch_finally();
1217 } 1211 }
1218
1219 @override
1220 @failingTest
1221 void test_parseYieldStatement_each() {
1222 super.test_parseYieldStatement_each();
1223 }
1224
1225 @override
1226 @failingTest
1227 void test_parseYieldStatement_normal() {
1228 super.test_parseYieldStatement_normal();
1229 }
1230 } 1212 }
1231 1213
1232 /** 1214 /**
1233 * Tests of the fasta parser based on [TopLevelParserTestMixin]. 1215 * Tests of the fasta parser based on [TopLevelParserTestMixin].
1234 */ 1216 */
1235 @reflectiveTest 1217 @reflectiveTest
1236 class TopLevelParserTest_Fasta extends FastaParserTestCase 1218 class TopLevelParserTest_Fasta extends FastaParserTestCase
1237 with TopLevelParserTestMixin { 1219 with TopLevelParserTestMixin {
1238 @override 1220 @override
1239 @failingTest 1221 @failingTest
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
1301 } 1283 }
1302 1284
1303 @override 1285 @override
1304 @failingTest 1286 @failingTest
1305 void test_parsePartOfDirective_uri() { 1287 void test_parsePartOfDirective_uri() {
1306 // TODO(paulberry,ahe): URIs in "part of" declarations are not supported by 1288 // TODO(paulberry,ahe): URIs in "part of" declarations are not supported by
1307 // Fasta. 1289 // Fasta.
1308 super.test_parsePartOfDirective_uri(); 1290 super.test_parsePartOfDirective_uri();
1309 } 1291 }
1310 } 1292 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/fasta/ast_builder.dart ('k') | pkg/analyzer/test/generated/parser_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698