@Test public void testNoOpFileArchive() throws Exception { NoOpFileArchive archive = new NoOpFileArchive(new File(".")); assertNotNull(archive.getUrl()); assertNotNull(archive.getNestedArchives(null)); assertEquals(0, archive.getNestedArchives(null).size()); assertNotNull(archive.iterator()); assertFalse(archive.iterator().hasNext()); assertNull(archive.getManifest()); }
public NoOpFileArchive(File f) { root = f; }
NoOpFileArchive implements Archive { public NoOpFileArchive(File f) { root = f; } }
NoOpFileArchive implements Archive { public NoOpFileArchive(File f) { root = f; } NoOpFileArchive(File f); }
NoOpFileArchive implements Archive { public NoOpFileArchive(File f) { root = f; } NoOpFileArchive(File f); @Override Iterator<Entry> iterator(); @Override URL getUrl(); @Override Manifest getManifest(); @Override List<Archive> getNestedArchives(EntryFilter filter); @Override String toString(); }
NoOpFileArchive implements Archive { public NoOpFileArchive(File f) { root = f; } NoOpFileArchive(File f); @Override Iterator<Entry> iterator(); @Override URL getUrl(); @Override Manifest getManifest(); @Override List<Archive> getNestedArchives(EntryFilter filter); @Override String toString();  }