@@ -0,0 +1,630 @@
+package org.zollty.util.zip;%0D%0A%0D%0Aimport org.junit.Ignore;%0D%0Aimport org.junit.Test;%0D%0A%0D%0Apublic class ZipUtilsTest %7B%0D%0A%0D%0A    @Test%0D%0A    @Ignore%0D%0A    public void testZipFile() throws ZipException %7B%0D%0A%0D%0A        String sourceDir = %22D:%5C%5Ctojar%22;%0D%0A        String targetZip = %22D:%5C%5Ctojar.zip%22;%0D%0A%0D%0A        // %E5%8E%8B%E7%BC%A9%E6%96%87%E4%BB%B6%E5%A4%B9%E6%88%96%E8%80%85%E6%96%87%E4%BB%B6%0D%0A        ZipUtils.zipFile(targetZip, sourceDir);%0D%0A%0D%0A    %7D%0D%0A%0D%0A    @Test%0D%0A    @Ignore%0D%0A    public void testUnzipFile() throws ZipException %7B%0D%0A%0D%0A        String sourceZipPath = %22D:%5C%5Ctojar.zip%22;%0D%0A        String targetDir = %22D:%5C%5Ctojar2%22;%0D%0A%0D%0A        // %E8%A7%A3%E5%8E%8B%E7%BC%A9%E6%96%87%E4%BB%B6%E5%88%B0%E6%8C%87%E5%AE%9A%E8%B7%AF%E5%BE%84%0D%0A        ZipUtils.unzipFile(targetDir, sourceZipPath);%0D%0A%0D%0A    %7D%0D%0A%0D%0A%7D%0D%0A

add unit test