mirror of https://github.com/kiwix/libkiwix.git
LibraryTest.filterByMaxSize
This commit is contained in:
parent
95c354a5fa
commit
b9be742085
|
@ -496,6 +496,13 @@ TEST_F(LibraryTest, filterByCategory)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TEST_F(LibraryTest, filterByMaxSize)
|
||||||
|
{
|
||||||
|
EXPECT_FILTER_RESULTS(kiwix::Filter().maxSize(200000),
|
||||||
|
"An example ZIM archive"
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
TEST_F(LibraryTest, filterByMultipleCriteria)
|
TEST_F(LibraryTest, filterByMultipleCriteria)
|
||||||
{
|
{
|
||||||
EXPECT_FILTER_RESULTS(kiwix::Filter().query("Wiki").creator("Wiki"),
|
EXPECT_FILTER_RESULTS(kiwix::Filter().query("Wiki").creator("Wiki"),
|
||||||
|
|
Loading…
Reference in New Issue