chromium/net/base/expiring_cache_unittest.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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 {};

}  // namespace

TEST(ExpiringCacheTest, Basic) {}

TEST(ExpiringCacheTest, Compact) {}

// Add entries while the cache is at capacity, causing evictions.
TEST(ExpiringCacheTest, SetWithCompact) {}

TEST(ExpiringCacheTest, Clear) {}

TEST(ExpiringCacheTest, GetTruncatesExpiredEntries) {}

TEST(ExpiringCacheTest, CustomFunctor) {}

}  // namespace net