#include "net/ssl/ssl_client_session_cache.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/test/simple_test_clock.h"
#include "base/test/task_environment.h"
#include "base/time/time.h"
#include "base/trace_event/memory_allocator_dump.h"
#include "base/trace_event/process_memory_dump.h"
#include "net/base/network_anonymization_key.h"
#include "net/base/schemeful_site.h"
#include "net/base/tracing.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/boringssl/src/include/openssl/ssl.h"
#include "url/gurl.h"
ByRef;
Contains;
Eq;
Field;
namespace net {
namespace {
std::unique_ptr<base::SimpleTestClock> MakeTestClock() { … }
SSLClientSessionCache::Key MakeTestKey(const std::string& str) { … }
class SSLClientSessionCacheTest : public testing::Test { … };
}
TEST_F(SSLClientSessionCacheTest, Basic) { … }
TEST_F(SSLClientSessionCacheTest, BasicSingleUse) { … }
TEST_F(SSLClientSessionCacheTest, MixedUse) { … }
TEST_F(SSLClientSessionCacheTest, DoubleInsert) { … }
TEST_F(SSLClientSessionCacheTest, MaxEntries) { … }
TEST_F(SSLClientSessionCacheTest, Expiration) { … }
TEST_F(SSLClientSessionCacheTest, LookupExpirationCheck) { … }
TEST_F(SSLClientSessionCacheTest, TestFlushOnMemoryNotifications) { … }
TEST_F(SSLClientSessionCacheTest, FlushForServer) { … }
TEST_F(SSLClientSessionCacheTest, FlushForServers) { … }
}