| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 engine.element_test; | 5 library engine.element_test; |
| 6 | 6 |
| 7 import 'package:analyzer/src/generated/ast.dart'; | 7 import 'package:analyzer/src/generated/ast.dart'; |
| 8 import 'package:analyzer/src/generated/element.dart'; | 8 import 'package:analyzer/src/generated/element.dart'; |
| 9 import 'package:analyzer/src/generated/engine.dart' | 9 import 'package:analyzer/src/generated/engine.dart' |
| 10 show AnalysisContext, AnalysisOptionsImpl; | 10 show AnalysisContext, AnalysisOptionsImpl; |
| (...skipping 2007 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2018 | 2018 |
| 2019 @reflectiveTest | 2019 @reflectiveTest |
| 2020 class InterfaceTypeImplTest extends EngineTestCase { | 2020 class InterfaceTypeImplTest extends EngineTestCase { |
| 2021 /** | 2021 /** |
| 2022 * The type provider used to access the types. | 2022 * The type provider used to access the types. |
| 2023 */ | 2023 */ |
| 2024 TestTypeProvider _typeProvider; | 2024 TestTypeProvider _typeProvider; |
| 2025 | 2025 |
| 2026 @override | 2026 @override |
| 2027 void setUp() { | 2027 void setUp() { |
| 2028 super.setUp(); |
| 2028 _typeProvider = new TestTypeProvider(); | 2029 _typeProvider = new TestTypeProvider(); |
| 2029 } | 2030 } |
| 2030 | 2031 |
| 2031 void test_computeLongestInheritancePathToObject_multipleInterfacePaths() { | 2032 void test_computeLongestInheritancePathToObject_multipleInterfacePaths() { |
| 2032 // | 2033 // |
| 2033 // Object | 2034 // Object |
| 2034 // | | 2035 // | |
| 2035 // A | 2036 // A |
| 2036 // / \ | 2037 // / \ |
| 2037 // B C | 2038 // B C |
| (...skipping 2232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4270 } | 4271 } |
| 4271 | 4272 |
| 4272 class _FunctionTypeImplTest_isSubtypeOf_baseCase_classFunction | 4273 class _FunctionTypeImplTest_isSubtypeOf_baseCase_classFunction |
| 4273 extends InterfaceTypeImpl { | 4274 extends InterfaceTypeImpl { |
| 4274 _FunctionTypeImplTest_isSubtypeOf_baseCase_classFunction(ClassElement arg0) | 4275 _FunctionTypeImplTest_isSubtypeOf_baseCase_classFunction(ClassElement arg0) |
| 4275 : super(arg0); | 4276 : super(arg0); |
| 4276 | 4277 |
| 4277 @override | 4278 @override |
| 4278 bool get isDartCoreFunction => true; | 4279 bool get isDartCoreFunction => true; |
| 4279 } | 4280 } |
| OLD | NEW |