|
proxygen
|
Public Member Functions | |
| 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::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 () |
Protected Attributes | |
| MockHTTPCodec * | codecPtr_ {nullptr} |
| HTTPCodec::Callback * | codecCb_ {nullptr} |
| uint32_t | nextOutgoingTxn_ {1} |
| std::vector< HTTPCodec::StreamID > | dependencies |
| uint8_t | level_ {3} |
| std::shared_ptr< TestPriorityMapBuilder > | builder_ |
Protected Attributes inherited from HTTPUpstreamTest< MockHTTPCodecPair > | |
| bool | sessionCreated_ |
| bool | sessionDestroyed_ |
| bool | transactionsFull_ |
| bool | transportGood_ |
| EventBase | eventBase_ |
| EventBase * | eventBasePtr_ |
| MockAsyncTransport * | transport_ |
| folly::AsyncTransportWrapper::ReadCallback * | readCallback_ |
| folly::AsyncTransport::ReplaySafetyCallback * | replaySafetyCallback_ |
| folly::HHWheelTimer::UniquePtr | transactionTimeouts_ |
| std::vector< int64_t > | flowControl_ |
| wangle::TransportInfo | mockTransportInfo_ |
| SocketAddress | localAddr_ |
| SocketAddress | peerAddr_ |
| HTTPUpstreamSession * | httpSession_ |
| IOBufQueue | writes_ |
| std::vector< folly::AsyncTransportWrapper::WriteCallback * > | cbs_ |
| bool | failWrites_ |
| bool | pauseWrites_ |
| bool | writeInLoop_ |
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 () | |
Definition at line 861 of file HTTPUpstreamSessionTest.cpp.
|
inline |
Definition at line 884 of file HTTPUpstreamSessionTest.cpp.
References testing::_, ASSERT_EQ, testing::Assign(), EXPECT_CALL, folly::getEventBase(), testing::Invoke(), folly::gen::move, testing::Return(), and transport_.
|
inlineoverridevirtual |
Reimplemented from testing::Test.
Definition at line 864 of file HTTPUpstreamSessionTest.cpp.
References testing::_, codec, EXPECT_CALL, testing::Invoke(), folly::gen::move, and testing::Return().
|
inlineoverridevirtual |
Reimplemented from testing::Test.
Definition at line 915 of file HTTPUpstreamSessionTest.cpp.
References EXPECT_TRUE.
|
protected |
Definition at line 925 of file HTTPUpstreamSessionTest.cpp.
|
protected |
Definition at line 921 of file HTTPUpstreamSessionTest.cpp.
|
protected |
Definition at line 920 of file HTTPUpstreamSessionTest.cpp.
|
protected |
Definition at line 923 of file HTTPUpstreamSessionTest.cpp.
|
protected |
Definition at line 924 of file HTTPUpstreamSessionTest.cpp.
|
protected |
Definition at line 922 of file HTTPUpstreamSessionTest.cpp.