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

Protected Member Functions

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

Protected Attributes

std::unique_ptr< BufferedDigest< SimpleDigest, MockClock > > bd
 
const size_t nBuckets = 60
 
const size_t bufferSize = 1000
 
const std::chrono::milliseconds bufferDuration {1000}
 

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
 
- Public Member Functions inherited from testing::Test
virtual ~Test ()
 
virtual ~Test ()
 
virtual ~Test ()
 
- 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 79 of file BufferedStatTest.cpp.

Member Function Documentation

void BufferedDigestTest::SetUp ( )
inlineoverrideprotectedvirtual

Reimplemented from testing::Test.

Definition at line 86 of file BufferedStatTest.cpp.

References kDigestSize, and MockClock::Now.

86  {
88  bd = std::make_unique<BufferedDigest<SimpleDigest, MockClock>>(
90  }
static time_point Now
std::unique_ptr< BufferedDigest< SimpleDigest, MockClock > > bd
const std::chrono::milliseconds bufferDuration
const size_t kDigestSize
std::chrono::steady_clock::time_point time_point

Member Data Documentation

std::unique_ptr<BufferedDigest<SimpleDigest, MockClock> > BufferedDigestTest::bd
protected

Definition at line 81 of file BufferedStatTest.cpp.

const std::chrono::milliseconds BufferedDigestTest::bufferDuration {1000}
protected

Definition at line 84 of file BufferedStatTest.cpp.

const size_t BufferedDigestTest::bufferSize = 1000
protected

Definition at line 83 of file BufferedStatTest.cpp.

const size_t BufferedDigestTest::nBuckets = 60
protected

Definition at line 82 of file BufferedStatTest.cpp.


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