| 265 | }; |
| 266 | |
| 267 | TEST_P(ImageCacheEvictionFixture, originalImageIsStoredAsLongAsVariantExist) { |
| 268 | auto result1 = getImage(_url, getWidth() / 2, getHeight() / 2); |
| 269 | _cache->invalidateCachedItems(_policy); |
| 270 | auto result2 = getImage(_url, getWidth(), getHeight()); |
| 271 | ASSERT_FALSE(!result2); |
| 272 | } |
| 273 | |
| 274 | TEST_P(ImageCacheEvictionFixture, originalIsErasedIfVariantIsntHeld) { |
| 275 | auto result1 = getImage(_url, getWidth() / 2, getHeight() / 2).moveValue(); |
nothing calls this directly
no test coverage detected