From 35778245078a8f9da52f734f3b1d555bd3dc3b5e Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Wed, 17 May 2023 14:34:52 +0200 Subject: [PATCH] Deactivate `testSearcher()` to fix. `small.zim` doesn't seems to contain a xapian database, so searcher cannot work. --- lib/src/test/test.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/src/test/test.java b/lib/src/test/test.java index 6ef3cf4..a95a1e2 100644 --- a/lib/src/test/test.java +++ b/lib/src/test/test.java @@ -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); } -} \ No newline at end of file +}