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

Unified Diff: pkg/analysis_server/test/services/completion/dart/completion_contributor_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/services/completion/dart/completion_contributor_util.dart
diff --git a/pkg/analysis_server/test/services/completion/dart/completion_contributor_util.dart b/pkg/analysis_server/test/services/completion/dart/completion_contributor_util.dart
index aac571904e1a33f97692d081ae2755963fbb14f8..549c8f1eb2d44fc3f8336d9f6428d53ee4edb92e 100644
--- a/pkg/analysis_server/test/services/completion/dart/completion_contributor_util.dart
+++ b/pkg/analysis_server/test/services/completion/dart/completion_contributor_util.dart
@@ -16,8 +16,8 @@ import 'package:analysis_server/src/services/completion/completion_core.dart';
import 'package:analysis_server/src/services/completion/completion_performance.dart';
import 'package:analysis_server/src/services/completion/dart/completion_manager.dart'
show DartCompletionRequestImpl, ReplacementRange;
-import 'package:analysis_server/src/services/index2/index2.dart';
-import 'package:analysis_server/src/services/search/search_engine_internal2.dart';
+import 'package:analysis_server/src/services/index/index.dart';
+import 'package:analysis_server/src/services/search/search_engine_internal.dart';
import 'package:analyzer/src/generated/source.dart';
import 'package:analyzer/task/dart.dart';
import 'package:unittest/unittest.dart';
@@ -31,8 +31,8 @@ int suggestionComparator(CompletionSuggestion s1, CompletionSuggestion s2) {
}
abstract class DartCompletionContributorTest extends AbstractContextTest {
- Index2 index;
- SearchEngineImpl2 searchEngine;
+ Index index;
+ SearchEngineImpl searchEngine;
String testFile = '/completionTest.dart';
Source testSource;
int completionOffset;
@@ -540,8 +540,8 @@ abstract class DartCompletionContributorTest extends AbstractContextTest {
@override
void setUp() {
super.setUp();
- index = createMemoryIndex2();
- searchEngine = new SearchEngineImpl2(index);
+ index = createMemoryIndex();
+ searchEngine = new SearchEngineImpl(index);
contributor = createContributor();
}
}

Powered by Google App Engine
This is Rietveld 408576698