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.summarize_ast_test; | 5 library analyzer.test.src.summary.summarize_ast_test; |
6 | 6 |
7 import 'package:analyzer/analyzer.dart'; | 7 import 'package:analyzer/analyzer.dart'; |
8 import 'package:analyzer/dart/ast/ast.dart'; | 8 import 'package:analyzer/dart/ast/ast.dart'; |
9 import 'package:analyzer/dart/ast/token.dart'; | 9 import 'package:analyzer/dart/ast/token.dart'; |
10 import 'package:analyzer/src/dart/scanner/reader.dart'; | 10 import 'package:analyzer/src/dart/scanner/reader.dart'; |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 } | 58 } |
59 | 59 |
60 @override | 60 @override |
61 @failingTest | 61 @failingTest |
62 test_closure_executable_with_unimported_return_type() { | 62 test_closure_executable_with_unimported_return_type() { |
63 super.test_closure_executable_with_unimported_return_type(); | 63 super.test_closure_executable_with_unimported_return_type(); |
64 } | 64 } |
65 | 65 |
66 @override | 66 @override |
67 @failingTest | 67 @failingTest |
68 test_field_propagated_type_final_immediate() { | |
69 super.test_field_propagated_type_final_immediate(); | |
70 } | |
71 | |
72 @override | |
73 @failingTest | |
74 test_fully_linked_references_follow_other_references() { | |
75 super.test_fully_linked_references_follow_other_references(); | |
76 } | |
77 | |
78 @override | |
79 @failingTest | |
80 test_implicit_dependencies_follow_other_dependencies() { | 68 test_implicit_dependencies_follow_other_dependencies() { |
81 super.test_implicit_dependencies_follow_other_dependencies(); | 69 super.test_implicit_dependencies_follow_other_dependencies(); |
82 } | 70 } |
83 | 71 |
84 @override | 72 @override |
85 @failingTest | 73 @failingTest |
86 test_initializer_executable_with_bottom_return_type() { | 74 test_initializer_executable_with_bottom_return_type() { |
87 super.test_initializer_executable_with_bottom_return_type(); | 75 super.test_initializer_executable_with_bottom_return_type(); |
88 } | 76 } |
89 | 77 |
(...skipping 22 matching lines...) Expand all Loading... |
112 } | 100 } |
113 | 101 |
114 @override | 102 @override |
115 @failingTest | 103 @failingTest |
116 test_initializer_executable_with_unimported_return_type() { | 104 test_initializer_executable_with_unimported_return_type() { |
117 super.test_initializer_executable_with_unimported_return_type(); | 105 super.test_initializer_executable_with_unimported_return_type(); |
118 } | 106 } |
119 | 107 |
120 @override | 108 @override |
121 @failingTest | 109 @failingTest |
122 test_linked_reference_reuse() { | |
123 super.test_linked_reference_reuse(); | |
124 } | |
125 | |
126 @override | |
127 @failingTest | |
128 test_linked_type_dependency_reuse() { | |
129 super.test_linked_type_dependency_reuse(); | |
130 } | |
131 | |
132 @override | |
133 @failingTest | |
134 test_syntheticFunctionType_inGenericClass() { | 110 test_syntheticFunctionType_inGenericClass() { |
135 super.test_syntheticFunctionType_inGenericClass(); | 111 super.test_syntheticFunctionType_inGenericClass(); |
136 } | 112 } |
137 | 113 |
138 @override | 114 @override |
139 @failingTest | 115 @failingTest |
140 test_syntheticFunctionType_inGenericFunction() { | 116 test_syntheticFunctionType_inGenericFunction() { |
141 super.test_syntheticFunctionType_inGenericFunction(); | 117 super.test_syntheticFunctionType_inGenericFunction(); |
142 } | 118 } |
143 | 119 |
144 @override | 120 @override |
145 @failingTest | 121 @failingTest |
146 test_syntheticFunctionType_noArguments() { | |
147 super.test_syntheticFunctionType_noArguments(); | |
148 } | |
149 | |
150 @override | |
151 @failingTest | |
152 test_syntheticFunctionType_withArguments() { | |
153 super.test_syntheticFunctionType_withArguments(); | |
154 } | |
155 | |
156 @override | |
157 @failingTest | |
158 test_unused_type_parameter() { | 122 test_unused_type_parameter() { |
159 super.test_unused_type_parameter(); | 123 super.test_unused_type_parameter(); |
160 } | 124 } |
161 | |
162 @override | |
163 @failingTest | |
164 test_variable_propagated_type_final_immediate() { | |
165 super.test_variable_propagated_type_final_immediate(); | |
166 } | |
167 | |
168 @override | |
169 @failingTest | |
170 test_variable_propagated_type_new_reference() { | |
171 super.test_variable_propagated_type_new_reference(); | |
172 } | |
173 | |
174 @override | |
175 @failingTest | |
176 test_variable_propagated_type_omit_dynamic() { | |
177 super.test_variable_propagated_type_omit_dynamic(); | |
178 } | |
179 } | 125 } |
180 | 126 |
181 /** | 127 /** |
182 * Override of [SummaryTest] which creates linked summaries directly from the | 128 * Override of [SummaryTest] which creates linked summaries directly from the |
183 * AST. | 129 * AST. |
184 */ | 130 */ |
185 @reflectiveTest | 131 @reflectiveTest |
186 abstract class LinkedSummarizeAstTest extends SummaryLinkerTest | 132 abstract class LinkedSummarizeAstTest extends SummaryLinkerTest |
187 with SummaryTest { | 133 with SummaryTest { |
188 @override | 134 @override |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 * passed to [addNamedSource]. | 332 * passed to [addNamedSource]. |
387 */ | 333 */ |
388 Map<String, UnlinkedUnitBuilder> uriToUnit = <String, UnlinkedUnitBuilder>{}; | 334 Map<String, UnlinkedUnitBuilder> uriToUnit = <String, UnlinkedUnitBuilder>{}; |
389 | 335 |
390 /** | 336 /** |
391 * Information about summaries to be included in the link process. | 337 * Information about summaries to be included in the link process. |
392 */ | 338 */ |
393 SummaryDataStore summaryDataStore = | 339 SummaryDataStore summaryDataStore = |
394 new SummaryDataStore([], recordDependencyInfo: true); | 340 new SummaryDataStore([], recordDependencyInfo: true); |
395 } | 341 } |
OLD | NEW |