Home
last modified time | relevance | path

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

/external/archive-patcher/integrationtest/src/test/java/com/google/archivepatcher/integrationtest/
DFileByFileV1IntegrationTest.java20 import com.google.archivepatcher.shared.UnitTestZipEntry;
64 private static final UnitTestZipEntry OLD_ENTRY1 =
66 private static final UnitTestZipEntry NEW_ENTRY1 =
68 private static final UnitTestZipEntry OLD_ENTRY2 =
70 private static final UnitTestZipEntry NEW_ENTRY2 =
72 private static final UnitTestZipEntry OLD_ENTRY3 =
74 private static final UnitTestZipEntry NEW_ENTRY3 =
76 private static final UnitTestZipEntry OLD_ENTRY4 =
78 private static final UnitTestZipEntry NEW_ENTRY4 =
80 private static final UnitTestZipEntry OLD_ENTRY5 =
[all …]
/external/archive-patcher/sharedtest/src/main/java/com/google/archivepatcher/shared/
DUnitTestZipArchive.java49 public static final UnitTestZipEntry entry1 =
59 public static final UnitTestZipEntry entry2 =
69 public static final UnitTestZipEntry entry3 =
79 public static final UnitTestZipEntry entry4 =
95 public static final UnitTestZipEntry makeUnitTestZipEntry( in makeUnitTestZipEntry()
112 public static final UnitTestZipEntry makeUnitTestZipEntry( in makeUnitTestZipEntry()
120 return new UnitTestZipEntry(path, level, nowrap, contentPrefix + corpusText, comment); in makeUnitTestZipEntry()
127 public static final List<UnitTestZipEntry> allEntriesInFileOrder =
129 Arrays.asList(new UnitTestZipEntry[] {entry1, entry2, entry3, entry4}));
155 public static byte[] makeTestZip(List<UnitTestZipEntry> entriesInFileOrder) { in makeTestZip()
[all …]
DUnitTestZipEntry.java25 public class UnitTestZipEntry { class
58 public UnitTestZipEntry(String path, int level, String content, String comment) { in UnitTestZipEntry() method in UnitTestZipEntry
71 public UnitTestZipEntry(String path, int level, boolean nowrap, String content, String comment) { in UnitTestZipEntry() method in UnitTestZipEntry
/external/archive-patcher/generator/src/test/java/com/google/archivepatcher/generator/
DPreDiffPlannerTest.java23 import com.google.archivepatcher.shared.UnitTestZipEntry;
54 private static final UnitTestZipEntry ENTRY_A_LEVEL_6 =
56 private static final UnitTestZipEntry ENTRY_A_LEVEL_9 =
58 private static final UnitTestZipEntry ENTRY_A_STORED =
60 private static final UnitTestZipEntry ENTRY_B_LEVEL_6 =
62 private static final UnitTestZipEntry ENTRY_B_LEVEL_9 =
71 private static final UnitTestZipEntry FIXED_LENGTH_ENTRY_C1_LEVEL_6 =
72 new UnitTestZipEntry("/path C", 6, "qqqqqqqqqqqqqqqqqqqqqqqqqqqq", null);
80 private static final UnitTestZipEntry FIXED_LENGTH_ENTRY_C2_LEVEL_6 =
81 new UnitTestZipEntry("/path C", 6, "rrrrrrrrrrrrrrrrrrrrrrrrrrrr", null);
[all …]
DMinimalZipParserTest.java19 import com.google.archivepatcher.shared.UnitTestZipEntry;
159 for (UnitTestZipEntry expectedEntry : UnitTestZipArchive.allEntriesInFileOrder) { in testParseCentralDirectoryEntry()
204 UnitTestZipEntry expectedEntry = UnitTestZipArchive.allEntriesInFileOrder.get(x); in testParseLocalEntryAndGetCompressedDataOffset()
DMinimalZipArchiveTest.java18 import com.google.archivepatcher.shared.UnitTestZipEntry;
79 UnitTestZipEntry expected = UnitTestZipArchive.allEntriesInFileOrder.get(x); in testListEntries()
DPreDiffExecutorTest.java18 import com.google.archivepatcher.shared.UnitTestZipEntry;
41 private static final UnitTestZipEntry ENTRY_LEVEL_6 =
43 private static final UnitTestZipEntry ENTRY_LEVEL_9 =
DDefaultDeflateCompressionDivinerTest.java23 import com.google.archivepatcher.shared.UnitTestZipEntry;
117 UnitTestZipEntry expected = UnitTestZipArchive.allEntriesInFileOrder.get(x); in testDivineDeflateParameters_File()
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/
DPartiallyUncompressingPipeTest.java53 UnitTestZipEntry entry = UnitTestZipArchive.makeUnitTestZipEntry("/foo", 7, "frobozz", null); in testWriteAll_Compressed_NoWrapTrue()
61 UnitTestZipEntry entry = UnitTestZipArchive.makeUnitTestZipEntry("/foo", 6, "frobozz", null); in testWriteAll_Compressed_NoWrapFalse()
79 UnitTestZipEntry entryA = in testWriteAll_Multiple()
81 UnitTestZipEntry entryB = in testWriteAll_Multiple()
/external/archive-patcher/applier/src/test/java/com/google/archivepatcher/applier/
DFileByFileV1DeltaApplierTest.java19 import com.google.archivepatcher.shared.UnitTestZipEntry;
58 private static final UnitTestZipEntry OLD_ENTRY =
59 new UnitTestZipEntry("/foo", PARAMS1.level, PARAMS1.nowrap, OLD_CONTENT, null);
61 private static final UnitTestZipEntry NEW_ENTRY =
62 new UnitTestZipEntry("/foo", PARAMS1.level, PARAMS1.nowrap, NEW_CONTENT, null);
DPartiallyCompressingOutputStreamTest.java20 import com.google.archivepatcher.shared.UnitTestZipEntry;
47 private static UnitTestZipEntry ENTRY1 =
59 private static UnitTestZipEntry ENTRY2 =
/external/archive-patcher/explainer/src/test/java/com/google/archivepatcher/explainer/
DPatchExplainerTest.java25 import com.google.archivepatcher.shared.UnitTestZipEntry;
55 private static final UnitTestZipEntry ENTRY_A1_LEVEL_6 =
57 private static final UnitTestZipEntry ENTRY_A1_LEVEL_9 =
59 private static final UnitTestZipEntry ENTRY_A1_STORED =
61 private static final UnitTestZipEntry ENTRY_A2_LEVEL_9 =
63 private static final UnitTestZipEntry ENTRY_A2_STORED =
65 private static final UnitTestZipEntry ENTRY_B_LEVEL_6 =
408 private static ByteArrayHolder path(UnitTestZipEntry entry) throws UnsupportedEncodingException { in path()