Skip to content

Commit 57dd239

Browse files
author
MohitMaliFtechiz
committedMar 21, 2023
Remove bookmark test cases added
1 parent ee9a47d commit 57dd239

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎lib/src/test/test.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -185,16 +185,16 @@ public void testBookMark() throws ZimFileFormatException, JNIKiwixException {
185185
lib.addBookmark(bookmark);
186186
Bookmark[] bookmarkArray = lib.getBookmarks(true);
187187
assertEquals(1, bookmarkArray.length);
188-
//bookmark = bookmarkArray[0];
188+
bookmark = bookmarkArray[0];
189189
// remove bookmark from library
190-
//assertEquals(true, lib.removeBookmark(bookmark.getBookId(), bookmark.getUrl()));
190+
assertEquals(true, lib.removeBookmark(bookmark.getBookId(), bookmark.getUrl()));
191191
}
192192

193193
@Test
194194
public void testSearcher() throws Exception, ZimFileFormatException, JNIKiwixException {
195195
Archive archive = new Archive("small.zim");
196196
Searcher searcher = new Searcher(archive);
197-
/* Query query = new Query("test");
197+
/*Query query = new Query("test");
198198
Search search = searcher.search(query);
199199
int matches = (int) search.getEstimatedMatches();
200200
assertEquals(1, matches);

0 commit comments

Comments
 (0)
Please sign in to comment.