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

Unified Diff: pkg/analysis_server/test/analysis_abstract.dart

Issue 2963773003: Remove the old index. (Closed)
Patch Set: Created 3 years, 6 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/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
« no previous file with comments | « pkg/analysis_server/test/analysis/update_content_test.dart ('k') | pkg/analysis_server/test/analysis_server_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698