proxygen
wangle::MockTimeUtil Class Reference
Inheritance diagram for wangle::MockTimeUtil:

Public Member Functions

void advance (std::chrono::milliseconds ms)
 
std::chrono::time_point< std::chrono::system_clock > now () const override
 

Private Attributes

std::chrono::time_point< std::chrono::system_clock > t_
 

Detailed Description

Definition at line 36 of file SSLSessionPersistentCacheTest.cpp.

Member Function Documentation

void wangle::MockTimeUtil::advance ( std::chrono::milliseconds  ms)
inline

Definition at line 38 of file SSLSessionPersistentCacheTest.cpp.

38  {
39  t_ += ms;
40  }
std::chrono::time_point< std::chrono::system_clock > t_
std::chrono::time_point<std::chrono::system_clock> wangle::MockTimeUtil::now ( ) const
inlineoverride

Definition at line 42 of file SSLSessionPersistentCacheTest.cpp.

42  {
43  return t_;
44  }
std::chrono::time_point< std::chrono::system_clock > t_

Member Data Documentation

std::chrono::time_point<std::chrono::system_clock> wangle::MockTimeUtil::t_
private

Definition at line 47 of file SSLSessionPersistentCacheTest.cpp.


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