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
This commit is contained in:
parent
1c70bb6e45
commit
e22e9eec6f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue