Lines Matching refs:BlobCacheTest
27 class BlobCacheTest : public ::testing::Test {
46 TEST_F(BlobCacheTest, CacheSingleValueSucceeds) {
56 TEST_F(BlobCacheTest, CacheTwoValuesSucceeds) {
68 TEST_F(BlobCacheTest, GetOnlyWritesInsideBounds) {
80 TEST_F(BlobCacheTest, GetOnlyWritesIfBufferIsLargeEnough) {
89 TEST_F(BlobCacheTest, GetDoesntAccessNullBuffer) {
94 TEST_F(BlobCacheTest, MultipleSetsCacheLatestValue) {
105 TEST_F(BlobCacheTest, SecondSetKeepsFirstValueIfTooLarge) {
116 TEST_F(BlobCacheTest, DoesntCacheIfKeyIsTooBig) {
130 TEST_F(BlobCacheTest, DoesntCacheIfValueIsTooBig) {
146 TEST_F(BlobCacheTest, DoesntCacheIfKeyValuePairIsTooBig) {
166 TEST_F(BlobCacheTest, CacheMaxKeySizeSucceeds) {
180 TEST_F(BlobCacheTest, CacheMaxValueSizeSucceeds) {
197 TEST_F(BlobCacheTest, CacheMaxKeyValuePairSizeSucceeds) {
216 TEST_F(BlobCacheTest, CacheMinKeyAndValueSizeSucceeds) {
223 TEST_F(BlobCacheTest, CacheSizeDoesntExceedTotalLimit) {
238 TEST_F(BlobCacheTest, ExceedingTotalLimitHalvesCacheSize) {
261 class BlobCacheFlattenTest : public BlobCacheTest {
264 BlobCacheTest::SetUp();
270 BlobCacheTest::TearDown();