Home
last modified time | relevance | path

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

/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DZFileTest.java705 ZFile zipWithOffset = new ZFile(zipWithOffsetFile)) { in extraDirectoryOffsetEmptyFile()
706 zipWithOffset.setExtraDirectoryOffset(offset); in extraDirectoryOffsetEmptyFile()
709 zipWithOffset.close(); in extraDirectoryOffsetEmptyFile()
723 assertEquals(offset, zipWithOffset.getCentralDirectoryOffset()); in extraDirectoryOffsetEmptyFile()
724 assertEquals(0, zipWithOffset.getCentralDirectorySize()); in extraDirectoryOffsetEmptyFile()
725 assertEquals(offset, zipWithOffset.getEocdOffset()); in extraDirectoryOffsetEmptyFile()
726 assertEquals(ZFileTestConstants.EOCD_SIZE, zipWithOffset.getEocdSize()); in extraDirectoryOffsetEmptyFile()
765 ZFile zipWithOffset = new ZFile(zipWithOffsetFile, options)) { in extraDirectoryOffsetNonEmptyFile() argument
766 zipWithOffset.setExtraDirectoryOffset(37); in extraDirectoryOffsetNonEmptyFile()
769 zipWithOffset.add("x", new ByteArrayInputStream(new byte[]{1, 2})); in extraDirectoryOffsetNonEmptyFile()
[all …]