#include "net/base/expiring_cache.h"
#include <functional>
#include <string>
#include "base/containers/contains.h"
#include "base/strings/stringprintf.h"
#include "base/time/time.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
Pointee;
StrEq;
namespace net {
namespace {
const int kMaxCacheEntries = …;
Cache;
struct TestFunctor { … };
}
TEST(ExpiringCacheTest, Basic) { … }
TEST(ExpiringCacheTest, Compact) { … }
TEST(ExpiringCacheTest, SetWithCompact) { … }
TEST(ExpiringCacheTest, Clear) { … }
TEST(ExpiringCacheTest, GetTruncatesExpiredEntries) { … }
TEST(ExpiringCacheTest, CustomFunctor) { … }
}