proxygen
|
Public Member Functions | |
HTTPDownstreamSessionUpgradeFlowControlTest () | |
Public Member Functions inherited from HTTPDownstreamTest< C > | |
HTTPDownstreamTest (std::vector< int64_t > flowControl={-1,-1,-1}, bool startImmediately=true) | |
HTTPCodec::StreamID | sendRequest (const std::string &url="/", int8_t priority=0, bool eom=true) |
HTTPCodec::StreamID | sendRequest (const HTTPMessage &req, bool eom=true) |
HTTPCodec::StreamID | sendHeader () |
Promise< Unit > | sendRequestLater (HTTPMessage req, bool eof=false) |
void | SetUp () override |
void | cleanup () |
std::unique_ptr< testing::StrictMock< MockHTTPHandler > > | addSimpleStrictHandler () |
std::unique_ptr< testing::NiceMock< MockHTTPHandler > > | addSimpleNiceHandler () |
void | onEOMTerminateHandlerExpectShutdown (MockHTTPHandler &handler) |
void | expectDetachSession () |
void | addSingleByteReads (const char *data, milliseconds delay={}) |
void | flushRequestsAndLoop (bool eof=false, milliseconds eofDelay=milliseconds(0), milliseconds initialDelay=milliseconds(0), std::function< void()> extraEventsFn=std::function< void()>()) |
void | flushRequestsAndLoopN (uint64_t n, bool eof=false, milliseconds eofDelay=milliseconds(0), milliseconds initialDelay=milliseconds(0), std::function< void()> extraEventsFn=std::function< void()>()) |
void | flushRequests (bool eof=false, milliseconds eofDelay=milliseconds(0), milliseconds initialDelay=milliseconds(0), std::function< void()> extraEventsFn=std::function< void()>()) |
void | testSimpleUpgrade (const std::string &upgradeHeader, CodecProtocol expectedProtocol, const std::string &expectedUpgradeHeader) |
void | gracefulShutdown () |
void | testPriorities (uint32_t numPriorities) |
void | testChunks (bool trailers) |
void | expect101 (CodecProtocol expectedProtocol, const std::string &expectedUpgrade, bool expect100=false) |
void | expectResponse (uint32_t code=200, ErrorCode errorCode=ErrorCode::NO_ERROR, bool expect100=false, bool expectGoaway=false) |
void | expectResponses (uint32_t n, uint32_t code=200, ErrorCode errorCode=ErrorCode::NO_ERROR, bool expect100=false, bool expectGoaway=false) |
void | parseOutput (HTTPCodec &clientCodec) |
void | resumeWritesInLoop () |
void | resumeWritesAfterDelay (milliseconds delay) |
MockByteEventTracker * | setMockByteEventTracker () |
Public Member Functions inherited from testing::Test | |
virtual | ~Test () |
virtual | ~Test () |
virtual | ~Test () |
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 () | |
virtual void | TearDown () |
Test () | |
virtual void | TearDown () |
Test () | |
virtual void | TearDown () |
Protected Attributes inherited from HTTPDownstreamTest< C > | |
EventBase | eventBase_ |
TestAsyncTransport * | transport_ |
folly::HHWheelTimer::UniquePtr | transactionTimeouts_ |
std::vector< int64_t > | flowControl_ |
StrictMock< MockController > | mockController_ |
HTTPDownstreamSession * | httpSession_ |
IOBufQueue | requests_ {IOBufQueue::cacheChainLength()} |
unique_ptr< HTTPCodec > | clientCodec_ |
NiceMock< MockHTTPCodecCallback > | callbacks_ |
IOBufQueue | parseOutputStream_ {IOBufQueue::cacheChainLength()} |
bool | breakParseOutput_ {false} |
C::Codec * | rawCodec_ {nullptr} |
HeaderIndexingStrategy | testH2IndexingStrat_ |
Definition at line 1925 of file HTTPDownstreamSessionTest.cpp.
|
inline |
Definition at line 1928 of file HTTPDownstreamSessionTest.cpp.