proxygen
SPDY31DownstreamTest Class Reference
Inheritance diagram for SPDY31DownstreamTest:
HTTPDownstreamTest< SPDY3_1CodecPair > testing::Test

Public Member Functions

 SPDY31DownstreamTest ()
 
- Public Member Functions inherited from HTTPDownstreamTest< SPDY3_1CodecPair >
 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< UnitsendRequestLater (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)
 
MockByteEventTrackersetMockByteEventTracker ()
 
- 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< SPDY3_1CodecPair >
EventBase eventBase_
 
TestAsyncTransporttransport_
 
folly::HHWheelTimer::UniquePtr transactionTimeouts_
 
std::vector< int64_tflowControl_
 
StrictMock< MockControllermockController_
 
HTTPDownstreamSessionhttpSession_
 
IOBufQueue requests_
 
unique_ptr< HTTPCodecclientCodec_
 
NiceMock< MockHTTPCodecCallbackcallbacks_
 
IOBufQueue parseOutputStream_
 
bool breakParseOutput_
 
SPDY3_1CodecPair::CodecrawCodec_
 
HeaderIndexingStrategy testH2IndexingStrat_
 

Detailed Description

Definition at line 2522 of file HTTPDownstreamSessionTest.cpp.

Constructor & Destructor Documentation

SPDY31DownstreamTest::SPDY31DownstreamTest ( )
inline

The documentation for this class was generated from the following file: