proxygen
HTTPUpstreamRecvStreamTest Class Reference
Inheritance diagram for HTTPUpstreamRecvStreamTest:
HTTPUpstreamTest< C > testing::Test proxygen::HTTPSessionBase::InfoCallback

Public Member Functions

 HTTPUpstreamRecvStreamTest ()
 
- Public Member Functions inherited from HTTPUpstreamTest< C >
 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 C::Codec > makeServerCodec ()
 
void enableExHeader (typename C::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 ()
 
- Public Member Functions inherited from proxygen::HTTPSessionBase::InfoCallback
virtual ~InfoCallback ()
 
virtual void onFullHandshakeCompletion (const HTTPSessionBase &)
 
virtual void onIngressError (const HTTPSessionBase &, ProxygenError)
 
virtual void onIngressEOF ()
 
virtual void onRead (const HTTPSessionBase &, size_t)
 
virtual void onWrite (const HTTPSessionBase &, size_t)
 
virtual void onRequestBegin (const HTTPSessionBase &)
 
virtual void onRequestEnd (const HTTPSessionBase &, uint32_t)
 
virtual void onActivateConnection (const HTTPSessionBase &)
 
virtual void onDeactivateConnection (const HTTPSessionBase &)
 
virtual void onIngressMessage (const HTTPSessionBase &, const HTTPMessage &)
 
virtual void onIngressLimitExceeded (const HTTPSessionBase &)
 
virtual void onIngressPaused (const HTTPSessionBase &)
 
virtual void onTransactionDetached (const HTTPSessionBase &)
 
virtual void onPingReplySent (int64_t)
 
virtual void onPingReplyReceived ()
 
virtual void onFlowControlWindowClosed (const HTTPSessionBase &)
 
virtual void onEgressBuffered (const HTTPSessionBase &)
 
virtual void onEgressBufferCleared (const HTTPSessionBase &)
 
virtual void onSettings (const HTTPSessionBase &, const SettingsList &)
 
virtual void onSettingsAck (const HTTPSessionBase &)
 

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 HTTPUpstreamTest< C >
bool sessionCreated_ {false}
 
bool sessionDestroyed_ {false}
 
bool transactionsFull_ {false}
 
bool transportGood_ {true}
 
EventBase eventBase_
 
EventBaseeventBasePtr_ {&eventBase_}
 
MockAsyncTransporttransport_
 
folly::AsyncTransportWrapper::ReadCallbackreadCallback_ {nullptr}
 
folly::AsyncTransport::ReplaySafetyCallbackreplaySafetyCallback_ {nullptr}
 
folly::HHWheelTimer::UniquePtr transactionTimeouts_
 
std::vector< int64_tflowControl_
 
wangle::TransportInfo mockTransportInfo_
 
SocketAddress localAddr_ {"127.0.0.1", 80}
 
SocketAddress peerAddr_ {"127.0.0.1", 12345}
 
HTTPUpstreamSessionhttpSession_ {nullptr}
 
IOBufQueue writes_ {IOBufQueue::cacheChainLength()}
 
std::vector< folly::AsyncTransportWrapper::WriteCallback * > cbs_
 
bool failWrites_ {false}
 
bool pauseWrites_ {false}
 
bool writeInLoop_ {false}
 

Detailed Description

Definition at line 1635 of file HTTPUpstreamSessionTest.cpp.

Constructor & Destructor Documentation

HTTPUpstreamRecvStreamTest::HTTPUpstreamRecvStreamTest ( )
inline

Definition at line 1637 of file HTTPUpstreamSessionTest.cpp.

1638  : HTTPUpstreamTest({100000, 105000, 110000}) {}
HTTPUpstreamTest(std::vector< int64_t > flowControl={-1,-1,-1})

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