fixed a bug when a stream is closed immediately after it's opened.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2894 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2007-04-06 17:54:02 +00:00
1 parent 88d719372a
commit 3251761d28
2 files changed
+35 -6

No files matched your search

@@ -0,0 +1,26 @@
package hudson;
import junit.framework.TestCase;
/**
* @author Kohsuke Kawaguchi
*/
public class FilePathTest extends /*RmiTestBase*/ TestCase {
public void testDummy() {
// TODO: figure out how to reuse test code from the remoting module.
// currently it fails because the remoting.jar is signed but
// test code is not.
}
///**
// * Copy zero files.
// */
//public void testEmptyCopy() throws Exception {
// File src = Util.createTempDir();
// File dst = Util.createTempDir();
// src.deleteOnExit();
// dst.deleteOnExit();
//
// new FilePath(src).copyRecursiveTo("**/*",new FilePath(channel,dst.getPath()));
//}
}