mirror of https://github.com/kiwix/libkiwix.git
LibraryTest.filterByName
This commit is contained in:
parent
ef962a9174
commit
cdd272fc5a
|
@ -481,6 +481,13 @@ TEST_F(LibraryTest, filterByPublisher)
|
|||
);
|
||||
}
|
||||
|
||||
TEST_F(LibraryTest, filterByName)
|
||||
{
|
||||
EXPECT_FILTER_RESULTS(kiwix::Filter().name("wikibooks_de"),
|
||||
"An example ZIM archive"
|
||||
);
|
||||
}
|
||||
|
||||
TEST_F(LibraryTest, filterByMultipleCriteria)
|
||||
{
|
||||
EXPECT_FILTER_RESULTS(kiwix::Filter().query("Wiki").creator("Wiki"),
|
||||
|
|
Loading…
Reference in New Issue