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/error/listener.dart'; | 10 import 'package:analyzer/error/listener.dart'; |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 } | 89 } |
90 | 90 |
91 @override | 91 @override |
92 @failingTest | 92 @failingTest |
93 test_initializer_executable_with_return_type_from_closure_field() { | 93 test_initializer_executable_with_return_type_from_closure_field() { |
94 super.test_initializer_executable_with_return_type_from_closure_field(); | 94 super.test_initializer_executable_with_return_type_from_closure_field(); |
95 } | 95 } |
96 | 96 |
97 @override | 97 @override |
98 @failingTest | 98 @failingTest |
99 test_initializer_executable_with_return_type_from_closure_local() { | |
100 super.test_initializer_executable_with_return_type_from_closure_local(); | |
101 } | |
102 | |
103 @override | |
104 @failingTest | |
105 test_initializer_executable_with_unimported_return_type() { | 99 test_initializer_executable_with_unimported_return_type() { |
106 super.test_initializer_executable_with_unimported_return_type(); | 100 super.test_initializer_executable_with_unimported_return_type(); |
107 } | 101 } |
108 | 102 |
109 @override | 103 @override |
110 @failingTest | 104 @failingTest |
111 test_syntheticFunctionType_inGenericClass() { | 105 test_syntheticFunctionType_inGenericClass() { |
112 super.test_syntheticFunctionType_inGenericClass(); | 106 super.test_syntheticFunctionType_inGenericClass(); |
113 } | 107 } |
114 | |
115 @override | |
116 @failingTest | |
117 test_syntheticFunctionType_inGenericFunction() { | |
118 super.test_syntheticFunctionType_inGenericFunction(); | |
119 } | |
120 } | 108 } |
121 | 109 |
122 /** | 110 /** |
123 * Override of [SummaryTest] which creates linked summaries directly from the | 111 * Override of [SummaryTest] which creates linked summaries directly from the |
124 * AST. | 112 * AST. |
125 */ | 113 */ |
126 @reflectiveTest | 114 @reflectiveTest |
127 abstract class LinkedSummarizeAstTest extends SummaryLinkerTest | 115 abstract class LinkedSummarizeAstTest extends SummaryLinkerTest |
128 with SummaryTest { | 116 with SummaryTest { |
129 @override | 117 @override |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
346 * passed to [addNamedSource]. | 334 * passed to [addNamedSource]. |
347 */ | 335 */ |
348 Map<String, UnlinkedUnitBuilder> uriToUnit = <String, UnlinkedUnitBuilder>{}; | 336 Map<String, UnlinkedUnitBuilder> uriToUnit = <String, UnlinkedUnitBuilder>{}; |
349 | 337 |
350 /** | 338 /** |
351 * Information about summaries to be included in the link process. | 339 * Information about summaries to be included in the link process. |
352 */ | 340 */ |
353 SummaryDataStore summaryDataStore = | 341 SummaryDataStore summaryDataStore = |
354 new SummaryDataStore([], recordDependencyInfo: true); | 342 new SummaryDataStore([], recordDependencyInfo: true); |
355 } | 343 } |
OLD | NEW |