| 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/src/dart/element/element.dart'; | 9 import 'package:analyzer/src/dart/element/element.dart'; |
| 10 import 'package:analyzer/src/generated/engine.dart' | 10 import 'package:analyzer/src/generated/engine.dart' |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 } | 147 } |
| 148 | 148 |
| 149 @override | 149 @override |
| 150 @failingTest | 150 @failingTest |
| 151 void test_blockBodiedLambdas_syncStar_topLevel() { | 151 void test_blockBodiedLambdas_syncStar_topLevel() { |
| 152 super.test_blockBodiedLambdas_syncStar_topLevel(); | 152 super.test_blockBodiedLambdas_syncStar_topLevel(); |
| 153 } | 153 } |
| 154 | 154 |
| 155 @override | 155 @override |
| 156 @failingTest | 156 @failingTest |
| 157 void test_downwardsInferenceAnnotations() { | |
| 158 super.test_downwardsInferenceAnnotations(); | |
| 159 } | |
| 160 | |
| 161 @override | |
| 162 @failingTest | |
| 163 void test_downwardsInferenceAsyncAwait() { | 157 void test_downwardsInferenceAsyncAwait() { |
| 164 super.test_downwardsInferenceAsyncAwait(); | 158 super.test_downwardsInferenceAsyncAwait(); |
| 165 } | 159 } |
| 166 | 160 |
| 167 @override | 161 @override |
| 168 @failingTest | 162 @failingTest |
| 169 void test_downwardsInferenceForEach() { | 163 void test_downwardsInferenceForEach() { |
| 170 super.test_downwardsInferenceForEach(); | 164 super.test_downwardsInferenceForEach(); |
| 171 } | 165 } |
| 172 | 166 |
| (...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 644 } | 638 } |
| 645 | 639 |
| 646 @override | 640 @override |
| 647 @failingTest | 641 @failingTest |
| 648 void test_inferred_function_type_in_generic_class_constructor() { | 642 void test_inferred_function_type_in_generic_class_constructor() { |
| 649 super.test_inferred_function_type_in_generic_class_constructor(); | 643 super.test_inferred_function_type_in_generic_class_constructor(); |
| 650 } | 644 } |
| 651 | 645 |
| 652 @override | 646 @override |
| 653 @failingTest | 647 @failingTest |
| 654 void test_metadata_constructor_call_named() { | |
| 655 super.test_metadata_constructor_call_named(); | |
| 656 } | |
| 657 | |
| 658 @override | |
| 659 @failingTest | |
| 660 void test_metadata_constructor_call_named_prefixed() { | |
| 661 super.test_metadata_constructor_call_named_prefixed(); | |
| 662 } | |
| 663 | |
| 664 @override | |
| 665 @failingTest | |
| 666 void test_metadata_constructor_call_unnamed() { | |
| 667 super.test_metadata_constructor_call_unnamed(); | |
| 668 } | |
| 669 | |
| 670 @override | |
| 671 @failingTest | |
| 672 void test_metadata_constructor_call_with_args() { | |
| 673 super.test_metadata_constructor_call_with_args(); | |
| 674 } | |
| 675 | |
| 676 @override | |
| 677 @failingTest | |
| 678 void test_type_reference_to_import_part_in_subdir() { | 648 void test_type_reference_to_import_part_in_subdir() { |
| 679 super.test_type_reference_to_import_part_in_subdir(); | 649 super.test_type_reference_to_import_part_in_subdir(); |
| 680 } | 650 } |
| 681 } | 651 } |
| 682 | 652 |
| 683 /** | 653 /** |
| 684 * Abstract mixin for serializing ASTs and resynthesizing elements from it. | 654 * Abstract mixin for serializing ASTs and resynthesizing elements from it. |
| 685 */ | 655 */ |
| 686 abstract class _AstResynthesizeTestMixin { | 656 abstract class _AstResynthesizeTestMixin { |
| 687 final Set<Source> serializedSources = new Set<Source>(); | 657 final Set<Source> serializedSources = new Set<Source>(); |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 793 } | 763 } |
| 794 | 764 |
| 795 UnlinkedUnit definingUnit = _getUnlinkedUnit(librarySource); | 765 UnlinkedUnit definingUnit = _getUnlinkedUnit(librarySource); |
| 796 LinkedLibraryBuilder linkedLibrary = | 766 LinkedLibraryBuilder linkedLibrary = |
| 797 prelink(definingUnit, getPart, getImport); | 767 prelink(definingUnit, getPart, getImport); |
| 798 linkedLibrary.dependencies.skip(1).forEach((LinkedDependency d) { | 768 linkedLibrary.dependencies.skip(1).forEach((LinkedDependency d) { |
| 799 _serializeLibrary(resolveRelativeUri(d.uri)); | 769 _serializeLibrary(resolveRelativeUri(d.uri)); |
| 800 }); | 770 }); |
| 801 } | 771 } |
| 802 } | 772 } |
| OLD | NEW |