Index: pkg/analyzer/test/src/dart/element/element_test.dart |
diff --git a/pkg/analyzer/test/generated/element_test.dart b/pkg/analyzer/test/src/dart/element/element_test.dart |
similarity index 99% |
rename from pkg/analyzer/test/generated/element_test.dart |
rename to pkg/analyzer/test/src/dart/element/element_test.dart |
index 301352e761dfdffb76a64b353069874a1e470245..bf01506e006be669e65774f6b6a9c45e5d39f5bd 100644 |
--- a/pkg/analyzer/test/generated/element_test.dart |
+++ b/pkg/analyzer/test/src/dart/element/element_test.dart |
@@ -18,14 +18,14 @@ import 'package:analyzer/src/generated/testing/element_factory.dart'; |
import 'package:analyzer/src/generated/testing/test_type_provider.dart'; |
import 'package:unittest/unittest.dart'; |
-import '../reflective_tests.dart'; |
-import '../utils.dart'; |
-import 'resolver_test.dart' show TestTypeProvider, AnalysisContextHelper; |
-import 'test_support.dart'; |
+import '../../../generated/resolver_test.dart' |
+ show TestTypeProvider, AnalysisContextHelper; |
+import '../../../generated/test_support.dart'; |
+import '../../../reflective_tests.dart'; |
+import '../../../utils.dart'; |
main() { |
initializeTestEnvironment(); |
- runReflectiveTests(ElementKindTest); |
runReflectiveTests(FieldElementImplTest); |
runReflectiveTests(FunctionTypeImplTest); |
runReflectiveTests(InterfaceTypeImplTest); |
@@ -1167,18 +1167,6 @@ class ElementImplTest extends EngineTestCase { |
} |
@reflectiveTest |
-class ElementKindTest extends EngineTestCase { |
- void test_of_nonNull() { |
- expect(ElementKind.of(ElementFactory.classElement2("A")), |
- same(ElementKind.CLASS)); |
- } |
- |
- void test_of_null() { |
- expect(ElementKind.of(null), same(ElementKind.ERROR)); |
- } |
-} |
- |
-@reflectiveTest |
class ElementLocationImplTest extends EngineTestCase { |
void test_create_encoding() { |
String encoding = "a;b;c"; |