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

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

Issue 2728703002: Parse FunctionExpressionInvocation 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
« no previous file with comments | « no previous file | pkg/front_end/lib/src/fasta/analyzer/ast_builder.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/generated/parser.dart' as analyzer; 9 import 'package:analyzer/src/generated/parser.dart' as analyzer;
10 import 'package:analyzer/src/generated/utilities_dart.dart'; 10 import 'package:analyzer/src/generated/utilities_dart.dart';
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 } 262 }
263 263
264 /** 264 /**
265 * Tests of the fasta parser based on [ComplexParserTestMixin]. 265 * Tests of the fasta parser based on [ComplexParserTestMixin].
266 */ 266 */
267 @reflectiveTest 267 @reflectiveTest
268 class ComplexParserTest_Fasta extends FastaParserTestCase 268 class ComplexParserTest_Fasta extends FastaParserTestCase
269 with ComplexParserTestMixin { 269 with ComplexParserTestMixin {
270 @override 270 @override
271 @failingTest 271 @failingTest
272 void test_assignableExpression_arguments_normal_chain() {
273 // TODO(paulberry,ahe): AstBuilder.doInvocation doesn't handle receiver
274 // other than SimpleIdentifier.
275 super.test_assignableExpression_arguments_normal_chain();
276 }
277
278 @override
279 @failingTest
280 void test_assignableExpression_arguments_normal_chain_typeArgumentComments() { 272 void test_assignableExpression_arguments_normal_chain_typeArgumentComments() {
281 // TODO(paulberry,ahe): Fasta doesn't support generic method comment syntax. 273 // TODO(paulberry,ahe): Fasta doesn't support generic method comment syntax.
282 super 274 super
283 .test_assignableExpression_arguments_normal_chain_typeArgumentComments() ; 275 .test_assignableExpression_arguments_normal_chain_typeArgumentComments() ;
284 } 276 }
285 277
286 @override 278 @override
287 @failingTest 279 @failingTest
288 void test_assignableExpression_arguments_normal_chain_typeArguments() { 280 void test_assignableExpression_arguments_normal_chain_typeArguments() {
289 // TODO(paulberry,ahe): AstBuilder doesn't implement 281 // TODO(paulberry,ahe): AstBuilder doesn't implement
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 } 387 }
396 388
397 /** 389 /**
398 * Tests of the fasta parser based on [ExpressionParserTestMixin]. 390 * Tests of the fasta parser based on [ExpressionParserTestMixin].
399 */ 391 */
400 @reflectiveTest 392 @reflectiveTest
401 class ExpressionParserTest_Fasta extends FastaParserTestCase 393 class ExpressionParserTest_Fasta extends FastaParserTestCase
402 with ExpressionParserTestMixin { 394 with ExpressionParserTestMixin {
403 @override 395 @override
404 @failingTest 396 @failingTest
405 void test_parseAssignableExpression_expression_args_dot() {
406 super.test_parseAssignableExpression_expression_args_dot();
407 }
408
409 @override
410 @failingTest
411 void 397 void
412 test_parseAssignableExpression_expression_args_dot_typeParameterComments() { 398 test_parseAssignableExpression_expression_args_dot_typeParameterComments() {
413 super 399 super
414 .test_parseAssignableExpression_expression_args_dot_typeParameterComment s(); 400 .test_parseAssignableExpression_expression_args_dot_typeParameterComment s();
415 } 401 }
416 402
417 @override 403 @override
418 @failingTest 404 @failingTest
419 void test_parseAssignableExpression_expression_args_dot_typeParameters() { 405 void test_parseAssignableExpression_expression_args_dot_typeParameters() {
420 super.test_parseAssignableExpression_expression_args_dot_typeParameters(); 406 super.test_parseAssignableExpression_expression_args_dot_typeParameters();
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
663 } 649 }
664 650
665 @override 651 @override
666 @failingTest 652 @failingTest
667 void test_parseExpression_function_syncStar() { 653 void test_parseExpression_function_syncStar() {
668 super.test_parseExpression_function_syncStar(); 654 super.test_parseExpression_function_syncStar();
669 } 655 }
670 656
671 @override 657 @override
672 @failingTest 658 @failingTest
673 void test_parseExpression_invokeFunctionExpression() {
674 super.test_parseExpression_invokeFunctionExpression();
675 }
676
677 @override
678 @failingTest
679 void test_parseExpression_superMethodInvocation_typeArgumentComments() { 659 void test_parseExpression_superMethodInvocation_typeArgumentComments() {
680 super.test_parseExpression_superMethodInvocation_typeArgumentComments(); 660 super.test_parseExpression_superMethodInvocation_typeArgumentComments();
681 } 661 }
682 662
683 @override 663 @override
684 @failingTest 664 @failingTest
685 void 665 void
686 test_parseExpressionWithoutCascade_superMethodInvocation_typeArgumentComme nts() { 666 test_parseExpressionWithoutCascade_superMethodInvocation_typeArgumentComme nts() {
687 super 667 super
688 .test_parseExpressionWithoutCascade_superMethodInvocation_typeArgumentCo mments(); 668 .test_parseExpressionWithoutCascade_superMethodInvocation_typeArgumentCo mments();
(...skipping 1191 matching lines...) Expand 10 before | Expand all | Expand 10 after
1880 void test_parseTypeAlias_genericFunction_typeParameters_voidReturnType() { 1860 void test_parseTypeAlias_genericFunction_typeParameters_voidReturnType() {
1881 super.test_parseTypeAlias_genericFunction_typeParameters_voidReturnType(); 1861 super.test_parseTypeAlias_genericFunction_typeParameters_voidReturnType();
1882 } 1862 }
1883 1863
1884 @override 1864 @override
1885 @failingTest 1865 @failingTest
1886 void test_parseTypeAlias_genericFunction_voidReturnType() { 1866 void test_parseTypeAlias_genericFunction_voidReturnType() {
1887 super.test_parseTypeAlias_genericFunction_voidReturnType(); 1867 super.test_parseTypeAlias_genericFunction_voidReturnType();
1888 } 1868 }
1889 } 1869 }
OLDNEW
« no previous file with comments | « no previous file | pkg/front_end/lib/src/fasta/analyzer/ast_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698