Searched refs:getCompressedBinaryContent (Results 1 – 7 of 7) sorted by relevance
/external/archive-patcher/applier/src/test/java/com/google/archivepatcher/applier/ |
D | PartiallyCompressingOutputStreamTest.java | 116 Assert.assertArrayEquals(ENTRY1.getCompressedBinaryContent(), outBuffer.toByteArray()); in testWrite_AllCompressed() 126 byte[] expected = fuse(PREAMBLE_BYTES, ENTRY1.getCompressedBinaryContent()); in testWrite_GapAndCompression() 139 byte[] expected = fuse(PREAMBLE_BYTES, ENTRY1.getCompressedBinaryContent(), GAP1_BYTES); in testWrite_GapAndCompressionAndGap() 161 ENTRY1.getCompressedBinaryContent(), in testWrite_MixedSequence_Thrash() 163 ENTRY2.getCompressedBinaryContent()); in testWrite_MixedSequence_Thrash()
|
D | FileByFileV1DeltaApplierTest.java | 65 private static final byte[] COMPRESSED_OLD_CONTENT = OLD_ENTRY.getCompressedBinaryContent(); 67 private static final byte[] COMPRESSED_NEW_CONTENT = NEW_ENTRY.getCompressedBinaryContent();
|
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/ |
D | PartiallyUncompressingPipeTest.java | 55 new ByteArrayInputStream(entry.getCompressedBinaryContent()), Mode.UNCOMPRESS_NOWRAP); in testWriteAll_Compressed_NoWrapTrue() 91 new ByteArrayInputStream(entryA.getCompressedBinaryContent()), Mode.UNCOMPRESS_NOWRAP); in testWriteAll_Multiple() 99 new ByteArrayInputStream(entryB.getCompressedBinaryContent()), Mode.UNCOMPRESS_NOWRAP); in testWriteAll_Multiple()
|
/external/archive-patcher/generator/src/test/java/com/google/archivepatcher/generator/ |
D | MinimalZipArchiveTest.java | 83 Assert.assertEquals(expected.getCompressedBinaryContent().length, actual.getCompressedSize()); in testListEntries() 104 byte[] expectedContent = expected.getCompressedBinaryContent(); in testListEntries()
|
D | MinimalZipParserTest.java | 180 byte[] compressedContent = expectedEntry.getCompressedBinaryContent(); in testParseCentralDirectoryEntry() 213 expectedEntry.getCompressedBinaryContent(), in testParseLocalEntryAndGetCompressedDataOffset()
|
/external/archive-patcher/sharedtest/src/main/java/com/google/archivepatcher/shared/ |
D | UnitTestZipEntry.java | 100 public byte[] getCompressedBinaryContent() { in getCompressedBinaryContent() method in UnitTestZipEntry
|
/external/archive-patcher/explainer/src/test/java/com/google/archivepatcher/explainer/ |
D | PatchExplainerTest.java | 229 ENTRY_A1_LEVEL_6.getCompressedBinaryContent(), in testExplainPatch_CompressedBytesChanged_UncompressedChanged_Limited() 230 ENTRY_A2_LEVEL_9.getCompressedBinaryContent()); in testExplainPatch_CompressedBytesChanged_UncompressedChanged_Limited() 374 new FakeCompressor(ENTRY_B_LEVEL_6.getCompressedBinaryContent()); in testExplainPatch_NewFile()
|