Home
last modified time | relevance | path

Searched refs:getStreamFor (Results 1 – 2 of 2) sorted by relevance

/external/apache-commons-compress/src/test/java/org/apache/commons/compress/
DDetectArchiverTestCase.java44 getStreamFor("test.txt"); in testDetectionNotArchive()
53 final ArchiveInputStream tar = getStreamFor("COMPRESS-117.tar"); in testCOMPRESS117()
60 final ArchiveInputStream tar = getStreamFor("COMPRESS-335.tar"); in testCOMPRESS335()
68 final ArchiveInputStream ar = getStreamFor("bla.ar"); in testDetection()
72 final ArchiveInputStream tar = getStreamFor("bla.tar"); in testDetection()
76 final ArchiveInputStream zip = getStreamFor("bla.zip"); in testDetection()
80 final ArchiveInputStream jar = getStreamFor("bla.jar"); in testDetection()
84 final ArchiveInputStream cpio = getStreamFor("bla.cpio"); in testDetection()
88 final ArchiveInputStream arj = getStreamFor("bla.arj"); in testDetection()
99 private ArchiveInputStream getStreamFor(final String resource) in getStreamFor() method in DetectArchiverTestCase
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/
DDetectCompressorTestCase.java97 final CompressorInputStream bzip2 = getStreamFor("bla.txt.bz2"); in testDetection()
101 final CompressorInputStream gzip = getStreamFor("bla.tgz"); in testDetection()
105 final CompressorInputStream pack200 = getStreamFor("bla.pack"); in testDetection()
109 final CompressorInputStream xz = getStreamFor("bla.tar.xz"); in testDetection()
113 final CompressorInputStream zlib = getStreamFor("bla.tar.deflatez"); in testDetection()
117 final CompressorInputStream zstd = getStreamFor("bla.tar.zst"); in testDetection()
182 getStreamFor("COMPRESS-382", 100); in testLZMAMemoryLimit()
187 getStreamFor("COMPRESS-386", 100); in testZMemoryLimit()
198 try (InputStream compressorIs = getStreamFor("bla.tar.xz", 100)) { in testXZMemoryLimitOnRead()
205 try (InputStream compressorIs = getStreamFor("bla.tar.xz", 100)) { in testXZMemoryLimitOnSkip()
[all …]