proxygen
|
Public Member Functions | |
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 () |
Public Attributes | |
MockHTTPCodec * | codecPtr_ {nullptr} |
HTTPCodec::Callback * | codecCb_ {nullptr} |
bool | reusable_ {true} |
uint32_t | nextOutgoingTxn_ {1} |
Definition at line 1738 of file HTTPUpstreamSessionTest.cpp.
|
inline |
Definition at line 1783 of file HTTPUpstreamSessionTest.cpp.
References EXPECT_EQ, and handler().
|
inlineoverridevirtual |
Reimplemented from testing::Test.
Reimplemented in MockHTTP2UpstreamTest.
Definition at line 1740 of file HTTPUpstreamSessionTest.cpp.
References testing::_, folly::IOBufQueue::append(), codec, EXPECT_CALL, EXPECT_LT, testing::Invoke(), max, folly::gen::move, testing::Return(), and fizz::detail::writeBuf().
Referenced by MockHTTP2UpstreamTest::SetUp().
|
inlineoverridevirtual |
Reimplemented from testing::Test.
Definition at line 1779 of file HTTPUpstreamSessionTest.cpp.
References EXPECT_TRUE.
HTTPCodec::Callback* MockHTTPUpstreamTest::codecCb_ {nullptr} |
Definition at line 1793 of file HTTPUpstreamSessionTest.cpp.
MockHTTPCodec* MockHTTPUpstreamTest::codecPtr_ {nullptr} |
Definition at line 1792 of file HTTPUpstreamSessionTest.cpp.
uint32_t MockHTTPUpstreamTest::nextOutgoingTxn_ {1} |
Definition at line 1795 of file HTTPUpstreamSessionTest.cpp.
bool MockHTTPUpstreamTest::reusable_ {true} |
Definition at line 1794 of file HTTPUpstreamSessionTest.cpp.