Searched refs:writeTestPatch (Results 1 – 1 of 1) sorted by relevance
130 private byte[] writeTestPatch() throws IOException { in writeTestPatch() method in PatchReaderTest229 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 …]