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

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

Issue 2726753003: Fix cascade tests 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 | no next file » | 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 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 } 421 }
422 422
423 @override 423 @override
424 @failingTest 424 @failingTest
425 void test_parseAwaitExpression() { 425 void test_parseAwaitExpression() {
426 super.test_parseAwaitExpression(); 426 super.test_parseAwaitExpression();
427 } 427 }
428 428
429 @override 429 @override
430 @failingTest 430 @failingTest
431 void test_parseCascadeSection_i() {
432 super.test_parseCascadeSection_i();
433 }
434
435 @override
436 @failingTest
437 void test_parseCascadeSection_ia() {
438 super.test_parseCascadeSection_ia();
439 }
440
441 @override
442 @failingTest
443 void test_parseCascadeSection_ia_typeArgumentComments() { 431 void test_parseCascadeSection_ia_typeArgumentComments() {
444 super.test_parseCascadeSection_ia_typeArgumentComments(); 432 super.test_parseCascadeSection_ia_typeArgumentComments();
445 } 433 }
446 434
447 @override 435 @override
448 @failingTest 436 @failingTest
449 void test_parseCascadeSection_ia_typeArguments() { 437 void test_parseCascadeSection_ia_typeArguments() {
450 super.test_parseCascadeSection_ia_typeArguments(); 438 super.test_parseCascadeSection_ia_typeArguments();
451 } 439 }
452 440
453 @override 441 @override
454 @failingTest 442 @failingTest
455 void test_parseCascadeSection_ii() {
456 super.test_parseCascadeSection_ii();
457 }
458
459 @override
460 @failingTest
461 void test_parseCascadeSection_ii_typeArgumentComments() { 443 void test_parseCascadeSection_ii_typeArgumentComments() {
462 super.test_parseCascadeSection_ii_typeArgumentComments(); 444 super.test_parseCascadeSection_ii_typeArgumentComments();
463 } 445 }
464 446
465 @override 447 @override
466 @failingTest 448 @failingTest
467 void test_parseCascadeSection_ii_typeArguments() {
468 super.test_parseCascadeSection_ii_typeArguments();
469 }
470
471 @override
472 @failingTest
473 void test_parseCascadeSection_p() {
474 super.test_parseCascadeSection_p();
475 }
476
477 @override
478 @failingTest
479 void test_parseCascadeSection_p_assign() {
480 super.test_parseCascadeSection_p_assign();
481 }
482
483 @override
484 @failingTest
485 void test_parseCascadeSection_p_assign_withCascade() { 449 void test_parseCascadeSection_p_assign_withCascade() {
486 super.test_parseCascadeSection_p_assign_withCascade(); 450 super.test_parseCascadeSection_p_assign_withCascade();
487 } 451 }
488 452
489 @override 453 @override
490 @failingTest 454 @failingTest
491 void test_parseCascadeSection_p_assign_withCascade_typeArgumentComments() { 455 void test_parseCascadeSection_p_assign_withCascade_typeArgumentComments() {
492 super.test_parseCascadeSection_p_assign_withCascade_typeArgumentComments(); 456 super.test_parseCascadeSection_p_assign_withCascade_typeArgumentComments();
493 } 457 }
494 458
495 @override 459 @override
496 @failingTest 460 @failingTest
497 void test_parseCascadeSection_p_assign_withCascade_typeArguments() { 461 void test_parseCascadeSection_p_assign_withCascade_typeArguments() {
498 super.test_parseCascadeSection_p_assign_withCascade_typeArguments(); 462 super.test_parseCascadeSection_p_assign_withCascade_typeArguments();
499 } 463 }
500 464
501 @override 465 @override
502 @failingTest 466 @failingTest
503 void test_parseCascadeSection_p_builtIn() {
504 super.test_parseCascadeSection_p_builtIn();
505 }
506
507 @override
508 @failingTest
509 void test_parseCascadeSection_pa() {
510 super.test_parseCascadeSection_pa();
511 }
512
513 @override
514 @failingTest
515 void test_parseCascadeSection_pa_typeArgumentComments() { 467 void test_parseCascadeSection_pa_typeArgumentComments() {
516 super.test_parseCascadeSection_pa_typeArgumentComments(); 468 super.test_parseCascadeSection_pa_typeArgumentComments();
517 } 469 }
518 470
519 @override 471 @override
520 @failingTest 472 @failingTest
521 void test_parseCascadeSection_pa_typeArguments() {
522 super.test_parseCascadeSection_pa_typeArguments();
523 }
524
525 @override
526 @failingTest
527 void test_parseCascadeSection_paa() {
528 super.test_parseCascadeSection_paa();
529 }
530
531 @override
532 @failingTest
533 void test_parseCascadeSection_paa_typeArgumentComments() { 473 void test_parseCascadeSection_paa_typeArgumentComments() {
534 super.test_parseCascadeSection_paa_typeArgumentComments(); 474 super.test_parseCascadeSection_paa_typeArgumentComments();
535 } 475 }
536 476
537 @override 477 @override
538 @failingTest 478 @failingTest
539 void test_parseCascadeSection_paa_typeArguments() { 479 void test_parseCascadeSection_paa_typeArguments() {
540 super.test_parseCascadeSection_paa_typeArguments(); 480 super.test_parseCascadeSection_paa_typeArguments();
541 } 481 }
542 482
543 @override 483 @override
544 @failingTest 484 @failingTest
545 void test_parseCascadeSection_paapaa() {
546 super.test_parseCascadeSection_paapaa();
547 }
548
549 @override
550 @failingTest
551 void test_parseCascadeSection_paapaa_typeArgumentComments() { 485 void test_parseCascadeSection_paapaa_typeArgumentComments() {
552 super.test_parseCascadeSection_paapaa_typeArgumentComments(); 486 super.test_parseCascadeSection_paapaa_typeArgumentComments();
553 } 487 }
554 488
555 @override 489 @override
556 @failingTest 490 @failingTest
557 void test_parseCascadeSection_paapaa_typeArguments() { 491 void test_parseCascadeSection_paapaa_typeArguments() {
558 super.test_parseCascadeSection_paapaa_typeArguments(); 492 super.test_parseCascadeSection_paapaa_typeArguments();
559 } 493 }
560 494
561 @override 495 @override
562 @failingTest 496 @failingTest
563 void test_parseCascadeSection_pap() {
564 super.test_parseCascadeSection_pap();
565 }
566
567 @override
568 @failingTest
569 void test_parseCascadeSection_pap_typeArgumentComments() { 497 void test_parseCascadeSection_pap_typeArgumentComments() {
570 super.test_parseCascadeSection_pap_typeArgumentComments(); 498 super.test_parseCascadeSection_pap_typeArgumentComments();
571 } 499 }
572 500
573 @override 501 @override
574 @failingTest 502 @failingTest
575 void test_parseCascadeSection_pap_typeArguments() {
576 super.test_parseCascadeSection_pap_typeArguments();
577 }
578
579 @override
580 @failingTest
581 void test_parseConstExpression_instanceCreation() { 503 void test_parseConstExpression_instanceCreation() {
582 super.test_parseConstExpression_instanceCreation(); 504 super.test_parseConstExpression_instanceCreation();
583 } 505 }
584 506
585 @override 507 @override
586 @failingTest 508 @failingTest
587 void test_parseConstExpression_listLiteral_typed_genericComment() { 509 void test_parseConstExpression_listLiteral_typed_genericComment() {
588 super.test_parseConstExpression_listLiteral_typed_genericComment(); 510 super.test_parseConstExpression_listLiteral_typed_genericComment();
589 } 511 }
590 512
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
1036 return _parseExpression(code); 958 return _parseExpression(code);
1037 } 959 }
1038 960
1039 @override 961 @override
1040 Expression parseBitwiseXorExpression(String code) { 962 Expression parseBitwiseXorExpression(String code) {
1041 return _parseExpression(code); 963 return _parseExpression(code);
1042 } 964 }
1043 965
1044 @override 966 @override
1045 Expression parseCascadeSection(String code) { 967 Expression parseCascadeSection(String code) {
1046 return _parseExpression('null$code'); 968 var cascadeExpression = _parseExpression('null$code') as CascadeExpression;
969 return cascadeExpression.cascadeSections.single;
1047 } 970 }
1048 971
1049 @override 972 @override
1050 CompilationUnit parseCompilationUnit(String source, 973 CompilationUnit parseCompilationUnit(String source,
1051 [List<ErrorCode> errorCodes = const <ErrorCode>[]]) { 974 [List<ErrorCode> errorCodes = const <ErrorCode>[]]) {
1052 return _runParser(source, (parser) => parser.parseUnit, errorCodes) 975 return _runParser(source, (parser) => parser.parseUnit, errorCodes)
1053 as CompilationUnit; 976 as CompilationUnit;
1054 } 977 }
1055 978
1056 @override 979 @override
(...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after
1809 void test_parseTypeAlias_genericFunction_typeParameters_voidReturnType() { 1732 void test_parseTypeAlias_genericFunction_typeParameters_voidReturnType() {
1810 super.test_parseTypeAlias_genericFunction_typeParameters_voidReturnType(); 1733 super.test_parseTypeAlias_genericFunction_typeParameters_voidReturnType();
1811 } 1734 }
1812 1735
1813 @override 1736 @override
1814 @failingTest 1737 @failingTest
1815 void test_parseTypeAlias_genericFunction_voidReturnType() { 1738 void test_parseTypeAlias_genericFunction_voidReturnType() {
1816 super.test_parseTypeAlias_genericFunction_voidReturnType(); 1739 super.test_parseTypeAlias_genericFunction_voidReturnType();
1817 } 1740 }
1818 } 1741 }
OLDNEW
« 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