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

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

Issue 2727663005: Fix parseAssignableSelector() tests and parse '?.' 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/analyzer/test/generated/parser_test.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 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 } 415 }
416 416
417 @override 417 @override
418 @failingTest 418 @failingTest
419 void test_parseAssignableExpression_expression_args_dot_typeParameters() { 419 void test_parseAssignableExpression_expression_args_dot_typeParameters() {
420 super.test_parseAssignableExpression_expression_args_dot_typeParameters(); 420 super.test_parseAssignableExpression_expression_args_dot_typeParameters();
421 } 421 }
422 422
423 @override 423 @override
424 @failingTest 424 @failingTest
425 void test_parseAssignableExpression_expression_question_dot() {
426 super.test_parseAssignableExpression_expression_question_dot();
427 }
428
429 @override
430 @failingTest
431 void 425 void
432 test_parseAssignableExpression_identifier_args_dot_typeParameterComments() { 426 test_parseAssignableExpression_identifier_args_dot_typeParameterComments() {
433 super 427 super
434 .test_parseAssignableExpression_identifier_args_dot_typeParameterComment s(); 428 .test_parseAssignableExpression_identifier_args_dot_typeParameterComment s();
435 } 429 }
436 430
437 @override 431 @override
438 @failingTest 432 @failingTest
439 void test_parseAssignableExpression_identifier_dot() { 433 void test_parseAssignableExpression_identifier_dot() {
440 super.test_parseAssignableExpression_identifier_dot(); 434 super.test_parseAssignableExpression_identifier_dot();
441 } 435 }
442 436
443 @override 437 @override
444 @failingTest 438 @failingTest
445 void test_parseAssignableExpression_identifier_question_dot() {
446 super.test_parseAssignableExpression_identifier_question_dot();
447 }
448
449 @override
450 @failingTest
451 void test_parseAssignableSelector_dot() {
452 super.test_parseAssignableSelector_dot();
453 }
454
455 @override
456 @failingTest
457 void test_parseAssignableSelector_index() {
458 super.test_parseAssignableSelector_index();
459 }
460
461 @override
462 @failingTest
463 void test_parseAssignableSelector_none() {
464 super.test_parseAssignableSelector_none();
465 }
466
467 @override
468 @failingTest
469 void test_parseAssignableSelector_question_dot() {
470 super.test_parseAssignableSelector_question_dot();
471 }
472
473 @override
474 @failingTest
475 void test_parseAwaitExpression() { 439 void test_parseAwaitExpression() {
476 super.test_parseAwaitExpression(); 440 super.test_parseAwaitExpression();
477 } 441 }
478 442
479 @override 443 @override
480 @failingTest 444 @failingTest
481 void test_parseCascadeSection_i() { 445 void test_parseCascadeSection_i() {
482 super.test_parseCascadeSection_i(); 446 super.test_parseCascadeSection_i();
483 } 447 }
484 448
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
858 } 822 }
859 823
860 @override 824 @override
861 @failingTest 825 @failingTest
862 void test_parseNewExpression() { 826 void test_parseNewExpression() {
863 super.test_parseNewExpression(); 827 super.test_parseNewExpression();
864 } 828 }
865 829
866 @override 830 @override
867 @failingTest 831 @failingTest
868 void test_parsePostfixExpression_none_methodInvocation_question_dot() {
869 super.test_parsePostfixExpression_none_methodInvocation_question_dot();
870 }
871
872 @override
873 @failingTest
874 void 832 void
875 test_parsePostfixExpression_none_methodInvocation_question_dot_typeArgumen tComments() { 833 test_parsePostfixExpression_none_methodInvocation_question_dot_typeArgumen tComments() {
876 super 834 super
877 .test_parsePostfixExpression_none_methodInvocation_question_dot_typeArgu mentComments(); 835 .test_parsePostfixExpression_none_methodInvocation_question_dot_typeArgu mentComments();
878 } 836 }
879 837
880 @override 838 @override
881 @failingTest 839 @failingTest
882 void 840 void
883 test_parsePostfixExpression_none_methodInvocation_question_dot_typeArgumen ts() {
884 super
885 .test_parsePostfixExpression_none_methodInvocation_question_dot_typeArgu ments();
886 }
887
888 @override
889 @failingTest
890 void
891 test_parsePostfixExpression_none_methodInvocation_typeArgumentComments() { 841 test_parsePostfixExpression_none_methodInvocation_typeArgumentComments() {
892 super 842 super
893 .test_parsePostfixExpression_none_methodInvocation_typeArgumentComments( ); 843 .test_parsePostfixExpression_none_methodInvocation_typeArgumentComments( );
894 } 844 }
895 845
896 @override 846 @override
897 @failingTest 847 @failingTest
898 void test_parsePostfixExpression_none_propertyAccess() { 848 void test_parsePostfixExpression_none_propertyAccess() {
899 super.test_parsePostfixExpression_none_propertyAccess(); 849 super.test_parsePostfixExpression_none_propertyAccess();
900 } 850 }
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
1079 Expression parseAdditiveExpression(String code) { 1029 Expression parseAdditiveExpression(String code) {
1080 return _parseExpression(code); 1030 return _parseExpression(code);
1081 } 1031 }
1082 1032
1083 @override 1033 @override
1084 Expression parseAssignableExpression(String code, bool primaryAllowed) { 1034 Expression parseAssignableExpression(String code, bool primaryAllowed) {
1085 return _parseExpression(code); 1035 return _parseExpression(code);
1086 } 1036 }
1087 1037
1088 @override 1038 @override
1089 Expression parseAssignableSelector( 1039 Expression parseAssignableSelector(String code, bool optional,
1090 String code, Expression prefix, bool optional,
1091 {bool allowConditional: true}) { 1040 {bool allowConditional: true}) {
1092 return _parseExpression(code); 1041 return _parseExpression('foo$code');
1093 } 1042 }
1094 1043
1095 @override 1044 @override
1096 AwaitExpression parseAwaitExpression(String code) { 1045 AwaitExpression parseAwaitExpression(String code) {
1097 return _parseExpression(code); 1046 return _parseExpression(code);
1098 } 1047 }
1099 1048
1100 @override 1049 @override
1101 Expression parseBitwiseAndExpression(String code) { 1050 Expression parseBitwiseAndExpression(String code) {
1102 return _parseExpression(code); 1051 return _parseExpression(code);
(...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after
1880 void test_parseTypeAlias_genericFunction_typeParameters_voidReturnType() { 1829 void test_parseTypeAlias_genericFunction_typeParameters_voidReturnType() {
1881 super.test_parseTypeAlias_genericFunction_typeParameters_voidReturnType(); 1830 super.test_parseTypeAlias_genericFunction_typeParameters_voidReturnType();
1882 } 1831 }
1883 1832
1884 @override 1833 @override
1885 @failingTest 1834 @failingTest
1886 void test_parseTypeAlias_genericFunction_voidReturnType() { 1835 void test_parseTypeAlias_genericFunction_voidReturnType() {
1887 super.test_parseTypeAlias_genericFunction_voidReturnType(); 1836 super.test_parseTypeAlias_genericFunction_voidReturnType();
1888 } 1837 }
1889 } 1838 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/test/generated/parser_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698