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

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

Issue 1801883002: Remove old index and search implementations. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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/domain_completion_util.dart
diff --git a/pkg/analysis_server/test/domain_completion_util.dart b/pkg/analysis_server/test/domain_completion_util.dart
index 7c4ed6cc60dabfd14dc2dbe9ceda6b737aa2da84..6045aeeee52109b03ea3979ed13e390e26db6ecc 100644
--- a/pkg/analysis_server/test/domain_completion_util.dart
+++ b/pkg/analysis_server/test/domain_completion_util.dart
@@ -10,8 +10,7 @@ import 'package:analysis_server/plugin/protocol/protocol.dart';
import 'package:analysis_server/src/constants.dart';
import 'package:analysis_server/src/domain_completion.dart';
import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart';
-import 'package:analysis_server/src/services/index/index.dart' show Index;
-import 'package:analysis_server/src/services/index/local_memory_index.dart';
+import 'package:analysis_server/src/services/index/index.dart';
import 'package:unittest/unittest.dart';
import 'analysis_abstract.dart';
@@ -24,7 +23,7 @@ class AbstractCompletionDomainTest extends AbstractAnalysisTest {
int replacementLength;
List<CompletionSuggestion> suggestions = [];
bool suggestionsDone = false;
- Map<String,List<CompletionSuggestion>> allSuggestions = {};
+ Map<String, List<CompletionSuggestion>> allSuggestions = {};
String addTestFile(String content, {int offset}) {
completionOffset = content.indexOf('^');
@@ -80,7 +79,7 @@ class AbstractCompletionDomainTest extends AbstractAnalysisTest {
@override
Index createIndex() {
- return createLocalMemoryIndex();
+ return createMemoryIndex();
}
Future getSuggestions() {

Powered by Google App Engine
This is Rietveld 408576698