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 'dart:async'; | 7 import 'dart:async'; |
8 | 8 |
9 import 'package:analyzer/dart/ast/ast.dart'; | 9 import 'package:analyzer/dart/ast/ast.dart'; |
10 import 'package:analyzer/dart/element/element.dart'; | 10 import 'package:analyzer/dart/element/element.dart'; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 class ResynthesizeAstStrongTest extends _ResynthesizeAstTest { | 57 class ResynthesizeAstStrongTest extends _ResynthesizeAstTest { |
58 @override | 58 @override |
59 bool get isStrongMode => true; | 59 bool get isStrongMode => true; |
60 | 60 |
61 @override | 61 @override |
62 AnalysisOptionsImpl createOptions() => | 62 AnalysisOptionsImpl createOptions() => |
63 super.createOptions()..strongMode = true; | 63 super.createOptions()..strongMode = true; |
64 | 64 |
65 @override | 65 @override |
66 @failingTest | 66 @failingTest |
67 test_const_invokeConstructor_generic_noTypeArguments() async { | |
68 await super.test_const_invokeConstructor_generic_noTypeArguments(); | |
69 } | |
70 | |
71 @override | |
72 @failingTest | |
73 test_instantiateToBounds_boundRefersToItself() async { | |
74 await super.test_instantiateToBounds_boundRefersToItself(); | |
75 } | |
76 | |
77 @override | |
78 @failingTest | |
79 test_syntheticFunctionType_genericClosure() async { | 67 test_syntheticFunctionType_genericClosure() async { |
80 await super.test_syntheticFunctionType_genericClosure(); | 68 await super.test_syntheticFunctionType_genericClosure(); |
81 } | 69 } |
82 | 70 |
83 @override | 71 @override |
84 @failingTest | 72 @failingTest |
85 test_syntheticFunctionType_inGenericClass() async { | 73 test_syntheticFunctionType_inGenericClass() async { |
86 await super.test_syntheticFunctionType_inGenericClass(); | 74 await super.test_syntheticFunctionType_inGenericClass(); |
87 } | 75 } |
88 | 76 |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 | 269 |
282 @override | 270 @override |
283 AnalysisOptionsImpl createOptions() => | 271 AnalysisOptionsImpl createOptions() => |
284 super.createOptions()..strongMode = isStrongMode; | 272 super.createOptions()..strongMode = isStrongMode; |
285 | 273 |
286 @override | 274 @override |
287 TestSummaryResynthesizer encodeDecodeLibrarySource(Source source) { | 275 TestSummaryResynthesizer encodeDecodeLibrarySource(Source source) { |
288 return _encodeLibrary(source); | 276 return _encodeLibrary(source); |
289 } | 277 } |
290 } | 278 } |
OLD | NEW |