Index: pkg/analyzer/test/generated/element_test.dart |
diff --git a/pkg/analyzer/test/generated/element_test.dart b/pkg/analyzer/test/generated/element_test.dart |
index 9285b5f9d2c114bbff63ce135b7c9a2f8ab5f7bd..301352e761dfdffb76a64b353069874a1e470245 100644 |
--- a/pkg/analyzer/test/generated/element_test.dart |
+++ b/pkg/analyzer/test/generated/element_test.dart |
@@ -4,8 +4,11 @@ |
library analyzer.test.generated.element_test; |
+import 'package:analyzer/dart/element/element.dart'; |
+import 'package:analyzer/dart/element/type.dart'; |
+import 'package:analyzer/src/dart/element/element.dart'; |
+import 'package:analyzer/src/dart/element/type.dart'; |
import 'package:analyzer/src/generated/ast.dart'; |
-import 'package:analyzer/src/generated/element.dart'; |
import 'package:analyzer/src/generated/engine.dart' |
show AnalysisContext, AnalysisOptionsImpl; |
import 'package:analyzer/src/generated/java_core.dart'; |
@@ -281,8 +284,8 @@ abstract class A<K, V> = Object with MapMixin<K, V>; |
void test_isEnum() { |
String firstConst = "A"; |
String secondConst = "B"; |
- ClassElementImpl enumE = ElementFactory.enumElement( |
- new TestTypeProvider(), "E", [firstConst, secondConst]); |
+ ClassElementImpl enumE = ElementFactory |
+ .enumElement(new TestTypeProvider(), "E", [firstConst, secondConst]); |
// E is an enum |
expect(enumE.isEnum, true); |
@@ -633,7 +636,8 @@ abstract class A<K, V> = Object with MapMixin<K, V>; |
expect(classB.lookUpInheritedConcreteMethod(methodName, library), isNull); |
} |
- void test_lookUpInheritedConcreteMethod_declaredAndInheritedWithAbstractBetween() { |
+ void |
+ test_lookUpInheritedConcreteMethod_declaredAndInheritedWithAbstractBetween() { |
// class A { |
// m() {} |
// } |
@@ -1904,8 +1908,8 @@ class FunctionTypeImplTest extends EngineTestCase { |
FunctionTypeImpl functionType = new FunctionTypeImpl(functionElement); |
InterfaceTypeImpl argumentType = new InterfaceTypeImpl( |
new ClassElementImpl.forNode(AstFactory.identifier3("D"))); |
- FunctionType result = functionType.substitute2( |
- <DartType>[argumentType], <DartType>[parameterType]); |
+ FunctionType result = functionType |
+ .substitute2(<DartType>[argumentType], <DartType>[parameterType]); |
expect(result.returnType, argumentType); |
List<DartType> normalParameters = result.normalParameterTypes; |
expect(normalParameters, hasLength(1)); |
@@ -1941,8 +1945,8 @@ class FunctionTypeImplTest extends EngineTestCase { |
new ClassElementImpl.forNode(AstFactory.identifier3("D"))); |
TypeParameterTypeImpl parameterType = new TypeParameterTypeImpl( |
new TypeParameterElementImpl.forNode(AstFactory.identifier3("E"))); |
- FunctionType result = functionType.substitute2( |
- <DartType>[argumentType], <DartType>[parameterType]); |
+ FunctionType result = functionType |
+ .substitute2(<DartType>[argumentType], <DartType>[parameterType]); |
expect(result.returnType, returnType); |
List<DartType> normalParameters = result.normalParameterTypes; |
expect(normalParameters, hasLength(1)); |