| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 library analyzer.test.src.summary.resynthesize_ast_test; | 5 library analyzer.test.src.summary.resynthesize_ast_test; |
| 6 | 6 |
| 7 import 'package:analyzer/dart/ast/ast.dart'; | 7 import 'package:analyzer/dart/ast/ast.dart'; |
| 8 import 'package:analyzer/dart/element/element.dart'; | 8 import 'package:analyzer/dart/element/element.dart'; |
| 9 import 'package:analyzer/error/error.dart'; | 9 import 'package:analyzer/error/error.dart'; |
| 10 import 'package:analyzer/src/dart/element/element.dart'; | 10 import 'package:analyzer/src/dart/element/element.dart'; |
| (...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 612 @failingTest | 612 @failingTest |
| 613 void | 613 void |
| 614 test_unsafeBlockClosureInference_functionCall_explicitDynamicParam_viaExpr
2() { | 614 test_unsafeBlockClosureInference_functionCall_explicitDynamicParam_viaExpr
2() { |
| 615 super | 615 super |
| 616 .test_unsafeBlockClosureInference_functionCall_explicitDynamicParam_viaE
xpr2(); | 616 .test_unsafeBlockClosureInference_functionCall_explicitDynamicParam_viaE
xpr2(); |
| 617 } | 617 } |
| 618 | 618 |
| 619 @override | 619 @override |
| 620 @failingTest | 620 @failingTest |
| 621 void | 621 void |
| 622 test_unsafeBlockClosureInference_functionCall_explicitDynamicParam_viaExpr
2_comment() { |
| 623 super |
| 624 .test_unsafeBlockClosureInference_functionCall_explicitDynamicParam_viaE
xpr2_comment(); |
| 625 } |
| 626 |
| 627 @override |
| 628 @failingTest |
| 629 void |
| 622 test_unsafeBlockClosureInference_functionCall_explicitTypeParam_viaExpr2()
{ | 630 test_unsafeBlockClosureInference_functionCall_explicitTypeParam_viaExpr2()
{ |
| 623 super | 631 super |
| 624 .test_unsafeBlockClosureInference_functionCall_explicitTypeParam_viaExpr
2(); | 632 .test_unsafeBlockClosureInference_functionCall_explicitTypeParam_viaExpr
2(); |
| 625 } | 633 } |
| 626 | 634 |
| 627 @override | 635 @override |
| 628 @failingTest | 636 @failingTest |
| 637 void |
| 638 test_unsafeBlockClosureInference_functionCall_explicitTypeParam_viaExpr2_c
omment() { |
| 639 super |
| 640 .test_unsafeBlockClosureInference_functionCall_explicitTypeParam_viaExpr
2_comment(); |
| 641 } |
| 642 |
| 643 @override |
| 644 @failingTest |
| 629 void test_unsafeBlockClosureInference_functionCall_implicitTypeParam() { | 645 void test_unsafeBlockClosureInference_functionCall_implicitTypeParam() { |
| 630 super.test_unsafeBlockClosureInference_functionCall_implicitTypeParam(); | 646 super.test_unsafeBlockClosureInference_functionCall_implicitTypeParam(); |
| 631 } | 647 } |
| 632 | 648 |
| 633 @override | 649 @override |
| 634 @failingTest | 650 @failingTest |
| 635 void | 651 void |
| 652 test_unsafeBlockClosureInference_functionCall_implicitTypeParam_comment()
{ |
| 653 super |
| 654 .test_unsafeBlockClosureInference_functionCall_implicitTypeParam_comment
(); |
| 655 } |
| 656 |
| 657 @override |
| 658 @failingTest |
| 659 void |
| 636 test_unsafeBlockClosureInference_functionCall_implicitTypeParam_viaExpr()
{ | 660 test_unsafeBlockClosureInference_functionCall_implicitTypeParam_viaExpr()
{ |
| 637 super | 661 super |
| 638 .test_unsafeBlockClosureInference_functionCall_implicitTypeParam_viaExpr
(); | 662 .test_unsafeBlockClosureInference_functionCall_implicitTypeParam_viaExpr
(); |
| 639 } | 663 } |
| 640 | 664 |
| 641 @override | 665 @override |
| 642 @failingTest | 666 @failingTest |
| 667 void |
| 668 test_unsafeBlockClosureInference_functionCall_implicitTypeParam_viaExpr_co
mment() { |
| 669 super |
| 670 .test_unsafeBlockClosureInference_functionCall_implicitTypeParam_viaExpr
_comment(); |
| 671 } |
| 672 |
| 673 @override |
| 674 @failingTest |
| 643 void test_unsafeBlockClosureInference_functionCall_noTypeParam_viaExpr() { | 675 void test_unsafeBlockClosureInference_functionCall_noTypeParam_viaExpr() { |
| 644 super.test_unsafeBlockClosureInference_functionCall_noTypeParam_viaExpr(); | 676 super.test_unsafeBlockClosureInference_functionCall_noTypeParam_viaExpr(); |
| 645 } | 677 } |
| 646 | 678 |
| 647 @override | 679 @override |
| 648 @failingTest | 680 @failingTest |
| 649 void test_unsafeBlockClosureInference_inList_untyped() { | 681 void test_unsafeBlockClosureInference_inList_untyped() { |
| 650 super.test_unsafeBlockClosureInference_inList_untyped(); | 682 super.test_unsafeBlockClosureInference_inList_untyped(); |
| 651 } | 683 } |
| 652 | 684 |
| 653 @override | 685 @override |
| 654 @failingTest | 686 @failingTest |
| 655 void test_unsafeBlockClosureInference_inMap_untyped() { | 687 void test_unsafeBlockClosureInference_inMap_untyped() { |
| 656 super.test_unsafeBlockClosureInference_inMap_untyped(); | 688 super.test_unsafeBlockClosureInference_inMap_untyped(); |
| 657 } | 689 } |
| 658 | 690 |
| 659 @override | 691 @override |
| 660 @failingTest | 692 @failingTest |
| 661 void test_unsafeBlockClosureInference_methodCall_implicitTypeParam() { | 693 void test_unsafeBlockClosureInference_methodCall_implicitTypeParam() { |
| 662 super.test_unsafeBlockClosureInference_methodCall_implicitTypeParam(); | 694 super.test_unsafeBlockClosureInference_methodCall_implicitTypeParam(); |
| 663 } | 695 } |
| 664 | 696 |
| 697 @override |
| 698 @failingTest |
| 699 void test_unsafeBlockClosureInference_methodCall_implicitTypeParam_comment() { |
| 700 super |
| 701 .test_unsafeBlockClosureInference_methodCall_implicitTypeParam_comment()
; |
| 702 } |
| 703 |
| 665 LibraryElementImpl _checkSource( | 704 LibraryElementImpl _checkSource( |
| 666 SummaryResynthesizer resynthesizer, Source source) { | 705 SummaryResynthesizer resynthesizer, Source source) { |
| 667 LibraryElementImpl resynthesized = | 706 LibraryElementImpl resynthesized = |
| 668 resynthesizer.getLibraryElement(source.uri.toString()); | 707 resynthesizer.getLibraryElement(source.uri.toString()); |
| 669 LibraryElementImpl original = context.computeLibraryElement(source); | 708 LibraryElementImpl original = context.computeLibraryElement(source); |
| 670 checkLibraryElements(original, resynthesized); | 709 checkLibraryElements(original, resynthesized); |
| 671 return resynthesized; | 710 return resynthesized; |
| 672 } | 711 } |
| 673 } | 712 } |
| 674 | 713 |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 900 } | 939 } |
| 901 | 940 |
| 902 @override | 941 @override |
| 903 DartSdk createDartSdk() => AbstractContextTest.SHARED_MOCK_SDK; | 942 DartSdk createDartSdk() => AbstractContextTest.SHARED_MOCK_SDK; |
| 904 | 943 |
| 905 @override | 944 @override |
| 906 TestSummaryResynthesizer encodeDecodeLibrarySource(Source source) { | 945 TestSummaryResynthesizer encodeDecodeLibrarySource(Source source) { |
| 907 return _encodeLibrary(source); | 946 return _encodeLibrary(source); |
| 908 } | 947 } |
| 909 } | 948 } |
| OLD | NEW |