Home
last modified time | relevance | path

Searched refs:resultDir (Results 1 – 6 of 6) sorted by relevance

/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/examples/
DExpanderTest.java61 new Expander().expand("7z", archive, resultDir); in sevenZTwoFileVersion()
68 new Expander().expand(archive, resultDir); in sevenZTwoFileVersionWithAutoDetection()
76 new Expander().expand("7z", i, resultDir); in sevenZInputStreamVersion()
84 new Expander().expand(i, resultDir); in sevenZInputStreamVersionWithAutoDetection()
92 new Expander().expand("7z", c, resultDir); in sevenZChannelVersion()
101 new Expander().expand(f, resultDir); in sevenZFileVersion()
110 new Expander().expand(f, resultDir); in zipFileVersion()
119 new Expander().expand(f, resultDir); in fileCantEscapeViaAbsolutePath()
130 new Expander().expand(f, resultDir); in fileCantEscapeDoubleDotPath()
136 String sibling = resultDir.getName() + "x"; in fileCantEscapeDoubleDotPathWithSimilarSibling()
[all …]
DParameterizedExpanderTest.java97 new Expander().expand(format, archive, resultDir); in fileVersion()
103 new Expander().expand(archive, resultDir); in fileVersionWithAutoDetection()
110 new Expander().expand(format, i, resultDir); in inputStreamVersion()
118 new Expander().expand(i, resultDir); in inputStreamVersionWithAutoDetection()
126 new Expander().expand(format, c, resultDir); in channelVersion()
135 new Expander().expand(ais, resultDir); in archiveInputStreamVersion()
141 Assert.assertTrue("a has not been created", new File(resultDir, "a").isDirectory()); in verifyTargetDir()
142 Assert.assertTrue("a/b has not been created", new File(resultDir, "a/b").isDirectory()); in verifyTargetDir()
143 Assert.assertTrue("a/b/c has not been created", new File(resultDir, "a/b/c").isDirectory()); in verifyTargetDir()
149 Assert.assertTrue(fileName + " does not exist", new File(resultDir, fileName).isFile()); in assertHelloWorld()
[all …]
DSevenZArchiverTest.java54 target = new File(resultDir, "test.7z"); in setUp()
DParameterizedArchiverTest.java82 target = new File(resultDir, "test." + format); in setUp()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/
DAbstractTestCase.java49 protected File resultDir; field in AbstractTestCase
59 resultDir = mkdir("dir-result"); in setUp()
87 rmdir(resultDir); in tearDown()
88 dir = resultDir = null; in tearDown()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/
DZipTestCase.java96 … final File outfile = new File(resultDir.getCanonicalPath() + "/result/" + entry.getName()); in testZipArchiveCreation()