proxygen
HTTP2UpstreamSessionWithPriorityTree Class Reference
Inheritance diagram for HTTP2UpstreamSessionWithPriorityTree:
HTTP2UpstreamSessionWithVirtualNodesTest HTTPUpstreamTest< MockHTTPCodecPair > testing::Test

Public Member Functions

 HTTP2UpstreamSessionWithPriorityTree ()
 
- Public Member Functions inherited from HTTP2UpstreamSessionWithVirtualNodesTest
void SetUp () override
 
void commonSetUp (unique_ptr< HTTPCodec > codec)
 
void TearDown () override
 
- Public Member Functions inherited from HTTPUpstreamTest< MockHTTPCodecPair >
 HTTPUpstreamTest (std::vector< int64_t > flowControl={-1,-1,-1})
 
void resumeWrites ()
 
virtual void onWriteChain (folly::AsyncTransportWrapper::WriteCallback *callback, std::shared_ptr< IOBuf > iob, WriteFlags)
 
void handleWrite (folly::AsyncTransportWrapper::WriteCallback *callback)
 
void SetUp () override
 
void commonSetUp (unique_ptr< HTTPCodec > codec)
 
unique_ptr< typename MockHTTPCodecPair::CodecmakeServerCodec ()
 
void enableExHeader (typename MockHTTPCodecPair::Codec *serverCodec)
 
void parseOutput (HTTPCodec &serverCodec)
 
void readAndLoop (const std::string &input)
 
void readAndLoop (IOBuf *buf)
 
void readAndLoop (const uint8_t *input, size_t length)
 
void testBasicRequest ()
 
void testBasicRequestHttp10 (bool keepalive)
 
void onCreate (const HTTPSessionBase &) override
 
void onDestroy (const HTTPSessionBase &) override
 
void onSettingsOutgoingStreamsFull (const HTTPSessionBase &) override
 
void onSettingsOutgoingStreamsNotFull (const HTTPSessionBase &) override
 
void TearDown () override
 
std::unique_ptr< StrictMock< MockHTTPHandler > > openTransaction (bool expectStartPaused=false)
 
std::unique_ptr< NiceMock< MockHTTPHandler > > openNiceTransaction (bool expectStartPaused=false)
 
void testSimpleUpgrade (const std::string &upgradeReqHeader, const std::string &upgradeRespHeader, CodecProtocol respCodecVersion)
 
MockByteEventTrackersetMockByteEventTracker ()
 
- Public Member Functions inherited from testing::Test
virtual ~Test ()
 
virtual ~Test ()
 
virtual ~Test ()
 

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 ()
 
- Protected Attributes inherited from HTTP2UpstreamSessionWithVirtualNodesTest
MockHTTPCodeccodecPtr_ {nullptr}
 
HTTPCodec::CallbackcodecCb_ {nullptr}
 
uint32_t nextOutgoingTxn_ {1}
 
std::vector< HTTPCodec::StreamIDdependencies
 
uint8_t level_ {3}
 
std::shared_ptr< TestPriorityMapBuilderbuilder_
 
- Protected Attributes inherited from HTTPUpstreamTest< MockHTTPCodecPair >
bool sessionCreated_
 
bool sessionDestroyed_
 
bool transactionsFull_
 
bool transportGood_
 
EventBase eventBase_
 
EventBaseeventBasePtr_
 
MockAsyncTransporttransport_
 
folly::AsyncTransportWrapper::ReadCallbackreadCallback_
 
folly::AsyncTransport::ReplaySafetyCallbackreplaySafetyCallback_
 
folly::HHWheelTimer::UniquePtr transactionTimeouts_
 
std::vector< int64_tflowControl_
 
wangle::TransportInfo mockTransportInfo_
 
SocketAddress localAddr_
 
SocketAddress peerAddr_
 
HTTPUpstreamSessionhttpSession_
 
IOBufQueue writes_
 
std::vector< folly::AsyncTransportWrapper::WriteCallback * > cbs_
 
bool failWrites_
 
bool pauseWrites_
 
bool writeInLoop_
 

Detailed Description

Definition at line 964 of file HTTPUpstreamSessionTest.cpp.

Constructor & Destructor Documentation

HTTP2UpstreamSessionWithPriorityTree::HTTP2UpstreamSessionWithPriorityTree ( )
inline

Definition at line 967 of file HTTPUpstreamSessionTest.cpp.

967  {
968  builder_ = std::make_shared<TestPriorityMapBuilder>();
969  }
std::shared_ptr< TestPriorityMapBuilder > builder_

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