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

Unified Diff: pkg/analysis_server/test/services/refactoring/abstract_refactoring.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/refactoring/abstract_refactoring.dart
diff --git a/pkg/analysis_server/test/services/refactoring/abstract_refactoring.dart b/pkg/analysis_server/test/services/refactoring/abstract_refactoring.dart
index 397ccc383e0e6c7c76e45b550678cc23ac4f800a..a565c87475cd2973d8225e05cc46ed25396a6486 100644
--- a/pkg/analysis_server/test/services/refactoring/abstract_refactoring.dart
+++ b/pkg/analysis_server/test/services/refactoring/abstract_refactoring.dart
@@ -8,9 +8,9 @@ import 'dart:async';
import 'package:analysis_server/plugin/protocol/protocol.dart';
import 'package:analysis_server/src/services/correction/status.dart';
-import 'package:analysis_server/src/services/index2/index2.dart';
+import 'package:analysis_server/src/services/index/index.dart';
import 'package:analysis_server/src/services/refactoring/refactoring.dart';
-import 'package:analysis_server/src/services/search/search_engine_internal2.dart';
+import 'package:analysis_server/src/services/search/search_engine_internal.dart';
import 'package:analyzer/dart/ast/ast.dart';
import 'package:analyzer/file_system/file_system.dart';
import 'package:analyzer/src/generated/source.dart';
@@ -36,8 +36,8 @@ int findIdentifierLength(String search) {
* The base class for all [Refactoring] tests.
*/
abstract class RefactoringTest extends AbstractSingleUnitTest {
- Index2 index;
- SearchEngineImpl2 searchEngine;
+ Index index;
+ SearchEngineImpl searchEngine;
SourceChange refactoringChange;
@@ -158,7 +158,7 @@ abstract class RefactoringTest extends AbstractSingleUnitTest {
void setUp() {
super.setUp();
- index = createMemoryIndex2();
- searchEngine = new SearchEngineImpl2(index);
+ index = createMemoryIndex();
+ searchEngine = new SearchEngineImpl(index);
}
}

Powered by Google App Engine
This is Rietveld 408576698