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

Unified Diff: editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/RenameLocalFunctionProcessorTest.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/RenameLocalFunctionProcessorTest.java
diff --git a/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/RenameLocalFunctionProcessorTest.java b/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/RenameLocalFunctionProcessorTest.java
index df972ecf612101719f3d0c7c7c46041870431c64..02162b99e2c015da88f8165657ee6e8ed84b9afa 100644
--- a/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/RenameLocalFunctionProcessorTest.java
+++ b/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/RenameLocalFunctionProcessorTest.java
@@ -16,7 +16,7 @@ package com.google.dart.tools.ui.refactoring;
import com.google.dart.tools.core.model.DartFunction;
import com.google.dart.tools.internal.corext.refactoring.rename.RenameFunctionProcessor;
import com.google.dart.tools.internal.corext.refactoring.rename.RenameLocalFunctionProcessor;
-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,10 +29,10 @@ import static org.fest.assertions.Assertions.assertThat;
*/
public final class RenameLocalFunctionProcessorTest extends RefactoringTest {
/**
- * Uses {@link RenameSupport} to rename {@link DartFunction}.
+ * Uses {@link RenameSupport_OLD} to rename {@link DartFunction}.
*/
private static void renameFunction(DartFunction function, String newName) throws Exception {
- RenameSupport renameSupport = RenameSupport.create(function, newName);
+ RenameSupport_OLD renameSupport = RenameSupport_OLD.create(function, newName);
IWorkbenchWindow workbenchWindow = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
renameSupport.perform(workbenchWindow.getShell(), workbenchWindow);
}

Powered by Google App Engine
This is Rietveld 408576698