Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(431)

Side by Side Diff: pkg/analyzer/test/src/summary/summarize_ast_test.dart

Issue 2354383002: Fix for test of linking with unused type parameter. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 @failingTest 109 @failingTest
110 test_syntheticFunctionType_inGenericClass() { 110 test_syntheticFunctionType_inGenericClass() {
111 super.test_syntheticFunctionType_inGenericClass(); 111 super.test_syntheticFunctionType_inGenericClass();
112 } 112 }
113 113
114 @override 114 @override
115 @failingTest 115 @failingTest
116 test_syntheticFunctionType_inGenericFunction() { 116 test_syntheticFunctionType_inGenericFunction() {
117 super.test_syntheticFunctionType_inGenericFunction(); 117 super.test_syntheticFunctionType_inGenericFunction();
118 } 118 }
119
120 @override
121 @failingTest
122 test_unused_type_parameter() {
123 super.test_unused_type_parameter();
124 }
125 } 119 }
126 120
127 /** 121 /**
128 * Override of [SummaryTest] which creates linked summaries directly from the 122 * Override of [SummaryTest] which creates linked summaries directly from the
129 * AST. 123 * AST.
130 */ 124 */
131 @reflectiveTest 125 @reflectiveTest
132 abstract class LinkedSummarizeAstTest extends SummaryLinkerTest 126 abstract class LinkedSummarizeAstTest extends SummaryLinkerTest
133 with SummaryTest { 127 with SummaryTest {
134 @override 128 @override
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 * passed to [addNamedSource]. 335 * passed to [addNamedSource].
342 */ 336 */
343 Map<String, UnlinkedUnitBuilder> uriToUnit = <String, UnlinkedUnitBuilder>{}; 337 Map<String, UnlinkedUnitBuilder> uriToUnit = <String, UnlinkedUnitBuilder>{};
344 338
345 /** 339 /**
346 * Information about summaries to be included in the link process. 340 * Information about summaries to be included in the link process.
347 */ 341 */
348 SummaryDataStore summaryDataStore = 342 SummaryDataStore summaryDataStore =
349 new SummaryDataStore([], recordDependencyInfo: true); 343 new SummaryDataStore([], recordDependencyInfo: true);
350 } 344 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698