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

Unified Diff: editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/DeleteResourceParticipantTest.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/DeleteResourceParticipantTest.java
diff --git a/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/DeleteResourceParticipantTest.java b/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/DeleteResourceParticipantTest.java
index 5e09fb7ef3986b453f07efc82d9fda0130a1ce74..830f619cf8e12c432466beeb651cc7fc0344ce0b 100644
--- a/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/DeleteResourceParticipantTest.java
+++ b/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/DeleteResourceParticipantTest.java
@@ -96,23 +96,6 @@ public final class DeleteResourceParticipantTest extends RefactoringTest {
assertFileWasDeleted(targetFile);
}
- 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
- deleteFile(targetFile);
- assertTestUnitContent(
- "// filler filler filler filler filler filler filler filler filler filler",
- "#library('Test');",
- "");
- assertFileWasDeleted(targetFile);
- }
-
public void test_OK_inSource() throws Exception {
IFile targetFile = (IFile) testProject.setUnitContent("target.dart", "").getResource();
setTestUnitContent(

Powered by Google App Engine
This is Rietveld 408576698