use of org.apache.tika.parser.chm.accessor.ChmDirectoryListingSet in project tika by apache.
the class TestChmExtractor method testExtractChmEntry.
@Test
public void testExtractChmEntry() throws TikaException {
ChmDirectoryListingSet entries = chmExtractor.getChmDirList();
int count = 0;
for (DirectoryListingEntry directoryListingEntry : entries.getDirectoryListingEntryList()) {
chmExtractor.extractChmEntry(directoryListingEntry);
++count;
}
assertEquals(TestParameters.VP_CHM_ENTITIES_NUMBER, count);
}
Aggregations