use of org.gbif.dwc.Archive in project eol-globi-data by jhpoelen.
the class DwCAUtilTest method emitRecords.
@Test
public void emitRecords() throws IOException, URISyntaxException {
URI archiveURI = getClass().getResource("dwca.zip").toURI();
String tmpDir = "target/tmp/myarchive";
Archive dwcArchive = DwCAUtil.archiveFor(archiveURI, tmpDir);
assertHasRecords(dwcArchive);
}
Aggregations