proxygen
|
Public Member Functions | |
void | doAbortTest () |
Public Member Functions inherited from MockHTTPUpstreamTest | |
void | SetUp () override |
void | TearDown () override |
std::unique_ptr< StrictMock< MockHTTPHandler > > | openTransaction () |
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::Codec > | makeServerCodec () |
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) |
MockByteEventTracker * | setMockByteEventTracker () |
Public Member Functions inherited from testing::Test | |
virtual | ~Test () |
virtual | ~Test () |
virtual | ~Test () |
Definition at line 2170 of file HTTPUpstreamSessionTest.cpp.
|
inline |
Definition at line 2172 of file HTTPUpstreamSessionTest.cpp.
References testing::_, testing::AtLeast(), folly::IOBuf::computeChainDataLength(), EXPECT_CALL, proxygen::getPostRequest(), handler(), makeBuf(), proxygen::makeResponse(), folly::gen::move, and streamID.