This commit is contained in:
Looly
2020-08-21 23:05:38 +08:00
parent 7e4889945c
commit 10c6ae3ff8
5 changed files with 730 additions and 425 deletions

View File

@@ -0,0 +1,21 @@
package cn.hutool.core.io.file;
import org.junit.Ignore;
import org.junit.Test;
import java.nio.file.Paths;
import java.nio.file.StandardCopyOption;
public class PathUtilTest {
@Test
@Ignore
public void copyFileTest(){
PathUtil.copyFile(
Paths.get("d:/test/1595232240113.jpg"),
Paths.get("d:/test/1595232240113_copy.jpg"),
StandardCopyOption.COPY_ATTRIBUTES,
StandardCopyOption.REPLACE_EXISTING
);
}
}