| Index: editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/RenameGlobalVariableProcessorTest.java
|
| diff --git a/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/RenameGlobalVariableProcessorTest.java b/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/RenameGlobalVariableProcessorTest.java
|
| index c8b7a76d2df7a4f155fb7a88e863716803ecccca..174db31e7db45f120109adf73130101d0db3ca50 100644
|
| --- a/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/RenameGlobalVariableProcessorTest.java
|
| +++ b/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/RenameGlobalVariableProcessorTest.java
|
| @@ -16,7 +16,7 @@ package com.google.dart.tools.ui.refactoring;
|
| import com.google.dart.tools.core.model.CompilationUnit;
|
| import com.google.dart.tools.core.model.DartVariableDeclaration;
|
| import com.google.dart.tools.internal.corext.refactoring.rename.RenameGlobalVariableProcessor;
|
| -import com.google.dart.tools.ui.internal.refactoring.RenameSupport;
|
| +import com.google.dart.tools.ui.internal.refactoring.RenameSupport_OLD;
|
|
|
| import org.eclipse.ltk.core.refactoring.RefactoringStatus;
|
| import org.eclipse.ui.IWorkbenchWindow;
|
| @@ -29,11 +29,11 @@ import static org.fest.assertions.Assertions.assertThat;
|
| */
|
| public final class RenameGlobalVariableProcessorTest extends RefactoringTest {
|
| /**
|
| - * Uses {@link RenameSupport} to rename {@link DartVariableDeclaration}.
|
| + * Uses {@link RenameSupport_OLD} to rename {@link DartVariableDeclaration}.
|
| */
|
| private static void renameVariable(DartVariableDeclaration variable, String newName)
|
| throws Exception {
|
| - RenameSupport renameSupport = RenameSupport.create(variable, newName);
|
| + RenameSupport_OLD renameSupport = RenameSupport_OLD.create(variable, newName);
|
| IWorkbenchWindow workbenchWindow = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
|
| renameSupport.perform(workbenchWindow.getShell(), workbenchWindow);
|
| }
|
|
|