test : check directory(#1236)

pull/1239/head
pizihao 2 years ago
parent 674b64b72a
commit 473b3f859d

@ -82,6 +82,9 @@ public class HttpUtilsTest {
// del dir // del dir
String userUrl = System.getProperty(USER_DIR); String userUrl = System.getProperty(USER_DIR);
File file = new File(userUrl + PREFIX + PORT); File file = new File(userUrl + PREFIX + PORT);
if (!file.exists()) {
return;
}
Files.walkFileTree(file.toPath(), new SimpleFileVisitor<Path>() { Files.walkFileTree(file.toPath(), new SimpleFileVisitor<Path>() {
@Override @Override

Loading…
Cancel
Save