mirror of
https://github.com/kiwix/libkiwix.git
synced 2026-05-19 12:24:56 -04:00
LibraryTest.filterByName
This commit is contained in:
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user