MCPcopy Create free account
hub / github.com/src-d/hercules / testDuplicateEntryAtAddOrReplace

Method testDuplicateEntryAtAddOrReplace

internal/test_data/2.java:164–174  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

162 }
163
164 public void testDuplicateEntryAtAddOrReplace() throws IOException {
165 File src = new File(getClass().getResource("duplicate.zip").getPath());
166
167 File dest = File.createTempFile("temp", null);
168 try {
169 ZipUtil.addOrReplaceEntries(src, new ZipEntrySource[0], dest);
170 }
171 finally {
172 FileUtils.deleteQuietly(dest);
173 }
174 }
175
176 public void testUnexplode() throws IOException {
177 File file = File.createTempFile("tempFile", null);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected