D | Zip64ExtendedInformationExtraFieldTest.java | 38 private static final ZipLong DISK = new ZipLong(0x12); field in Zip64ExtendedInformationExtraFieldTest 64 new Zip64ExtendedInformationExtraField(SIZE, CSIZE, OFF, DISK); in testWriteCDSizeOffsetAndDisk() 76 new Zip64ExtendedInformationExtraField(SIZE, CSIZE, null, DISK); in testWriteCDSizeAndDisk() 121 System.arraycopy(DISK.getBytes(), 0, b, 24, 4); in testReadLFHSizesOffsetAndDisk() 126 assertEquals(DISK, f.getDiskStartNumber()); in testReadLFHSizesOffsetAndDisk() 136 System.arraycopy(DISK.getBytes(), 0, b, 16, 4); in testReadLFHSizesAndDisk() 141 assertEquals(DISK, f.getDiskStartNumber()); in testReadLFHSizesAndDisk() 152 System.arraycopy(DISK.getBytes(), 0, b, 24, 4); in testReadCDSizesOffsetAndDisk() 157 assertEquals(DISK, f.getDiskStartNumber()); in testReadCDSizesOffsetAndDisk() 181 System.arraycopy(DISK.getBytes(), 0, b, 8, 4); in testReadCDSomethingAndDisk() [all …]
|