Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Wilkins2010-12-01 17:32:13 +0000
committerGreg Wilkins2010-12-01 17:32:13 +0000
commite22e9eec6fd77e3dbe4aae57655654586d5fb8e6 (patch)
tree92223e13f3c17bc68eb8ed9ac73efb6374a74634
parent1c70bb6e45bea05383ae3e2640209279823a2e6b (diff)
downloadorg.eclipse.jetty.project-e22e9eec6fd77e3dbe4aae57655654586d5fb8e6.tar.gz
org.eclipse.jetty.project-e22e9eec6fd77e3dbe4aae57655654586d5fb8e6.tar.xz
org.eclipse.jetty.project-e22e9eec6fd77e3dbe4aae57655654586d5fb8e6.zip
328789 Clean up tmp files from test harnesses
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2567 7e9141cc-0065-0410-87d8-b60c137991c4
-rw-r--r--jetty-util/src/test/java/org/eclipse/jetty/util/resource/ResourceCollectionTest.java14
1 files changed, 5 insertions, 9 deletions
diff --git a/jetty-util/src/test/java/org/eclipse/jetty/util/resource/ResourceCollectionTest.java b/jetty-util/src/test/java/org/eclipse/jetty/util/resource/ResourceCollectionTest.java
index 39fcd7ebf8..7f10b9c918 100644
--- a/jetty-util/src/test/java/org/eclipse/jetty/util/resource/ResourceCollectionTest.java
+++ b/jetty-util/src/test/java/org/eclipse/jetty/util/resource/ResourceCollectionTest.java
@@ -13,20 +13,15 @@
package org.eclipse.jetty.util.resource;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertTrue;
+
import java.io.BufferedReader;
import java.io.File;
import java.io.InputStreamReader;
-import junit.framework.TestCase;
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertFalse;
-import static org.junit.Assert.assertNull;
-import static org.junit.Assert.assertTrue;
-import static org.junit.Assert.fail;
-
+import org.eclipse.jetty.util.IO;
import org.junit.Test;
-import org.junit.BeforeClass;
-import org.junit.AfterClass;
public class ResourceCollectionTest
{
@@ -97,6 +92,7 @@ public class ResourceCollectionTest
assertEquals("2 - two", getContent(r, "2.txt"));
assertEquals("3 - three", getContent(r, "3.txt"));
+ IO.delete(dest);
}
static String getContent(Resource r, String path) throws Exception

Back to the top