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

Public Member Functions

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

Protected Attributes

folly::EventBase eventBase_
 
WheelTimerInstance transactionTimeouts_
 
NiceMock< MockHTTPTransactionTransporttransport_
 
StrictMock< MockHTTPHandlerhandler_
 
HTTP2PriorityQueue txnEgressQueue_
 
HTTPTransaction txn_
 
MockHTTPTransactionTransportCallback transportCallback_
 
MockByteEventTrackerCallback callback_
 
std::shared_ptr< ByteEventTrackerbyteEventTracker_
 

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 ()
 
virtual void TearDown ()
 
 Test ()
 
virtual void TearDown ()
 
 Test ()
 
virtual void TearDown ()
 

Detailed Description

Definition at line 31 of file ByteEventTrackerTest.cpp.

Member Function Documentation

void ByteEventTrackerTest::SetUp ( )
inlineoverridevirtual

Reimplemented from testing::Test.

Definition at line 34 of file ByteEventTrackerTest.cpp.

34  {
36  }
void setTransportCallback(TransportCallback *cb)
MockHTTPTransactionTransportCallback transportCallback_

Member Data Documentation

std::shared_ptr<ByteEventTracker> ByteEventTrackerTest::byteEventTracker_
protected
Initial value:
{
new ByteEventTracker(&callback_)}

Definition at line 52 of file ByteEventTrackerTest.cpp.

MockByteEventTrackerCallback ByteEventTrackerTest::callback_
protected

Definition at line 51 of file ByteEventTrackerTest.cpp.

folly::EventBase ByteEventTrackerTest::eventBase_
protected

Definition at line 39 of file ByteEventTrackerTest.cpp.

StrictMock<MockHTTPHandler> ByteEventTrackerTest::handler_
protected

Definition at line 43 of file ByteEventTrackerTest.cpp.

WheelTimerInstance ByteEventTrackerTest::transactionTimeouts_
protected
Initial value:
{std::chrono::milliseconds(500),

Definition at line 40 of file ByteEventTrackerTest.cpp.

NiceMock<MockHTTPTransactionTransport> ByteEventTrackerTest::transport_
protected

Definition at line 42 of file ByteEventTrackerTest.cpp.

MockHTTPTransactionTransportCallback ByteEventTrackerTest::transportCallback_
protected

Definition at line 50 of file ByteEventTrackerTest.cpp.

HTTPTransaction ByteEventTrackerTest::txn_
protected
Initial value:
{
TransportDirection::DOWNSTREAM,
HTTPCodec::StreamID(1), 1, transport_,
transactionTimeouts_.getDefaultTimeout()}

Definition at line 45 of file ByteEventTrackerTest.cpp.

HTTP2PriorityQueue ByteEventTrackerTest::txnEgressQueue_
protected

Definition at line 44 of file ByteEventTrackerTest.cpp.


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