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

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

Issue 10829292: Issue 4410. Infer types using 'assert' statement (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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/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(
« no previous file with comments | « editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/DeleteResourceParticipantTest.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698