proxygen
wangle::AcceptorTest Class Reference
Inheritance diagram for wangle::AcceptorTest:
testing::Test

Protected Member Functions

void SetUp () override
 
- Protected Member Functions inherited from testing::Test
 Test ()
 
virtual void TearDown ()
 
 Test ()
 
virtual void TearDown ()
 
 Test ()
 
virtual void TearDown ()
 

Protected Attributes

SocketAddress address_ { "127.0.0.1", 2000 }
 
TestableAcceptor acceptor_ { ServerSocketConfig() }
 
std::shared_ptr< LoadShedConfigurationloadShedConfig_
 
SimpleConnectionCounterForTest connectionCounter_
 

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
 
- Public Member Functions inherited from testing::Test
virtual ~Test ()
 
virtual ~Test ()
 
virtual ~Test ()
 
- 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)
 

Detailed Description

Definition at line 65 of file AcceptorTest.cpp.

Member Function Documentation

void wangle::AcceptorTest::SetUp ( )
inlineoverrideprotectedvirtual

Reimplemented from testing::Test.

Definition at line 67 of file AcceptorTest.cpp.

References acceptor_.

67  {
69  }
void setLoadShedConfig(std::shared_ptr< const LoadShedConfiguration > loadShedConfig, const IConnectionCounter *counter)
Definition: Acceptor.cpp:221
SimpleConnectionCounterForTest connectionCounter_
TestableAcceptor acceptor_
std::shared_ptr< LoadShedConfiguration > loadShedConfig_

Member Data Documentation

TestableAcceptor wangle::AcceptorTest::acceptor_ { ServerSocketConfig() }
protected

Definition at line 72 of file AcceptorTest.cpp.

SocketAddress wangle::AcceptorTest::address_ { "127.0.0.1", 2000 }
protected

Definition at line 71 of file AcceptorTest.cpp.

SimpleConnectionCounterForTest wangle::AcceptorTest::connectionCounter_
protected

Definition at line 75 of file AcceptorTest.cpp.

std::shared_ptr<LoadShedConfiguration> wangle::AcceptorTest::loadShedConfig_
protected
Initial value:
=
std::make_shared<LoadShedConfiguration>()

Definition at line 73 of file AcceptorTest.cpp.


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