| Index: editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/RenameResourceParticipantTest.java
|
| diff --git a/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/RenameResourceParticipantTest.java b/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/RenameResourceParticipantTest.java
|
| index d50b0c6c1355e0a929f944e372f47670eb4c6316..6ec021c41710906c094057ba7ea81c410512af96 100644
|
| --- a/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/RenameResourceParticipantTest.java
|
| +++ b/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/RenameResourceParticipantTest.java
|
| @@ -95,24 +95,6 @@ public final class RenameResourceParticipantTest extends RefactoringTest {
|
| assertFileWasRenamed(targetFile, "newName.dart");
|
| }
|
|
|
| - public void test_OK_inResource() throws Exception {
|
| - IFile targetFile = testProject.setFileContent("target.txt", "");
|
| - setTestUnitContent(
|
| - "// filler filler filler filler filler filler filler filler filler filler",
|
| - "#library('Test');",
|
| - "#resource('target.txt');",
|
| - "");
|
| - assertTrue(targetFile.exists());
|
| - // do rename
|
| - renameFile(targetFile, "newName.txt");
|
| - assertTestUnitContent(
|
| - "// filler filler filler filler filler filler filler filler filler filler",
|
| - "#library('Test');",
|
| - "#resource('newName.txt');",
|
| - "");
|
| - assertFileWasRenamed(targetFile, "newName.txt");
|
| - }
|
| -
|
| public void test_OK_inSource() throws Exception {
|
| IFile targetFile = (IFile) testProject.setUnitContent("target.dart", "").getResource();
|
| setTestUnitContent(
|
|
|