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

Unified Diff: pkg/analyzer/test/src/task/dart_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/task/dart_test.dart
diff --git a/pkg/analyzer/test/src/task/dart_test.dart b/pkg/analyzer/test/src/task/dart_test.dart
index 875974c63b2b1e0b8718672eba0b53c27fefa2c4..390fd8b29fcc5a77bff691751832ea47258be7b2 100644
--- a/pkg/analyzer/test/src/task/dart_test.dart
+++ b/pkg/analyzer/test/src/task/dart_test.dart
@@ -25,57 +25,57 @@ import 'package:analyzer/src/task/strong/ast_properties.dart' as strong_ast;
import 'package:analyzer/task/dart.dart';
import 'package:analyzer/task/general.dart';
import 'package:analyzer/task/model.dart';
+import 'package:test_reflective_loader/test_reflective_loader.dart';
import 'package:unittest/unittest.dart';
import '../../generated/resolver_test_case.dart';
import '../../generated/test_support.dart';
-import '../../reflective_tests.dart';
import '../../utils.dart';
import '../context/abstract_context.dart';
import '../context/mock_sdk.dart';
main() {
initializeTestEnvironment();
- runReflectiveTests(BuildCompilationUnitElementTaskTest);
- runReflectiveTests(BuildDirectiveElementsTaskTest);
- runReflectiveTests(BuildEnumMemberElementsTaskTest);
- runReflectiveTests(BuildExportNamespaceTaskTest);
- runReflectiveTests(BuildLibraryElementTaskTest);
- runReflectiveTests(BuildPublicNamespaceTaskTest);
- runReflectiveTests(BuildSourceExportClosureTaskTest);
- runReflectiveTests(BuildTypeProviderTaskTest);
- runReflectiveTests(BuildTypeProviderTaskTest_noAsync);
- runReflectiveTests(ComputeConstantDependenciesTaskTest);
- runReflectiveTests(ComputeConstantValueTaskTest);
- runReflectiveTests(ComputeInferableStaticVariableDependenciesTaskTest);
- runReflectiveTests(ComputeLibraryCycleTaskTest);
- runReflectiveTests(ContainingLibrariesTaskTest);
- runReflectiveTests(DartErrorsTaskTest);
- runReflectiveTests(EvaluateUnitConstantsTaskTest);
- runReflectiveTests(GatherUsedImportedElementsTaskTest);
- runReflectiveTests(GatherUsedLocalElementsTaskTest);
- runReflectiveTests(GenerateHintsTaskTest);
- runReflectiveTests(GenerateLintsTaskTest);
- runReflectiveTests(InferInstanceMembersInUnitTaskTest);
- runReflectiveTests(InferStaticVariableTypesInUnitTaskTest);
- runReflectiveTests(InferStaticVariableTypeTaskTest);
- runReflectiveTests(LibraryErrorsReadyTaskTest);
- runReflectiveTests(LibraryUnitErrorsTaskTest);
- runReflectiveTests(ParseDartTaskTest);
- runReflectiveTests(PartiallyResolveUnitReferencesTaskTest);
- runReflectiveTests(ReferencedNamesBuilderTest);
- runReflectiveTests(ResolveDirectiveElementsTaskTest);
- runReflectiveTests(ResolveInstanceFieldsInUnitTaskTest);
- runReflectiveTests(ResolveLibraryTaskTest);
- runReflectiveTests(ResolveLibraryTypeNamesTaskTest);
- runReflectiveTests(ResolveTopLevelUnitTypeBoundsTaskTest);
- runReflectiveTests(ResolveUnitTaskTest);
- runReflectiveTests(ResolveUnitTypeNamesTaskTest);
- runReflectiveTests(ResolveVariableReferencesTaskTest);
- runReflectiveTests(ScanDartTaskTest);
- runReflectiveTests(StrongModeInferenceTest);
- runReflectiveTests(StrongModeVerifyUnitTaskTest);
- runReflectiveTests(VerifyUnitTaskTest);
+ defineReflectiveTests(BuildCompilationUnitElementTaskTest);
+ defineReflectiveTests(BuildDirectiveElementsTaskTest);
+ defineReflectiveTests(BuildEnumMemberElementsTaskTest);
+ defineReflectiveTests(BuildExportNamespaceTaskTest);
+ defineReflectiveTests(BuildLibraryElementTaskTest);
+ defineReflectiveTests(BuildPublicNamespaceTaskTest);
+ defineReflectiveTests(BuildSourceExportClosureTaskTest);
+ defineReflectiveTests(BuildTypeProviderTaskTest);
+ defineReflectiveTests(BuildTypeProviderTaskTest_noAsync);
+ defineReflectiveTests(ComputeConstantDependenciesTaskTest);
+ defineReflectiveTests(ComputeConstantValueTaskTest);
+ defineReflectiveTests(ComputeInferableStaticVariableDependenciesTaskTest);
+ defineReflectiveTests(ComputeLibraryCycleTaskTest);
+ defineReflectiveTests(ContainingLibrariesTaskTest);
+ defineReflectiveTests(DartErrorsTaskTest);
+ defineReflectiveTests(EvaluateUnitConstantsTaskTest);
+ defineReflectiveTests(GatherUsedImportedElementsTaskTest);
+ defineReflectiveTests(GatherUsedLocalElementsTaskTest);
+ defineReflectiveTests(GenerateHintsTaskTest);
+ defineReflectiveTests(GenerateLintsTaskTest);
+ defineReflectiveTests(InferInstanceMembersInUnitTaskTest);
+ defineReflectiveTests(InferStaticVariableTypesInUnitTaskTest);
+ defineReflectiveTests(InferStaticVariableTypeTaskTest);
+ defineReflectiveTests(LibraryErrorsReadyTaskTest);
+ defineReflectiveTests(LibraryUnitErrorsTaskTest);
+ defineReflectiveTests(ParseDartTaskTest);
+ defineReflectiveTests(PartiallyResolveUnitReferencesTaskTest);
+ defineReflectiveTests(ReferencedNamesBuilderTest);
+ defineReflectiveTests(ResolveDirectiveElementsTaskTest);
+ defineReflectiveTests(ResolveInstanceFieldsInUnitTaskTest);
+ defineReflectiveTests(ResolveLibraryTaskTest);
+ defineReflectiveTests(ResolveLibraryTypeNamesTaskTest);
+ defineReflectiveTests(ResolveTopLevelUnitTypeBoundsTaskTest);
+ defineReflectiveTests(ResolveUnitTaskTest);
+ defineReflectiveTests(ResolveUnitTypeNamesTaskTest);
+ defineReflectiveTests(ResolveVariableReferencesTaskTest);
+ defineReflectiveTests(ScanDartTaskTest);
+ defineReflectiveTests(StrongModeInferenceTest);
+ defineReflectiveTests(StrongModeVerifyUnitTaskTest);
+ defineReflectiveTests(VerifyUnitTaskTest);
}
isInstanceOf isBuildCompilationUnitElementTask =

Powered by Google App Engine
This is Rietveld 408576698