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

Unified Diff: editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/RenameGlobalVariableProcessorTest.java

Issue 12340077: Initial binding of RenameRefactoring service to Eclipse. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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: 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);
}

Powered by Google App Engine
This is Rietveld 408576698