wangle::SSLSessionPersistentCacheTest::SSLSessionPersistentCacheTest |
( |
| ) |
|
|
inline |
void wangle::SSLSessionPersistentCacheTest::SetUp |
( |
| ) |
|
|
inlineoverridevirtual |
Reimplemented from testing::Test.
Definition at line 55 of file SSLSessionPersistentCacheTest.cpp.
References wangle::getSessions(), and wangle::getSessionWithTicket().
57 sessions_.emplace_back(it.first, it.second);
65 50, std::chrono::seconds(150)));
67 std::unique_ptr<SSLSessionPersistentCache::TimeUtil>(
mockTimeUtil_));
std::vector< std::pair< SSL_SESSION *, size_t > > sessions_
std::pair< SSL_SESSION *, size_t > sessionWithTicket_
std::vector< std::pair< SSL_SESSION *, size_t > > getSessions()
std::unique_ptr< SSLSessionPersistentCache > cache_
MockTimeUtilGeneric<> MockTimeUtil
MockTimeUtil * mockTimeUtil_
std::pair< SSL_SESSION *, size_t > getSessionWithTicket()
void wangle::SSLSessionPersistentCacheTest::TearDown |
( |
| ) |
|
|
inlineoverridevirtual |
Reimplemented from testing::Test.
Definition at line 70 of file SSLSessionPersistentCacheTest.cpp.
References EXPECT_TRUE.
72 SSL_SESSION_free(it.first);
std::vector< std::pair< SSL_SESSION *, size_t > > sessions_
std::unique_ptr< SSLSessionPersistentCache > cache_
#define EXPECT_TRUE(condition)
void wangle::SSLSessionPersistentCacheTest::verifyEntryInCache |
( |
const std::string & |
hostname, |
|
|
std::pair< SSL_SESSION *, size_t > |
session, |
|
|
bool |
inCache = true |
|
) |
| |
|
inlineprotected |
std::string wangle::SSLSessionPersistentCacheTest::filename_ |
|
protected |
MockTimeUtil* wangle::SSLSessionPersistentCacheTest::mockTimeUtil_ |
|
protected |
std::vector<std::pair<SSL_SESSION*, size_t> > wangle::SSLSessionPersistentCacheTest::sessions_ |
|
protected |
std::pair<SSL_SESSION*, size_t> wangle::SSLSessionPersistentCacheTest::sessionWithTicket_ |
|
protected |
The documentation for this class was generated from the following file: