Lines Matching defs:BlobCacheTest
30 class BlobCacheTest : public ::testing::Test { class
55 TEST_F(BlobCacheTest, CacheSingleValueSucceeds) { in TEST_F() argument
65 TEST_F(BlobCacheTest, CacheTwoValuesSucceeds) { in TEST_F() argument
77 TEST_F(BlobCacheTest, GetOnlyWritesInsideBounds) { in TEST_F() argument
89 TEST_F(BlobCacheTest, GetOnlyWritesIfBufferIsLargeEnough) { in TEST_F() argument
98 TEST_F(BlobCacheTest, GetDoesntAccessNullBuffer) { in TEST_F() argument
103 TEST_F(BlobCacheTest, MultipleSetsCacheLatestValue) { in TEST_F() argument
114 TEST_F(BlobCacheTest, SecondSetKeepsFirstValueIfTooLarge) { in TEST_F() argument
125 TEST_F(BlobCacheTest, DoesntCacheIfKeyIsTooBig) { in TEST_F() argument
139 TEST_F(BlobCacheTest, DoesntCacheIfValueIsTooBig) { in TEST_F() argument
155 TEST_F(BlobCacheTest, DoesntCacheIfKeyValuePairIsTooBig) { in TEST_F() argument
175 TEST_F(BlobCacheTest, CacheMaxKeySizeSucceeds) { in TEST_F() argument
189 TEST_F(BlobCacheTest, CacheMaxValueSizeSucceeds) { in TEST_F() argument
206 TEST_F(BlobCacheTest, CacheMaxKeyValuePairSizeSucceeds) { in TEST_F() argument
225 TEST_F(BlobCacheTest, CacheMinKeyAndValueSizeSucceeds) { in TEST_F() argument
232 TEST_F(BlobCacheTest, CacheSizeDoesntExceedTotalLimit) { in TEST_F() argument
247 TEST_F(BlobCacheTest, ExceedingTotalLimitHalvesCacheSize) { in TEST_F() argument