()
| 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); |
nothing calls this directly
no outgoing calls
no test coverage detected