proxygen
fizz::client::test::SynchronizedLruPskCacheTest Class Reference
Inheritance diagram for fizz::client::test::SynchronizedLruPskCacheTest:
testing::Test

Public Member Functions

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

Protected Member Functions

CachedPsk getCachedPsk (std::string pskName="PSK")
 
- Protected Member Functions inherited from testing::Test
 Test ()
 
virtual void TearDown ()
 
 Test ()
 
virtual void TearDown ()
 
 Test ()
 
virtual void TearDown ()
 

Protected Attributes

std::unique_ptr< SynchronizedLruPskCachecache_
 
std::chrono::system_clock::time_point ticketTime_
 

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)
 

Detailed Description

Definition at line 23 of file SynchronizedLruPskCacheTest.cpp.

Member Function Documentation

CachedPsk fizz::client::test::SynchronizedLruPskCacheTest::getCachedPsk ( std::string  pskName = "PSK")
inlineprotected

Definition at line 31 of file SynchronizedLruPskCacheTest.cpp.

References fizz::client::test::getTestPsk().

31  {
32  return getTestPsk(pskName, ticketTime_);
33  }
CachedPsk getTestPsk(std::string pskName, std::chrono::system_clock::time_point issueTime)
Definition: Utilities.h:16
void fizz::client::test::SynchronizedLruPskCacheTest::SetUp ( )
inlineoverridevirtual

Reimplemented from testing::Test.

Definition at line 25 of file SynchronizedLruPskCacheTest.cpp.

References now().

25  {
26  cache_ = std::make_unique<SynchronizedLruPskCache>(3);
28  }
std::chrono::steady_clock::time_point now()
std::unique_ptr< SynchronizedLruPskCache > cache_

Member Data Documentation

std::unique_ptr<SynchronizedLruPskCache> fizz::client::test::SynchronizedLruPskCacheTest::cache_
protected

Definition at line 35 of file SynchronizedLruPskCacheTest.cpp.

std::chrono::system_clock::time_point fizz::client::test::SynchronizedLruPskCacheTest::ticketTime_
protected

Definition at line 36 of file SynchronizedLruPskCacheTest.cpp.


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