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

Side by Side Diff: pkg/analyzer/test/generated/element_test.dart

Issue 849863002: Replace @ReflectiveTestCase() with @reflectiveTest. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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 | Annotate | Revision Log
OLDNEW
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/ast.dart'; 10 import 'package:analyzer/src/generated/ast.dart';
(...skipping 21 matching lines...) Expand all
32 runReflectiveTests(VoidTypeImplTest); 32 runReflectiveTests(VoidTypeImplTest);
33 runReflectiveTests(ClassElementImplTest); 33 runReflectiveTests(ClassElementImplTest);
34 runReflectiveTests(CompilationUnitElementImplTest); 34 runReflectiveTests(CompilationUnitElementImplTest);
35 runReflectiveTests(ElementLocationImplTest); 35 runReflectiveTests(ElementLocationImplTest);
36 runReflectiveTests(ElementImplTest); 36 runReflectiveTests(ElementImplTest);
37 runReflectiveTests(HtmlElementImplTest); 37 runReflectiveTests(HtmlElementImplTest);
38 runReflectiveTests(LibraryElementImplTest); 38 runReflectiveTests(LibraryElementImplTest);
39 runReflectiveTests(MultiplyDefinedElementImplTest); 39 runReflectiveTests(MultiplyDefinedElementImplTest);
40 } 40 }
41 41
42 @ReflectiveTestCase() 42 @reflectiveTest
43 class ClassElementImplTest extends EngineTestCase { 43 class ClassElementImplTest extends EngineTestCase {
44 void test_getAllSupertypes_interface() { 44 void test_getAllSupertypes_interface() {
45 ClassElement classA = ElementFactory.classElement2("A"); 45 ClassElement classA = ElementFactory.classElement2("A");
46 ClassElement classB = ElementFactory.classElement("B", classA.type); 46 ClassElement classB = ElementFactory.classElement("B", classA.type);
47 ClassElementImpl elementC = ElementFactory.classElement2("C"); 47 ClassElementImpl elementC = ElementFactory.classElement2("C");
48 InterfaceType typeObject = classA.supertype; 48 InterfaceType typeObject = classA.supertype;
49 InterfaceType typeA = classA.type; 49 InterfaceType typeA = classA.type;
50 InterfaceType typeB = classB.type; 50 InterfaceType typeB = classB.type;
51 InterfaceType typeC = elementC.type; 51 InterfaceType typeC = elementC.type;
52 elementC.interfaces = <InterfaceType>[typeB]; 52 elementC.interfaces = <InterfaceType>[typeB];
(...skipping 834 matching lines...) Expand 10 before | Expand all | Expand 10 after
887 ElementFactory.library(createAnalysisContext(), "lib"); 887 ElementFactory.library(createAnalysisContext(), "lib");
888 ClassElementImpl classA = ElementFactory.classElement2("A"); 888 ClassElementImpl classA = ElementFactory.classElement2("A");
889 ClassElementImpl classB = ElementFactory.classElement("B", classA.type); 889 ClassElementImpl classB = ElementFactory.classElement("B", classA.type);
890 classA.supertype = classB.type; 890 classA.supertype = classB.type;
891 (library.definingCompilationUnit as CompilationUnitElementImpl).types = 891 (library.definingCompilationUnit as CompilationUnitElementImpl).types =
892 <ClassElement>[classA, classB]; 892 <ClassElement>[classA, classB];
893 expect(classA.lookUpSetter("s", library), isNull); 893 expect(classA.lookUpSetter("s", library), isNull);
894 } 894 }
895 } 895 }
896 896
897 @ReflectiveTestCase() 897 @reflectiveTest
898 class CompilationUnitElementImplTest extends EngineTestCase { 898 class CompilationUnitElementImplTest extends EngineTestCase {
899 void test_getEnum_declared() { 899 void test_getEnum_declared() {
900 TestTypeProvider typeProvider = new TestTypeProvider(); 900 TestTypeProvider typeProvider = new TestTypeProvider();
901 CompilationUnitElementImpl unit = 901 CompilationUnitElementImpl unit =
902 ElementFactory.compilationUnit("/lib.dart"); 902 ElementFactory.compilationUnit("/lib.dart");
903 String enumName = "E"; 903 String enumName = "E";
904 ClassElement enumElement = 904 ClassElement enumElement =
905 ElementFactory.enumElement(typeProvider, enumName); 905 ElementFactory.enumElement(typeProvider, enumName);
906 unit.enums = <ClassElement>[enumElement]; 906 unit.enums = <ClassElement>[enumElement];
907 expect(unit.getEnum(enumName), same(enumElement)); 907 expect(unit.getEnum(enumName), same(enumElement));
(...skipping 22 matching lines...) Expand all
930 void test_getType_undeclared() { 930 void test_getType_undeclared() {
931 CompilationUnitElementImpl unit = 931 CompilationUnitElementImpl unit =
932 ElementFactory.compilationUnit("/lib.dart"); 932 ElementFactory.compilationUnit("/lib.dart");
933 String className = "C"; 933 String className = "C";
934 ClassElement classElement = ElementFactory.classElement2(className); 934 ClassElement classElement = ElementFactory.classElement2(className);
935 unit.types = <ClassElement>[classElement]; 935 unit.types = <ClassElement>[classElement];
936 expect(unit.getType("${className}x"), isNull); 936 expect(unit.getType("${className}x"), isNull);
937 } 937 }
938 } 938 }
939 939
940 @ReflectiveTestCase() 940 @reflectiveTest
941 class ElementImplTest extends EngineTestCase { 941 class ElementImplTest extends EngineTestCase {
942 void test_equals() { 942 void test_equals() {
943 LibraryElementImpl library = 943 LibraryElementImpl library =
944 ElementFactory.library(createAnalysisContext(), "lib"); 944 ElementFactory.library(createAnalysisContext(), "lib");
945 ClassElementImpl classElement = ElementFactory.classElement2("C"); 945 ClassElementImpl classElement = ElementFactory.classElement2("C");
946 (library.definingCompilationUnit as CompilationUnitElementImpl).types = 946 (library.definingCompilationUnit as CompilationUnitElementImpl).types =
947 <ClassElement>[classElement]; 947 <ClassElement>[classElement];
948 FieldElement field = 948 FieldElement field =
949 ElementFactory.fieldElement("next", false, false, false, classElement.ty pe); 949 ElementFactory.fieldElement("next", false, false, false, classElement.ty pe);
950 classElement.fields = <FieldElement>[field]; 950 classElement.fields = <FieldElement>[field];
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
1026 ClassElementImpl classElementA = ElementFactory.classElement2("A"); 1026 ClassElementImpl classElementA = ElementFactory.classElement2("A");
1027 classElementA.nameOffset = 1; 1027 classElementA.nameOffset = 1;
1028 ClassElementImpl classElementB = ElementFactory.classElement2("B"); 1028 ClassElementImpl classElementB = ElementFactory.classElement2("B");
1029 classElementB.nameOffset = 2; 1029 classElementB.nameOffset = 2;
1030 expect(Element.SORT_BY_OFFSET(classElementA, classElementA), 0); 1030 expect(Element.SORT_BY_OFFSET(classElementA, classElementA), 0);
1031 expect(Element.SORT_BY_OFFSET(classElementA, classElementB) < 0, isTrue); 1031 expect(Element.SORT_BY_OFFSET(classElementA, classElementB) < 0, isTrue);
1032 expect(Element.SORT_BY_OFFSET(classElementB, classElementA) > 0, isTrue); 1032 expect(Element.SORT_BY_OFFSET(classElementB, classElementA) > 0, isTrue);
1033 } 1033 }
1034 } 1034 }
1035 1035
1036 @ReflectiveTestCase() 1036 @reflectiveTest
1037 class ElementKindTest extends EngineTestCase { 1037 class ElementKindTest extends EngineTestCase {
1038 void test_of_nonNull() { 1038 void test_of_nonNull() {
1039 expect( 1039 expect(
1040 ElementKind.of(ElementFactory.classElement2("A")), 1040 ElementKind.of(ElementFactory.classElement2("A")),
1041 same(ElementKind.CLASS)); 1041 same(ElementKind.CLASS));
1042 } 1042 }
1043 1043
1044 void test_of_null() { 1044 void test_of_null() {
1045 expect(ElementKind.of(null), same(ElementKind.ERROR)); 1045 expect(ElementKind.of(null), same(ElementKind.ERROR));
1046 } 1046 }
1047 } 1047 }
1048 1048
1049 @ReflectiveTestCase() 1049 @reflectiveTest
1050 class ElementLocationImplTest extends EngineTestCase { 1050 class ElementLocationImplTest extends EngineTestCase {
1051 void test_create_encoding() { 1051 void test_create_encoding() {
1052 String encoding = "a;b;c"; 1052 String encoding = "a;b;c";
1053 ElementLocationImpl location = new ElementLocationImpl.con2(encoding); 1053 ElementLocationImpl location = new ElementLocationImpl.con2(encoding);
1054 expect(location.encoding, encoding); 1054 expect(location.encoding, encoding);
1055 } 1055 }
1056 1056
1057 /** 1057 /**
1058 * For example unnamed constructor. 1058 * For example unnamed constructor.
1059 */ 1059 */
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
1104 } 1104 }
1105 1105
1106 void test_hashCode_equal() { 1106 void test_hashCode_equal() {
1107 String encoding = "a;b;c"; 1107 String encoding = "a;b;c";
1108 ElementLocationImpl first = new ElementLocationImpl.con2(encoding); 1108 ElementLocationImpl first = new ElementLocationImpl.con2(encoding);
1109 ElementLocationImpl second = new ElementLocationImpl.con2(encoding); 1109 ElementLocationImpl second = new ElementLocationImpl.con2(encoding);
1110 expect(first.hashCode == second.hashCode, isTrue); 1110 expect(first.hashCode == second.hashCode, isTrue);
1111 } 1111 }
1112 } 1112 }
1113 1113
1114 @ReflectiveTestCase() 1114 @reflectiveTest
1115 class FunctionTypeImplTest extends EngineTestCase { 1115 class FunctionTypeImplTest extends EngineTestCase {
1116 void test_creation() { 1116 void test_creation() {
1117 expect( 1117 expect(
1118 new FunctionTypeImpl.con1( 1118 new FunctionTypeImpl.con1(
1119 new FunctionElementImpl.forNode(AstFactory.identifier3("f"))), 1119 new FunctionElementImpl.forNode(AstFactory.identifier3("f"))),
1120 isNotNull); 1120 isNotNull);
1121 } 1121 }
1122 1122
1123 void test_getElement() { 1123 void test_getElement() {
1124 FunctionElementImpl typeElement = 1124 FunctionElementImpl typeElement =
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after
1703 expect(normalParameters[0], normalParameterType); 1703 expect(normalParameters[0], normalParameterType);
1704 List<DartType> optionalParameters = result.optionalParameterTypes; 1704 List<DartType> optionalParameters = result.optionalParameterTypes;
1705 expect(optionalParameters, hasLength(1)); 1705 expect(optionalParameters, hasLength(1));
1706 expect(optionalParameters[0], optionalParameterType); 1706 expect(optionalParameters[0], optionalParameterType);
1707 Map<String, DartType> namedParameters = result.namedParameterTypes; 1707 Map<String, DartType> namedParameters = result.namedParameterTypes;
1708 expect(namedParameters, hasLength(1)); 1708 expect(namedParameters, hasLength(1));
1709 expect(namedParameters[namedParameterName], namedParameterType); 1709 expect(namedParameters[namedParameterName], namedParameterType);
1710 } 1710 }
1711 } 1711 }
1712 1712
1713 @ReflectiveTestCase() 1713 @reflectiveTest
1714 class HtmlElementImplTest extends EngineTestCase { 1714 class HtmlElementImplTest extends EngineTestCase {
1715 void test_equals_differentSource() { 1715 void test_equals_differentSource() {
1716 AnalysisContextImpl context = createAnalysisContext(); 1716 AnalysisContextImpl context = createAnalysisContext();
1717 HtmlElementImpl elementA = ElementFactory.htmlUnit(context, "indexA.html"); 1717 HtmlElementImpl elementA = ElementFactory.htmlUnit(context, "indexA.html");
1718 HtmlElementImpl elementB = ElementFactory.htmlUnit(context, "indexB.html"); 1718 HtmlElementImpl elementB = ElementFactory.htmlUnit(context, "indexB.html");
1719 expect(elementA == elementB, isFalse); 1719 expect(elementA == elementB, isFalse);
1720 } 1720 }
1721 1721
1722 void test_equals_null() { 1722 void test_equals_null() {
1723 AnalysisContextImpl context = createAnalysisContext(); 1723 AnalysisContextImpl context = createAnalysisContext();
1724 HtmlElementImpl element = ElementFactory.htmlUnit(context, "index.html"); 1724 HtmlElementImpl element = ElementFactory.htmlUnit(context, "index.html");
1725 expect(element == null, isFalse); 1725 expect(element == null, isFalse);
1726 } 1726 }
1727 1727
1728 void test_equals_sameSource() { 1728 void test_equals_sameSource() {
1729 AnalysisContextImpl context = createAnalysisContext(); 1729 AnalysisContextImpl context = createAnalysisContext();
1730 HtmlElementImpl elementA = ElementFactory.htmlUnit(context, "index.html"); 1730 HtmlElementImpl elementA = ElementFactory.htmlUnit(context, "index.html");
1731 HtmlElementImpl elementB = ElementFactory.htmlUnit(context, "index.html"); 1731 HtmlElementImpl elementB = ElementFactory.htmlUnit(context, "index.html");
1732 expect(elementA == elementB, isTrue); 1732 expect(elementA == elementB, isTrue);
1733 } 1733 }
1734 1734
1735 void test_equals_self() { 1735 void test_equals_self() {
1736 AnalysisContextImpl context = createAnalysisContext(); 1736 AnalysisContextImpl context = createAnalysisContext();
1737 HtmlElementImpl element = ElementFactory.htmlUnit(context, "index.html"); 1737 HtmlElementImpl element = ElementFactory.htmlUnit(context, "index.html");
1738 expect(element == element, isTrue); 1738 expect(element == element, isTrue);
1739 } 1739 }
1740 } 1740 }
1741 1741
1742 @ReflectiveTestCase() 1742 @reflectiveTest
1743 class InterfaceTypeImplTest extends EngineTestCase { 1743 class InterfaceTypeImplTest extends EngineTestCase {
1744 /** 1744 /**
1745 * The type provider used to access the types. 1745 * The type provider used to access the types.
1746 */ 1746 */
1747 TestTypeProvider _typeProvider; 1747 TestTypeProvider _typeProvider;
1748 1748
1749 @override 1749 @override
1750 void setUp() { 1750 void setUp() {
1751 _typeProvider = new TestTypeProvider(); 1751 _typeProvider = new TestTypeProvider();
1752 } 1752 }
(...skipping 1601 matching lines...) Expand 10 before | Expand all | Expand 10 after
3354 new TypeParameterElementImpl.forNode(AstFactory.identifier3("F"))); 3354 new TypeParameterElementImpl.forNode(AstFactory.identifier3("F")));
3355 InterfaceType result = 3355 InterfaceType result =
3356 type.substitute2(<DartType>[argumentType], <DartType>[parameterType]); 3356 type.substitute2(<DartType>[argumentType], <DartType>[parameterType]);
3357 expect(result.element, classA); 3357 expect(result.element, classA);
3358 List<DartType> resultArguments = result.typeArguments; 3358 List<DartType> resultArguments = result.typeArguments;
3359 expect(resultArguments, hasLength(1)); 3359 expect(resultArguments, hasLength(1));
3360 expect(resultArguments[0], parameter); 3360 expect(resultArguments[0], parameter);
3361 } 3361 }
3362 } 3362 }
3363 3363
3364 @ReflectiveTestCase() 3364 @reflectiveTest
3365 class LibraryElementImplTest extends EngineTestCase { 3365 class LibraryElementImplTest extends EngineTestCase {
3366 void test_creation() { 3366 void test_creation() {
3367 expect( 3367 expect(
3368 new LibraryElementImpl.forNode( 3368 new LibraryElementImpl.forNode(
3369 createAnalysisContext(), 3369 createAnalysisContext(),
3370 AstFactory.libraryIdentifier2(["l"])), 3370 AstFactory.libraryIdentifier2(["l"])),
3371 isNotNull); 3371 isNotNull);
3372 } 3372 }
3373 3373
3374 void test_getImportedLibraries() { 3374 void test_getImportedLibraries() {
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
3524 ElementFactory.importFor(ElementFactory.library(context, "l3"), null)]; 3524 ElementFactory.importFor(ElementFactory.library(context, "l3"), null)];
3525 library.imports = expectedImports; 3525 library.imports = expectedImports;
3526 List<ImportElement> actualImports = library.imports; 3526 List<ImportElement> actualImports = library.imports;
3527 expect(actualImports, hasLength(expectedImports.length)); 3527 expect(actualImports, hasLength(expectedImports.length));
3528 for (int i = 0; i < actualImports.length; i++) { 3528 for (int i = 0; i < actualImports.length; i++) {
3529 expect(actualImports[i], same(expectedImports[i])); 3529 expect(actualImports[i], same(expectedImports[i]));
3530 } 3530 }
3531 } 3531 }
3532 } 3532 }
3533 3533
3534 @ReflectiveTestCase() 3534 @reflectiveTest
3535 class MultiplyDefinedElementImplTest extends EngineTestCase { 3535 class MultiplyDefinedElementImplTest extends EngineTestCase {
3536 void test_fromElements_conflicting() { 3536 void test_fromElements_conflicting() {
3537 Element firstElement = ElementFactory.localVariableElement2("xx"); 3537 Element firstElement = ElementFactory.localVariableElement2("xx");
3538 Element secondElement = ElementFactory.localVariableElement2("yy"); 3538 Element secondElement = ElementFactory.localVariableElement2("yy");
3539 Element result = 3539 Element result =
3540 MultiplyDefinedElementImpl.fromElements(null, firstElement, secondElemen t); 3540 MultiplyDefinedElementImpl.fromElements(null, firstElement, secondElemen t);
3541 EngineTestCase.assertInstanceOf( 3541 EngineTestCase.assertInstanceOf(
3542 (obj) => obj is MultiplyDefinedElement, 3542 (obj) => obj is MultiplyDefinedElement,
3543 MultiplyDefinedElement, 3543 MultiplyDefinedElement,
3544 result); 3544 result);
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
3577 } 3577 }
3578 3578
3579 void test_fromElements_nonConflicting() { 3579 void test_fromElements_nonConflicting() {
3580 Element element = ElementFactory.localVariableElement2("xx"); 3580 Element element = ElementFactory.localVariableElement2("xx");
3581 expect( 3581 expect(
3582 MultiplyDefinedElementImpl.fromElements(null, element, element), 3582 MultiplyDefinedElementImpl.fromElements(null, element, element),
3583 same(element)); 3583 same(element));
3584 } 3584 }
3585 } 3585 }
3586 3586
3587 @ReflectiveTestCase() 3587 @reflectiveTest
3588 class TypeParameterTypeImplTest extends EngineTestCase { 3588 class TypeParameterTypeImplTest extends EngineTestCase {
3589 void test_creation() { 3589 void test_creation() {
3590 expect( 3590 expect(
3591 new TypeParameterTypeImpl( 3591 new TypeParameterTypeImpl(
3592 new TypeParameterElementImpl.forNode(AstFactory.identifier3("E"))), 3592 new TypeParameterElementImpl.forNode(AstFactory.identifier3("E"))),
3593 isNotNull); 3593 isNotNull);
3594 } 3594 }
3595 3595
3596 void test_getElement() { 3596 void test_getElement() {
3597 TypeParameterElementImpl element = 3597 TypeParameterElementImpl element =
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
3706 InterfaceTypeImpl argument = new InterfaceTypeImpl.con1( 3706 InterfaceTypeImpl argument = new InterfaceTypeImpl.con1(
3707 new ClassElementImpl.forNode(AstFactory.identifier3("A"))); 3707 new ClassElementImpl.forNode(AstFactory.identifier3("A")));
3708 TypeParameterTypeImpl parameter = new TypeParameterTypeImpl( 3708 TypeParameterTypeImpl parameter = new TypeParameterTypeImpl(
3709 new TypeParameterElementImpl.forNode(AstFactory.identifier3("F"))); 3709 new TypeParameterElementImpl.forNode(AstFactory.identifier3("F")));
3710 expect( 3710 expect(
3711 type.substitute2(<DartType>[argument], <DartType>[parameter]), 3711 type.substitute2(<DartType>[argument], <DartType>[parameter]),
3712 same(type)); 3712 same(type));
3713 } 3713 }
3714 } 3714 }
3715 3715
3716 @ReflectiveTestCase() 3716 @reflectiveTest
3717 class UnionTypeImplTest extends EngineTestCase { 3717 class UnionTypeImplTest extends EngineTestCase {
3718 ClassElement _classA; 3718 ClassElement _classA;
3719 3719
3720 InterfaceType _typeA; 3720 InterfaceType _typeA;
3721 3721
3722 ClassElement _classB; 3722 ClassElement _classB;
3723 3723
3724 InterfaceType _typeB; 3724 InterfaceType _typeB;
3725 3725
3726 DartType _uA; 3726 DartType _uA;
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
3905 // [FunctionTypeImplTest.test_isAssignableTo_normalAndPositionalArgs]. 3905 // [FunctionTypeImplTest.test_isAssignableTo_normalAndPositionalArgs].
3906 ClassElement a = ElementFactory.classElement2("A"); 3906 ClassElement a = ElementFactory.classElement2("A");
3907 FunctionType t = 3907 FunctionType t =
3908 ElementFactory.functionElement6("t", null, <ClassElement>[a]).type; 3908 ElementFactory.functionElement6("t", null, <ClassElement>[a]).type;
3909 DartType uAT = UnionTypeImpl.union([_uA, t]); 3909 DartType uAT = UnionTypeImpl.union([_uA, t]);
3910 expect(t.isSubtypeOf(uAT), isTrue); 3910 expect(t.isSubtypeOf(uAT), isTrue);
3911 expect(t.isSubtypeOf(_uAB), isFalse); 3911 expect(t.isSubtypeOf(_uAB), isFalse);
3912 } 3912 }
3913 } 3913 }
3914 3914
3915 @ReflectiveTestCase() 3915 @reflectiveTest
3916 class VoidTypeImplTest extends EngineTestCase { 3916 class VoidTypeImplTest extends EngineTestCase {
3917 /** 3917 /**
3918 * Reference {code VoidTypeImpl.getInstance()}. 3918 * Reference {code VoidTypeImpl.getInstance()}.
3919 */ 3919 */
3920 DartType _voidType = VoidTypeImpl.instance; 3920 DartType _voidType = VoidTypeImpl.instance;
3921 3921
3922 void test_isMoreSpecificThan_void_A() { 3922 void test_isMoreSpecificThan_void_A() {
3923 ClassElement classA = ElementFactory.classElement2("A"); 3923 ClassElement classA = ElementFactory.classElement2("A");
3924 expect(_voidType.isMoreSpecificThan(classA.type), isFalse); 3924 expect(_voidType.isMoreSpecificThan(classA.type), isFalse);
3925 } 3925 }
(...skipping 26 matching lines...) Expand all
3952 3952
3953 class _FunctionTypeImplTest_isSubtypeOf_baseCase_classFunction extends 3953 class _FunctionTypeImplTest_isSubtypeOf_baseCase_classFunction extends
3954 InterfaceTypeImpl { 3954 InterfaceTypeImpl {
3955 3955
3956 _FunctionTypeImplTest_isSubtypeOf_baseCase_classFunction(ClassElement arg0) 3956 _FunctionTypeImplTest_isSubtypeOf_baseCase_classFunction(ClassElement arg0)
3957 : super.con1(arg0); 3957 : super.con1(arg0);
3958 3958
3959 @override 3959 @override
3960 bool get isDartCoreFunction => true; 3960 bool get isDartCoreFunction => true;
3961 } 3961 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698