|
proxygen
|
Protected Attributes | |
| bool | sessionCreated_ {false} |
| bool | sessionDestroyed_ {false} |
| bool | transactionsFull_ {false} |
| bool | transportGood_ {true} |
| EventBase | eventBase_ |
| EventBase * | eventBasePtr_ {&eventBase_} |
| MockAsyncTransport * | transport_ |
| folly::AsyncTransportWrapper::ReadCallback * | readCallback_ {nullptr} |
| folly::AsyncTransport::ReplaySafetyCallback * | replaySafetyCallback_ {nullptr} |
| folly::HHWheelTimer::UniquePtr | transactionTimeouts_ |
| std::vector< int64_t > | flowControl_ |
| wangle::TransportInfo | mockTransportInfo_ |
| SocketAddress | localAddr_ {"127.0.0.1", 80} |
| SocketAddress | peerAddr_ {"127.0.0.1", 12345} |
| HTTPUpstreamSession * | httpSession_ {nullptr} |
| IOBufQueue | writes_ {IOBufQueue::cacheChainLength()} |
| std::vector< folly::AsyncTransportWrapper::WriteCallback * > | cbs_ |
| bool | failWrites_ {false} |
| bool | pauseWrites_ {false} |
| bool | writeInLoop_ {false} |
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 136 of file HTTPUpstreamSessionTest.cpp.
|
inlineexplicit |
Definition at line 139 of file HTTPUpstreamSessionTest.cpp.
|
inline |
Definition at line 191 of file HTTPUpstreamSessionTest.cpp.
|
inline |
Definition at line 237 of file HTTPUpstreamSessionTest.cpp.
|
inline |
Definition at line 172 of file HTTPUpstreamSessionTest.cpp.
|
inline |
Definition at line 233 of file HTTPUpstreamSessionTest.cpp.
|
inlineoverridevirtual |
Reimplemented from proxygen::HTTPSessionBase::InfoCallback.
Definition at line 297 of file HTTPUpstreamSessionTest.cpp.
|
inlineoverridevirtual |
Reimplemented from proxygen::HTTPSessionBase::InfoCallback.
Definition at line 298 of file HTTPUpstreamSessionTest.cpp.
|
inlineoverridevirtual |
Reimplemented from proxygen::HTTPSessionBase::InfoCallback.
Definition at line 299 of file HTTPUpstreamSessionTest.cpp.
|
inlineoverridevirtual |
Reimplemented from proxygen::HTTPSessionBase::InfoCallback.
Definition at line 302 of file HTTPUpstreamSessionTest.cpp.
|
inlinevirtual |
Definition at line 158 of file HTTPUpstreamSessionTest.cpp.
|
inline |
Definition at line 326 of file HTTPUpstreamSessionTest.cpp.
|
inline |
Definition at line 313 of file HTTPUpstreamSessionTest.cpp.
|
inline |
Definition at line 257 of file HTTPUpstreamSessionTest.cpp.
|
inline |
Definition at line 266 of file HTTPUpstreamSessionTest.cpp.
|
inline |
Definition at line 270 of file HTTPUpstreamSessionTest.cpp.
|
inline |
Definition at line 275 of file HTTPUpstreamSessionTest.cpp.
|
inline |
Definition at line 150 of file HTTPUpstreamSessionTest.cpp.
|
inline |
Definition at line 343 of file HTTPUpstreamSessionTest.cpp.
|
inlineoverridevirtual |
Reimplemented from testing::Test.
Definition at line 187 of file HTTPUpstreamSessionTest.cpp.
|
inlineoverridevirtual |
Reimplemented from testing::Test.
Definition at line 306 of file HTTPUpstreamSessionTest.cpp.
| void HTTPUpstreamTest< CodecPair >::testBasicRequest | ( | ) |
Definition at line 1028 of file HTTPUpstreamSessionTest.cpp.
References EXPECT_EQ, EXPECT_FALSE, EXPECT_TRUE, and handler().
| void HTTPUpstreamTest< CodecPair >::testBasicRequestHttp10 | ( | bool | keepalive | ) |
Definition at line 1099 of file HTTPUpstreamSessionTest.cpp.
References testing::_, EXPECT_CALL, EXPECT_EQ, proxygen::getGetRequest(), proxygen::HTTPMessage::getHeaders(), handler(), proxygen::HTTP_HEADER_CONNECTION, proxygen::HTTPHeaders::set(), and proxygen::HTTPMessage::setHTTPVersion().
| void HTTPUpstreamTest< CodecPair >::testSimpleUpgrade | ( | const std::string & | upgradeReqHeader, |
| const std::string & | upgradeRespHeader, | ||
| CodecProtocol | respCodecVersion | ||
| ) |
Definition at line 1422 of file HTTPUpstreamSessionTest.cpp.
References ASSERT_NE, codec, dummy(), EXPECT_CALL, EXPECT_EQ, proxygen::HTTP2Codec::getHeaderIndexingStrategy(), proxygen::getUpgradeRequest(), handler(), and testing::Return().
|
protected |
Definition at line 382 of file HTTPUpstreamSessionTest.cpp.
|
protected |
Definition at line 370 of file HTTPUpstreamSessionTest.cpp.
|
protected |
Definition at line 371 of file HTTPUpstreamSessionTest.cpp.
|
protected |
Definition at line 383 of file HTTPUpstreamSessionTest.cpp.
|
protected |
Definition at line 376 of file HTTPUpstreamSessionTest.cpp.
|
protected |
Definition at line 380 of file HTTPUpstreamSessionTest.cpp.
|
protected |
Definition at line 378 of file HTTPUpstreamSessionTest.cpp.
|
protected |
Definition at line 377 of file HTTPUpstreamSessionTest.cpp.
|
protected |
Definition at line 384 of file HTTPUpstreamSessionTest.cpp.
|
protected |
Definition at line 379 of file HTTPUpstreamSessionTest.cpp.
|
protected |
Definition at line 373 of file HTTPUpstreamSessionTest.cpp.
|
protected |
Definition at line 374 of file HTTPUpstreamSessionTest.cpp.
|
protected |
Definition at line 364 of file HTTPUpstreamSessionTest.cpp.
|
protected |
Definition at line 365 of file HTTPUpstreamSessionTest.cpp.
|
protected |
Definition at line 367 of file HTTPUpstreamSessionTest.cpp.
|
protected |
Definition at line 375 of file HTTPUpstreamSessionTest.cpp.
|
protected |
Definition at line 372 of file HTTPUpstreamSessionTest.cpp.
|
protected |
Definition at line 368 of file HTTPUpstreamSessionTest.cpp.
|
protected |
Definition at line 385 of file HTTPUpstreamSessionTest.cpp.
|
protected |
Definition at line 381 of file HTTPUpstreamSessionTest.cpp.