proxygen
FilterTest Class Reference
Inheritance diagram for FilterTest:
testing::Test FlowControlFilterTest< initSize > HTTPChecksTest

Public Member Functions

 FilterTest ()
 
- Public Member Functions inherited from testing::Test
virtual ~Test ()
 
virtual ~Test ()
 
virtual ~Test ()
 

Protected Attributes

MockHTTPCodeccodec_
 
HTTPCodec::CallbackcallbackStart_
 
HTTPCodecFilterChain chain_
 
MockHTTPCodecCallback callback_
 
folly::IOBufQueue writeBuf_ {folly::IOBufQueue::cacheChainLength()}
 

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 SetUp ()
 
virtual void TearDown ()
 
 Test ()
 
virtual void SetUp ()
 
virtual void TearDown ()
 
 Test ()
 
virtual void SetUp ()
 
virtual void TearDown ()
 

Detailed Description

Definition at line 34 of file FilterTests.cpp.

Constructor & Destructor Documentation

FilterTest::FilterTest ( )
inline

Definition at line 36 of file FilterTests.cpp.

References testing::_, callback_, codec_, and EXPECT_CALL.

36  :
37  codec_(new MockHTTPCodec()),
38  chain_(unique_ptr<HTTPCodec>(codec_)) {
39  EXPECT_CALL(*codec_, setCallback(_))
40  .WillRepeatedly(SaveArg<0>(&callbackStart_));
42  }
MockHTTPCodecCallback callback_
Definition: FilterTests.cpp:48
void setCallback(T2 *cb) override
Definition: FilterChain.h:235
HTTPCodec::Callback * callbackStart_
Definition: FilterTests.cpp:46
MockHTTPCodec * codec_
Definition: FilterTests.cpp:45
#define EXPECT_CALL(obj, call)
const internal::AnythingMatcher _
HTTPCodecFilterChain chain_
Definition: FilterTests.cpp:47

Member Data Documentation

MockHTTPCodecCallback FilterTest::callback_
protected

Definition at line 48 of file FilterTests.cpp.

HTTPCodec::Callback* FilterTest::callbackStart_
protected

Definition at line 46 of file FilterTests.cpp.

HTTPCodecFilterChain FilterTest::chain_
protected

Definition at line 47 of file FilterTests.cpp.

MockHTTPCodec* FilterTest::codec_
protected

Definition at line 45 of file FilterTests.cpp.

folly::IOBufQueue FilterTest::writeBuf_ {folly::IOBufQueue::cacheChainLength()}
protected

Definition at line 49 of file FilterTests.cpp.


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