Searched refs:patchIn (Results 1 – 1 of 1) sorted by relevance
/external/archive-patcher/applier/src/test/java/com/google/archivepatcher/applier/bsdiff/ |
D | BsPatchTest.java | 96 final InputStream patchIn = new ByteArrayInputStream(new byte[] {(byte) 0x00}); in testTransformBytes_Error_NotEnoughBytes() local 100 BsPatch.transformBytes(2, patchIn, oldData, new ByteArrayOutputStream(), buffer1, buffer2); in testTransformBytes_Error_NotEnoughBytes() 162 InputStream patchIn = in testApplyPatch_BadSignature() local 173 BsPatch.applyPatch(new RandomAccessFile(oldFile, "r"), newData, patchIn); in testApplyPatch_BadSignature() 185 InputStream patchIn = in testApplyPatch_NewLengthNegative() local 196 BsPatch.applyPatch(new RandomAccessFile(oldFile, "r"), newData, patchIn); in testApplyPatch_NewLengthNegative() 208 InputStream patchIn = in testApplyPatch_NewLengthTooLarge() local 220 new RandomAccessFile(oldFile, "r"), newData, patchIn); in testApplyPatch_NewLengthTooLarge() 232 InputStream patchIn = in testApplyPatch_DiffSegmentLengthNegative() local 243 BsPatch.applyPatch(new RandomAccessFile(oldFile, "r"), newData, patchIn); in testApplyPatch_DiffSegmentLengthNegative() [all …]
|