proxygen
SSLSessionCacheDataTest Class Reference
Inheritance diagram for SSLSessionCacheDataTest:
testing::Test

Public Member Functions

void SetUp () override
 
void TearDown () override
 
- Public Member Functions inherited from testing::Test
virtual ~Test ()
 
virtual ~Test ()
 
virtual ~Test ()
 

Protected Attributes

std::vector< std::pair< SSL_SESSION *, size_t > > sessions_
 

Additional Inherited Members

- Public Types inherited from testing::Test
typedef internal::SetUpTestCaseFunc SetUpTestCaseFunc
 
typedef internal::TearDownTestCaseFunc TearDownTestCaseFunc
 
typedef internal::SetUpTestCaseFunc SetUpTestCaseFunc
 
typedef internal::TearDownTestCaseFunc TearDownTestCaseFunc
 
typedef internal::SetUpTestCaseFunc SetUpTestCaseFunc
 
typedef internal::TearDownTestCaseFunc TearDownTestCaseFunc
 
- Static Public Member Functions inherited from testing::Test
static void SetUpTestCase ()
 
static void TearDownTestCase ()
 
static bool HasFatalFailure ()
 
static bool HasNonfatalFailure ()
 
static bool HasFailure ()
 
static void RecordProperty (const std::string &key, const std::string &value)
 
static void RecordProperty (const std::string &key, int value)
 
static void SetUpTestCase ()
 
static void TearDownTestCase ()
 
static bool HasFatalFailure ()
 
static bool HasNonfatalFailure ()
 
static bool HasFailure ()
 
static void RecordProperty (const std::string &key, const std::string &value)
 
static void RecordProperty (const std::string &key, int value)
 
static void SetUpTestCase ()
 
static void TearDownTestCase ()
 
static bool HasFatalFailure ()
 
static bool HasNonfatalFailure ()
 
static bool HasFailure ()
 
static void RecordProperty (const std::string &key, const std::string &value)
 
static void RecordProperty (const std::string &key, int value)
 
- Protected Member Functions inherited from testing::Test
 Test ()
 
 Test ()
 
 Test ()
 

Detailed Description

Definition at line 34 of file SSLSessionCacheDataTest.cpp.

Member Function Documentation

void SSLSessionCacheDataTest::SetUp ( )
inlineoverridevirtual

Reimplemented from testing::Test.

Definition at line 36 of file SSLSessionCacheDataTest.cpp.

References wangle::getSessions().

36  {
38  }
std::vector< std::pair< SSL_SESSION *, size_t > > getSessions()
Definition: TestUtil.cpp:320
std::vector< std::pair< SSL_SESSION *, size_t > > sessions_
void SSLSessionCacheDataTest::TearDown ( )
inlineoverridevirtual

Reimplemented from testing::Test.

Definition at line 40 of file SSLSessionCacheDataTest.cpp.

40  {
41  for (const auto& it : sessions_) {
42  SSL_SESSION_free(it.first);
43  }
44  sessions_.clear();
45  }
std::vector< std::pair< SSL_SESSION *, size_t > > sessions_

Member Data Documentation

std::vector<std::pair<SSL_SESSION*, size_t> > SSLSessionCacheDataTest::sessions_
protected

Definition at line 48 of file SSLSessionCacheDataTest.cpp.


The documentation for this class was generated from the following file: