| 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 // This code was auto-generated, is not intended to be edited, and is subject to | 5 // This code was auto-generated, is not intended to be edited, and is subject to |
| 6 // significant change. Please see the README file for more information. | 6 // significant change. Please see the README file for more information. |
| 7 | 7 |
| 8 library engine.element_test; | 8 library engine.element_test; |
| 9 | 9 |
| 10 import 'package:analyzer/src/generated/java_core.dart'; | 10 import 'package:analyzer/src/generated/java_core.dart'; |
| (...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 584 }); | 584 }); |
| 585 } | 585 } |
| 586 } | 586 } |
| 587 | 587 |
| 588 class InterfaceTypeImplTest extends EngineTestCase { | 588 class InterfaceTypeImplTest extends EngineTestCase { |
| 589 /** | 589 /** |
| 590 * The type provider used to access the types. | 590 * The type provider used to access the types. |
| 591 */ | 591 */ |
| 592 TestTypeProvider _typeProvider; | 592 TestTypeProvider _typeProvider; |
| 593 | 593 |
| 594 @override |
| 594 void setUp() { | 595 void setUp() { |
| 595 _typeProvider = new TestTypeProvider(); | 596 _typeProvider = new TestTypeProvider(); |
| 596 } | 597 } |
| 597 | 598 |
| 598 void test_computeLongestInheritancePathToObject_multipleInterfacePaths() { | 599 void test_computeLongestInheritancePathToObject_multipleInterfacePaths() { |
| 599 // | 600 // |
| 600 // Object | 601 // Object |
| 601 // | | 602 // | |
| 602 // A | 603 // A |
| 603 // / \ | 604 // / \ |
| (...skipping 3366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3970 final __test = new FunctionTypeImplTest(); | 3971 final __test = new FunctionTypeImplTest(); |
| 3971 runJUnitTest(__test, __test.test_substitute2_notEqual); | 3972 runJUnitTest(__test, __test.test_substitute2_notEqual); |
| 3972 }); | 3973 }); |
| 3973 }); | 3974 }); |
| 3974 } | 3975 } |
| 3975 } | 3976 } |
| 3976 | 3977 |
| 3977 class InterfaceTypeImpl_FunctionTypeImplTest_test_isSubtypeOf_baseCase_classFunc
tion extends InterfaceTypeImpl { | 3978 class InterfaceTypeImpl_FunctionTypeImplTest_test_isSubtypeOf_baseCase_classFunc
tion extends InterfaceTypeImpl { |
| 3978 InterfaceTypeImpl_FunctionTypeImplTest_test_isSubtypeOf_baseCase_classFunction
(ClassElement arg0) : super.con1(arg0); | 3979 InterfaceTypeImpl_FunctionTypeImplTest_test_isSubtypeOf_baseCase_classFunction
(ClassElement arg0) : super.con1(arg0); |
| 3979 | 3980 |
| 3981 @override |
| 3980 bool get isDartCoreFunction => true; | 3982 bool get isDartCoreFunction => true; |
| 3981 } | 3983 } |
| 3982 | 3984 |
| 3983 main() { | 3985 main() { |
| 3984 ElementKindTest.dartSuite(); | 3986 ElementKindTest.dartSuite(); |
| 3985 AngularPropertyKindTest.dartSuite(); | 3987 AngularPropertyKindTest.dartSuite(); |
| 3986 FunctionTypeImplTest.dartSuite(); | 3988 FunctionTypeImplTest.dartSuite(); |
| 3987 InterfaceTypeImplTest.dartSuite(); | 3989 InterfaceTypeImplTest.dartSuite(); |
| 3988 TypeParameterTypeImplTest.dartSuite(); | 3990 TypeParameterTypeImplTest.dartSuite(); |
| 3989 VoidTypeImplTest.dartSuite(); | 3991 VoidTypeImplTest.dartSuite(); |
| 3990 ClassElementImplTest.dartSuite(); | 3992 ClassElementImplTest.dartSuite(); |
| 3991 ElementLocationImplTest.dartSuite(); | 3993 ElementLocationImplTest.dartSuite(); |
| 3992 ElementImplTest.dartSuite(); | 3994 ElementImplTest.dartSuite(); |
| 3993 HtmlElementImplTest.dartSuite(); | 3995 HtmlElementImplTest.dartSuite(); |
| 3994 LibraryElementImplTest.dartSuite(); | 3996 LibraryElementImplTest.dartSuite(); |
| 3995 MultiplyDefinedElementImplTest.dartSuite(); | 3997 MultiplyDefinedElementImplTest.dartSuite(); |
| 3996 } | 3998 } |
| OLD | NEW |