| Index: editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/RenameMethodProcessorTest.java
|
| diff --git a/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/RenameMethodProcessorTest.java b/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/RenameMethodProcessorTest.java
|
| index 509ddf612b2723fb10214f6a5038bca9bdb1eb91..943bfd5260ba4ff095816c45440cdc034dc86b48 100644
|
| --- a/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/RenameMethodProcessorTest.java
|
| +++ b/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/RenameMethodProcessorTest.java
|
| @@ -618,6 +618,26 @@ public final class RenameMethodProcessorTest extends RefactoringTest {
|
| "");
|
| }
|
|
|
| + public void test_OK_updateIdentifierInComment() throws Exception {
|
| + setTestUnitContent(
|
| + "// filler filler filler filler filler filler filler filler filler filler",
|
| + "/** After creation call [test]. */",
|
| + "class A {",
|
| + " test() {}",
|
| + "}",
|
| + "");
|
| + Method method = findElement("test() {}");
|
| + // do rename
|
| + renameMethod(method, "newName");
|
| + assertTestUnitContent(
|
| + "// filler filler filler filler filler filler filler filler filler filler",
|
| + "/** After creation call [newName]. */",
|
| + "class A {",
|
| + " newName() {}",
|
| + "}",
|
| + "");
|
| + }
|
| +
|
| public void test_postCondition_element_shadowedBy_localVariable() throws Exception {
|
| setTestUnitContent(
|
| "// filler filler filler filler filler filler filler filler filler filler",
|
|
|