Index: pkg/analysis_server/test/analysis_abstract.dart |
diff --git a/pkg/analysis_server/test/analysis_abstract.dart b/pkg/analysis_server/test/analysis_abstract.dart |
index 573c607c9e10c29c2f56e69287ba309a5ce3f451..5723548aa247da9462d0fafd6ab46bf90e3d8dde 100644 |
--- a/pkg/analysis_server/test/analysis_abstract.dart |
+++ b/pkg/analysis_server/test/analysis_abstract.dart |
@@ -14,7 +14,6 @@ import 'package:analysis_server/src/plugin/notification_manager.dart'; |
import 'package:analysis_server/src/plugin/plugin_manager.dart'; |
import 'package:analysis_server/src/plugin/server_plugin.dart'; |
import 'package:analysis_server/src/provisional/completion/dart/completion_plugin.dart'; |
-import 'package:analysis_server/src/services/index/index.dart'; |
import 'package:analyzer/context/context_root.dart' as analyzer; |
import 'package:analyzer/file_system/file_system.dart'; |
import 'package:analyzer/file_system/memory_file_system.dart'; |
@@ -114,7 +113,7 @@ class AbstractAnalysisTest { |
return testFile; |
} |
- AnalysisServer createAnalysisServer(Index index) { |
+ AnalysisServer createAnalysisServer() { |
// |
// Collect plugins |
// |
@@ -143,17 +142,12 @@ class AbstractAnalysisTest { |
serverChannel, |
resourceProvider, |
packageMapProvider, |
- index, |
serverPlugin, |
options, |
new DartSdkManager(resourceProvider.convertPath('/'), true), |
InstrumentationService.NULL_SERVICE); |
} |
- Index createIndex() { |
- return null; |
- } |
- |
/** |
* Creates a project `/project`. |
*/ |
@@ -226,8 +220,7 @@ class AbstractAnalysisTest { |
testFile = resourceProvider.convertPath('/project/bin/test.dart'); |
packageMapProvider = new MockPackageMapProvider(); |
pluginManager = new TestPluginManager(); |
- Index index = createIndex(); |
- server = createAnalysisServer(index); |
+ server = createAnalysisServer(); |
server.pluginManager = pluginManager; |
handler = analysisHandler; |
// listen for notifications |