Searched refs:makeTestZip (Results 1 – 7 of 7) sorted by relevance
288 byte[] bytes = UnitTestZipArchive.makeTestZip(Collections.singletonList(ENTRY_A_LEVEL_6)); in testGeneratePreDiffPlan_OneCompressedEntry_Unchanged()306 byte[] oldBytes = UnitTestZipArchive.makeTestZip(Collections.singletonList(ENTRY_A_LEVEL_6)); in testGeneratePreDiffPlan_OneCompressedEntry_LengthsChanged()307 byte[] newBytes = UnitTestZipArchive.makeTestZip(Collections.singletonList(ENTRY_A_LEVEL_9)); in testGeneratePreDiffPlan_OneCompressedEntry_LengthsChanged()333 UnitTestZipArchive.makeTestZip(Collections.singletonList(FIXED_LENGTH_ENTRY_C1_LEVEL_6)); in testGeneratePreDiffPlan_OneCompressedEntry_BytesChanged()335 UnitTestZipArchive.makeTestZip(Collections.singletonList(FIXED_LENGTH_ENTRY_C2_LEVEL_6)); in testGeneratePreDiffPlan_OneCompressedEntry_BytesChanged()360 byte[] oldBytes = UnitTestZipArchive.makeTestZip(Collections.singletonList(ENTRY_A_STORED)); in testGeneratePreDiffPlan_OneUncompressedEntry()361 byte[] newBytes = UnitTestZipArchive.makeTestZip(Collections.singletonList(ENTRY_A_STORED)); in testGeneratePreDiffPlan_OneUncompressedEntry()379 byte[] oldBytes = UnitTestZipArchive.makeTestZip(Collections.singletonList(ENTRY_A_LEVEL_9)); in testGeneratePreDiffPlan_OneEntry_CompressedToUncompressed()380 byte[] newBytes = UnitTestZipArchive.makeTestZip(Collections.singletonList(ENTRY_A_STORED)); in testGeneratePreDiffPlan_OneEntry_CompressedToUncompressed()402 byte[] oldBytes = UnitTestZipArchive.makeTestZip(Collections.singletonList(ENTRY_A_STORED)); in testGeneratePreDiffPlan_OneEntry_UncompressedToCompressed()[all …]
123 byte[] bytes = UnitTestZipArchive.makeTestZip(Collections.singletonList(ENTRY_LEVEL_6)); in testPrepareForDiffing_OneCompressedEntry_Unchanged()145 byte[] oldBytes = UnitTestZipArchive.makeTestZip(Collections.singletonList(ENTRY_LEVEL_6)); in testPrepareForDiffing_OneCompressedEntry_Changed()147 byte[] newBytes = UnitTestZipArchive.makeTestZip(Collections.singletonList(ENTRY_LEVEL_9)); in testPrepareForDiffing_OneCompressedEntry_Changed()209 byte[] oldBytes = UnitTestZipArchive.makeTestZip(Collections.singletonList(ENTRY_LEVEL_6));211 byte[] newBytes = UnitTestZipArchive.makeTestZip(Collections.singletonList(ENTRY_LEVEL_9));
44 unitTestZipArchive = UnitTestZipArchive.makeTestZip(); in setup()
45 unitTestZipArchive = UnitTestZipArchive.makeTestZip(); in setup()
162 byte[] bytes = UnitTestZipArchive.makeTestZip(Collections.singletonList(ENTRY_A1_LEVEL_6)); in testExplainPatch_CompressedBytesIdentical()176 byte[] oldBytes = UnitTestZipArchive.makeTestZip(Collections.singletonList(ENTRY_A1_LEVEL_6)); in testExplainPatch_CompressedBytesChanged_UncompressedUnchanged()177 byte[] newBytes = UnitTestZipArchive.makeTestZip(Collections.singletonList(ENTRY_A1_LEVEL_9)); in testExplainPatch_CompressedBytesChanged_UncompressedUnchanged()193 byte[] oldBytes = UnitTestZipArchive.makeTestZip(Collections.singletonList(ENTRY_A1_LEVEL_6)); in testExplainPatch_CompressedBytesChanged_UncompressedChanged()194 byte[] newBytes = UnitTestZipArchive.makeTestZip(Collections.singletonList(ENTRY_A2_LEVEL_9)); in testExplainPatch_CompressedBytesChanged_UncompressedChanged()221 byte[] oldBytes = UnitTestZipArchive.makeTestZip(Collections.singletonList(ENTRY_A1_LEVEL_6)); in testExplainPatch_CompressedBytesChanged_UncompressedChanged_Limited()222 byte[] newBytes = UnitTestZipArchive.makeTestZip(Collections.singletonList(ENTRY_A2_LEVEL_9)); in testExplainPatch_CompressedBytesChanged_UncompressedChanged_Limited()248 byte[] oldBytes = UnitTestZipArchive.makeTestZip(Collections.singletonList(ENTRY_A1_STORED)); in testExplainPatch_BothEntriesUncompressed_BytesUnchanged()249 byte[] newBytes = UnitTestZipArchive.makeTestZip(Collections.singletonList(ENTRY_A1_STORED)); in testExplainPatch_BothEntriesUncompressed_BytesUnchanged()265 byte[] oldBytes = UnitTestZipArchive.makeTestZip(Collections.singletonList(ENTRY_A1_STORED)); in testExplainPatch_BothEntriesUncompressed_BytesChanged()[all …]
134 verifyTestZip(makeTestZip()); in makeTestZip() method146 public static byte[] makeTestZip() { in makeTestZip() method in UnitTestZipArchive147 return makeTestZip(allEntriesInFileOrder); in makeTestZip()155 public static byte[] makeTestZip(List<UnitTestZipEntry> entriesInFileOrder) { in makeTestZip() method in UnitTestZipArchive216 out.write(makeTestZip()); in saveTestZip()
146 byte[] oldArchiveBytes = UnitTestZipArchive.makeTestZip(Arrays.asList( in testPatchAndApply()179 byte[] newArchiveBytes = UnitTestZipArchive.makeTestZip(newEntries); in testPatchAndApply()