| 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 81d13c0690debe2bfa33402936ccd30699c36e0a..839579c0d598c3ff4d6bc27b857053714db3f86a 100644
|
| --- a/pkg/analysis_server/test/services/refactoring/abstract_refactoring.dart
|
| +++ b/pkg/analysis_server/test/services/refactoring/abstract_refactoring.dart
|
| @@ -18,6 +18,8 @@ import 'package:analyzer/src/generated/source.dart';
|
| import 'package:unittest/unittest.dart';
|
|
|
| import '../../abstract_single_unit.dart';
|
| +import 'package:analysis_server/src/plugin/server_plugin.dart';
|
| +import 'package:plugin/manager.dart';
|
|
|
| int findIdentifierLength(String search) {
|
| int length = 0;
|
| @@ -148,13 +150,13 @@ abstract class RefactoringTest extends AbstractSingleUnitTest {
|
|
|
| void indexTestUnit(String code) {
|
| resolveTestUnit(code);
|
| - index.indexUnit(context, testUnit);
|
| + index.index(context, testUnit);
|
| }
|
|
|
| void indexUnit(String file, String code) {
|
| Source source = addSource(file, code);
|
| CompilationUnit unit = resolveLibraryUnit(source);
|
| - index.indexUnit(context, unit);
|
| + index.index(context, unit);
|
| }
|
|
|
| void setUp() {
|
|
|