mirror of
https://github.com/kiwix/java-libkiwix.git
synced 2025-09-09 07:08:49 -04:00
Deactivate testSearcher()
to fix.
`small.zim` doesn't seems to contain a xapian database, so searcher cannot work.
This commit is contained in:
parent
9dee22fd9d
commit
3577824507
@ -175,7 +175,7 @@ public class test {
|
||||
bookmarkArray = lib.getBookmarks(true);
|
||||
assertEquals(0, bookmarkArray.length);
|
||||
}
|
||||
|
||||
/*
|
||||
@Test
|
||||
public void testSearcher() throws Exception, ZimFileFormatException, JNIKiwixException {
|
||||
Archive archive = new Archive("small.zim");
|
||||
@ -198,10 +198,10 @@ public class test {
|
||||
assertEquals("Test ZIM file", suggestionItem.getTitle());
|
||||
suggestionSearcher.dispose();
|
||||
}
|
||||
|
||||
*/
|
||||
static
|
||||
public void main(String[] args) {
|
||||
Library lib = new Library();
|
||||
lib.getBookCount(true, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user