public class ZipUtilTest extends Object
Modifier and Type | Field and Description |
---|---|
protected static File |
DIR |
protected static File |
testResourcesDir |
protected static File |
testWorkDir |
Constructor and Description |
---|
ZipUtilTest() |
Modifier and Type | Method and Description |
---|---|
protected File |
createTempDirectory(String prefix,
String suffix) |
protected File |
createTempFile(String prefix,
String suffix) |
static void |
initTest() |
void |
testCompress() |
void |
testCompressFile() |
void |
testCompressFileMD5() |
void |
testCompressFilter() |
void |
testIsZipFile() |
void |
testUncompress() |
void |
testUncompressFiltredWithFilter()
Test la fonction de decompression avec filtres.
|
void |
testUncompressFiltredWithoutFilter()
Test la fonction de decompression sans filtres.
|
protected static final File DIR
protected static File testWorkDir
protected static File testResourcesDir
public static void initTest() throws IOException
IOException
protected File createTempFile(String prefix, String suffix) throws IOException
IOException
protected File createTempDirectory(String prefix, String suffix) throws IOException
IOException
public void testUncompress() throws IOException
IOException
public void testCompress() throws IOException
IOException
public void testCompressFilter() throws IOException
IOException
public void testCompressFile() throws IOException
IOException
public void testCompressFileMD5() throws IOException
IOException
public void testUncompressFiltredWithoutFilter() throws IOException
IOException
- ?public void testUncompressFiltredWithFilter() throws IOException
IOException
- ?Copyright © 2004–2020 CodeLutin. All rights reserved.