Index: pkg/analysis_server/test/services/index/dart_index_contributor_test.dart |
diff --git a/pkg/analysis_server/test/services/index/dart_index_contributor_test.dart b/pkg/analysis_server/test/services/index/dart_index_contributor_test.dart |
index 022a7c9e0a7aa5cb62152149d4450f3057e85c0e..4cfd8cdcf3a3f54b076a8efefed418b53f768ef4 100644 |
--- a/pkg/analysis_server/test/services/index/dart_index_contributor_test.dart |
+++ b/pkg/analysis_server/test/services/index/dart_index_contributor_test.dart |
@@ -4,13 +4,14 @@ |
library test.services.src.index.dart_index_contributor; |
-import 'package:analysis_server/analysis/index/index_core.dart'; |
+import 'package:analysis_server/analysis/index_core.dart'; |
import 'package:analysis_server/src/services/index/index.dart'; |
import 'package:analysis_server/src/services/index/index_contributor.dart'; |
import 'package:analysis_server/src/services/index/index_store.dart'; |
import 'package:analysis_server/src/services/index/indexable_element.dart'; |
import 'package:analyzer/src/generated/ast.dart'; |
import 'package:analyzer/src/generated/element.dart'; |
+import 'package:analyzer/src/generated/engine.dart'; |
import 'package:analyzer/src/generated/source.dart'; |
import 'package:test_reflective_loader/test_reflective_loader.dart'; |
import 'package:typed_mock/typed_mock.dart'; |
@@ -24,6 +25,11 @@ main() { |
defineReflectiveTests(DartUnitContributorTest); |
} |
+void indexDartUnit( |
+ InternalIndexStore store, AnalysisContext context, CompilationUnit unit) { |
+ new DartIndexContributor().contributeTo(store, context, unit); |
+} |
+ |
/** |
* Returns `true` if the [actual] location the same properties as [expected]. |
*/ |