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

Unified Diff: pkg/analyzer/test/src/dart/element/element_test.dart

Issue 2298913003: Pull in test_reflective_loader 0.0.4 and switch analyzer to it. (Closed)
Patch Set: Fixes for review comments. Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer/test/src/dart/element/element_test.dart
diff --git a/pkg/analyzer/test/src/dart/element/element_test.dart b/pkg/analyzer/test/src/dart/element/element_test.dart
index b8a61fec2a772b51758c221387d0162c489ee307..ed56338690202cec556e34660099775f97834e1e 100644
--- a/pkg/analyzer/test/src/dart/element/element_test.dart
+++ b/pkg/analyzer/test/src/dart/element/element_test.dart
@@ -18,34 +18,34 @@ import 'package:analyzer/src/generated/source_io.dart';
import 'package:analyzer/src/generated/testing/ast_factory.dart';
import 'package:analyzer/src/generated/testing/element_factory.dart';
import 'package:analyzer/src/generated/testing/test_type_provider.dart';
+import 'package:test_reflective_loader/test_reflective_loader.dart';
import 'package:unittest/unittest.dart';
import '../../../generated/analysis_context_factory.dart'
show AnalysisContextHelper;
import '../../../generated/resolver_test_case.dart';
import '../../../generated/test_support.dart';
-import '../../../reflective_tests.dart';
import '../../../utils.dart';
main() {
initializeTestEnvironment();
- runReflectiveTests(ElementAnnotationImplTest);
- runReflectiveTests(FieldElementImplTest);
- runReflectiveTests(FunctionTypeImplTest);
- runReflectiveTests(InterfaceTypeImplTest);
- runReflectiveTests(LocalVariableElementImplTest);
- runReflectiveTests(TypeParameterTypeImplTest);
- runReflectiveTests(VoidTypeImplTest);
- runReflectiveTests(ClassElementImplTest);
- runReflectiveTests(CompilationUnitElementImplTest);
- runReflectiveTests(ElementLocationImplTest);
- runReflectiveTests(ElementImplTest);
- runReflectiveTests(LibraryElementImplTest);
- runReflectiveTests(MethodElementImplTest);
- runReflectiveTests(MultiplyDefinedElementImplTest);
- runReflectiveTests(ParameterElementImplTest);
- runReflectiveTests(PropertyAccessorElementImplTest);
- runReflectiveTests(TopLevelVariableElementImplTest);
+ defineReflectiveTests(ElementAnnotationImplTest);
+ defineReflectiveTests(FieldElementImplTest);
+ defineReflectiveTests(FunctionTypeImplTest);
+ defineReflectiveTests(InterfaceTypeImplTest);
+ defineReflectiveTests(LocalVariableElementImplTest);
+ defineReflectiveTests(TypeParameterTypeImplTest);
+ defineReflectiveTests(VoidTypeImplTest);
+ defineReflectiveTests(ClassElementImplTest);
+ defineReflectiveTests(CompilationUnitElementImplTest);
+ defineReflectiveTests(ElementLocationImplTest);
+ defineReflectiveTests(ElementImplTest);
+ defineReflectiveTests(LibraryElementImplTest);
+ defineReflectiveTests(MethodElementImplTest);
+ defineReflectiveTests(MultiplyDefinedElementImplTest);
+ defineReflectiveTests(ParameterElementImplTest);
+ defineReflectiveTests(PropertyAccessorElementImplTest);
+ defineReflectiveTests(TopLevelVariableElementImplTest);
}
@reflectiveTest

Powered by Google App Engine
This is Rietveld 408576698