| 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 677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 688 super.test_unsafeBlockClosureInference_methodCall_implicitTypeParam(); | 688 super.test_unsafeBlockClosureInference_methodCall_implicitTypeParam(); |
| 689 } | 689 } |
| 690 | 690 |
| 691 @override | 691 @override |
| 692 @failingTest | 692 @failingTest |
| 693 void test_unsafeBlockClosureInference_methodCall_implicitTypeParam_comment() { | 693 void test_unsafeBlockClosureInference_methodCall_implicitTypeParam_comment() { |
| 694 super | 694 super |
| 695 .test_unsafeBlockClosureInference_methodCall_implicitTypeParam_comment()
; | 695 .test_unsafeBlockClosureInference_methodCall_implicitTypeParam_comment()
; |
| 696 } | 696 } |
| 697 | 697 |
| 698 @override |
| 698 LibraryElementImpl _checkSource( | 699 LibraryElementImpl _checkSource( |
| 699 SummaryResynthesizer resynthesizer, Source source) { | 700 SummaryResynthesizer resynthesizer, Source source) { |
| 700 LibraryElementImpl resynthesized = | 701 LibraryElementImpl resynthesized = |
| 701 resynthesizer.getLibraryElement(source.uri.toString()); | 702 resynthesizer.getLibraryElement(source.uri.toString()); |
| 702 LibraryElementImpl original = context.computeLibraryElement(source); | 703 LibraryElementImpl original = context.computeLibraryElement(source); |
| 703 checkLibraryElements(original, resynthesized); | 704 checkLibraryElements(original, resynthesized); |
| 704 return resynthesized; | 705 return resynthesized; |
| 705 } | 706 } |
| 706 } | 707 } |
| 707 | 708 |
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 935 } | 936 } |
| 936 | 937 |
| 937 @override | 938 @override |
| 938 DartSdk createDartSdk() => AbstractContextTest.SHARED_MOCK_SDK; | 939 DartSdk createDartSdk() => AbstractContextTest.SHARED_MOCK_SDK; |
| 939 | 940 |
| 940 @override | 941 @override |
| 941 TestSummaryResynthesizer encodeDecodeLibrarySource(Source source) { | 942 TestSummaryResynthesizer encodeDecodeLibrarySource(Source source) { |
| 942 return _encodeLibrary(source); | 943 return _encodeLibrary(source); |
| 943 } | 944 } |
| 944 } | 945 } |
| OLD | NEW |