Home
last modified time | relevance | path

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

/external/archive-patcher/applier/src/test/java/com/google/archivepatcher/applier/
DPatchReaderTest.java130 private byte[] writeTestPatch() throws IOException { in writeTestPatch() method in PatchReaderTest
229 new PatchReader().readPatchApplyPlan(new ByteArrayInputStream(writeTestPatch())); in testReadPatchApplyPlan()
240 new PatchReader().readPatchApplyPlan(new ByteArrayInputStream(writeTestPatch())); in testReadPatchApplyPlan_CorruptIdentifier()
246 new PatchReader().readPatchApplyPlan(new ByteArrayInputStream(writeTestPatch())); in testReadPatchApplyPlan_CorruptDeltaFriendlyOldFileSize()
253 new PatchReader().readPatchApplyPlan(new ByteArrayInputStream(writeTestPatch())); in testReadPatchApplyPlan_CorruptOldFileUncompressionInstructionCount()
260 new PatchReader().readPatchApplyPlan(new ByteArrayInputStream(writeTestPatch())); in testReadPatchApplyPlan_CorruptOldFileUncompressionInstructionOrder()
267 new PatchReader().readPatchApplyPlan(new ByteArrayInputStream(writeTestPatch())); in testReadPatchApplyPlan_CorruptOldFileUncompressionInstructionOffset()
274 new PatchReader().readPatchApplyPlan(new ByteArrayInputStream(writeTestPatch())); in testReadPatchApplyPlan_CorruptOldFileUncompressionInstructionLength()
281 new PatchReader().readPatchApplyPlan(new ByteArrayInputStream(writeTestPatch())); in testReadPatchApplyPlan_CorruptDeltaFriendlyNewFileRecompressionInstructionCount()
288 new PatchReader().readPatchApplyPlan(new ByteArrayInputStream(writeTestPatch())); in testReadPatchApplyPlan_CorruptDeltaFriendlyNewFileRecompressionInstructionOrder()
[all …]