提交 f84b4a92 authored 作者: Thomas Mueller's avatar Thomas Mueller

Improve code coverage.

上级 0b1fee49
...@@ -17,6 +17,7 @@ import java.sql.Connection; ...@@ -17,6 +17,7 @@ import java.sql.Connection;
import org.h2.constant.SysProperties; import org.h2.constant.SysProperties;
import org.h2.test.TestBase; import org.h2.test.TestBase;
import org.h2.tools.Server; import org.h2.tools.Server;
import org.h2.store.fs.FileSystem;
import org.h2.util.IOUtils; import org.h2.util.IOUtils;
import org.h2.util.StringUtils; import org.h2.util.StringUtils;
import org.h2.util.Task; import org.h2.util.Task;
...@@ -125,7 +126,7 @@ public class TestWeb extends TestBase { ...@@ -125,7 +126,7 @@ public class TestWeb extends TestBase {
new File("transfer/testUpload.txt").delete(); new File("transfer/testUpload.txt").delete();
} finally { } finally {
server.shutdown(); server.shutdown();
transfer.delete(); FileSystem.getInstance("transfer").deleteRecursive("transfer", true);
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论