Home
last modified time | relevance | path

Searched refs:ze (Results 1 – 3 of 3) sorted by relevance

/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DZFileTest.java188 ZipEntry ze = jz.getEntry("wiki"); in compressedFilesReadableByJavaZip() local
189 assertNotNull(ze); in compressedFilesReadableByJavaZip()
190 assertEquals(ZipEntry.DEFLATED, ze.getMethod()); in compressedFilesReadableByJavaZip()
191 assertTrue(ze.getCompressedSize() < wikiData.length); in compressedFilesReadableByJavaZip()
192 InputStream zeis = jz.getInputStream(ze); in compressedFilesReadableByJavaZip()
196 ze = jz.getEntry("rfc"); in compressedFilesReadableByJavaZip()
197 assertNotNull(ze); in compressedFilesReadableByJavaZip()
198 assertEquals(ZipEntry.DEFLATED, ze.getMethod()); in compressedFilesReadableByJavaZip()
199 assertTrue(ze.getCompressedSize() < rfcData.length); in compressedFilesReadableByJavaZip()
200 zeis = jz.getInputStream(ze); in compressedFilesReadableByJavaZip()
[all …]
DExtraFieldTest.java119 ZipEntry ze = new ZipEntry("foo"); in readSingleExtraField() local
120 ze.setExtra(extraField); in readSingleExtraField()
121 zos.putNextEntry(ze); in readSingleExtraField()
165 ZipEntry ze = new ZipEntry("foo"); in readMultipleExtraFields() local
167 ze.setExtra(extraField); in readMultipleExtraFields()
168 zos.putNextEntry(ze); in readMultipleExtraFields()
DAlignmentTest.java231 ZipEntry ze = new ZipEntry(name);
232 zos.putNextEntry(ze);