libkiwix/test
Veloman Yunkan 49940a30d0 XmlLibraryTest.removeBookByIdUpdatesTheSearchDB
The new unit-test fails with a reason not expected before it was
written. The `Library::filter()` operation returns a correct result
after the call to `removeBookById()` (this was a surprise!) but it has
a side-effect of re-adding an empty book with the id still surviving
in the search DB (the emptiness of this re-created book doesn't allow
it to pass the other filtering criteria, which explains why the result
of `Library::filter()` is correct). Had to add a special check
to the new unit-test against that hidden side-effect of
`Library::removeBookById()` + `Library::filter()` combination.
2021-04-09 17:06:45 +04:00
..
data Added some diversity to test/data/library.xml 2021-03-17 14:32:03 +01:00
book.cpp Both Book::update() methods update the category 2021-03-17 14:10:57 +04:00
counterParsing.cpp Adapt kiwix-lib to the new libzim api. 2020-12-02 12:16:48 +01:00
httplib.h Introducing 1st real unit test of the server 2020-04-29 15:39:18 +04:00
kiwixserve.cpp Fix tests. 2020-01-20 17:00:18 +01:00
library.cpp XmlLibraryTest.removeBookByIdUpdatesTheSearchDB 2021-04-09 17:06:45 +04:00
manager.cpp [TEST] Do not try to use the bookId if it is wrong. 2021-01-26 17:53:25 +01:00
meson.build New unit-test LibraryServerTest.catalog_root_xml 2021-03-17 14:02:27 +04:00
pathTools.cpp Add support for samba path on windows. 2020-07-15 11:40:02 +02:00
regex.cpp Fix tests. 2020-01-20 17:00:18 +01:00
server.cpp LibraryServerTest.catalog_search_with_word_exclusion 2021-03-17 14:32:03 +01:00
stringTools.cpp Better parsing of `M/Counter` 2020-10-28 16:03:18 +01:00
tagParsing.cpp Fix tests. 2020-01-20 17:00:18 +01:00