public class InstallerTest extends Object
| Modifier and Type | Field and Description |
|---|---|
org.junit.rules.TemporaryFolder |
tempFolder |
| Constructor and Description |
|---|
InstallerTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setup() |
void |
testCreateDist() |
void |
testCreateDistWithExistingDistAndZipAndAlwaysUnpackTrue() |
void |
testCreateDistWithExistingDistribution() |
void |
testCreateDistWithExistingZipAndDistAndAlwaysDownloadTrue() |
void |
testZipSlip() |
void |
zipTo(Path directoryToZip,
Path zipFile) |
public void testCreateDistWithExistingDistribution()
throws Exception
Exceptionpublic void testCreateDistWithExistingDistAndZipAndAlwaysUnpackTrue()
throws Exception
Exceptionpublic void testCreateDistWithExistingZipAndDistAndAlwaysDownloadTrue()
throws Exception
Exceptionpublic void testZipSlip()
throws URISyntaxException
URISyntaxExceptionpublic void zipTo(Path directoryToZip, Path zipFile) throws IOException
IOExceptionCopyright © 2013–2022 The Apache Software Foundation. All rights reserved.