webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
PortAllocatorTest Class Reference
Inheritance diagram for PortAllocatorTest:
testing::Test sigslot::has_slots<> sigslot::has_slots_interface sigslot::has_slots_interface

Public Member Functions

 PortAllocatorTest ()
 
- Public Member Functions inherited from sigslot::has_slots<>
 has_slots ()
 
 has_slots ()
 
 ~has_slots ()
 
 ~has_slots ()
 
- Public Member Functions inherited from sigslot::has_slots_interface
void signal_connect (_signal_base_interface *sender)
 
void signal_disconnect (_signal_base_interface *sender)
 
void disconnect_all ()
 
void signal_connect (_signal_base_interface *sender)
 
void signal_disconnect (_signal_base_interface *sender)
 
void disconnect_all ()
 

Protected Member Functions

void SetConfigurationWithPoolSize (int candidate_pool_size)
 
void SetConfigurationWithPoolSizeExpectFailure (int candidate_pool_size)
 
std::unique_ptr< cricket::FakePortAllocatorSessionCreateSession (const std::string &content_name, int component, const std::string &ice_ufrag, const std::string &ice_pwd)
 
const cricket::FakePortAllocatorSessionGetPooledSession () const
 
std::unique_ptr< cricket::FakePortAllocatorSessionTakePooledSession ()
 
int GetAllPooledSessionsReturnCount ()
 
- Protected Member Functions inherited from testing::Test
 Test ()
 
virtual void SetUp ()
 
virtual void TearDown ()
 
- Protected Member Functions inherited from sigslot::has_slots_interface
 has_slots_interface (signal_connect_t conn, signal_disconnect_t disc, disconnect_all_t disc_all)
 
virtual ~has_slots_interface ()
 
 has_slots_interface (signal_connect_t conn, signal_disconnect_t disc, disconnect_all_t disc_all)
 
virtual ~has_slots_interface ()
 

Protected Attributes

std::unique_ptr< cricket::FakePortAllocatorallocator_
 
rtc::SocketAddress stun_server_1 {"11.11.11.11", 3478}
 
rtc::SocketAddress stun_server_2 {"22.22.22.22", 3478}
 
cricket::RelayServerConfig turn_server_1
 
cricket::RelayServerConfig turn_server_2
 

Constructor & Destructor Documentation

◆ PortAllocatorTest()

PortAllocatorTest::PortAllocatorTest ( )
inline

Member Function Documentation

◆ CreateSession()

std::unique_ptr<cricket::FakePortAllocatorSession> PortAllocatorTest::CreateSession ( const std::string content_name,
int  component,
const std::string ice_ufrag,
const std::string ice_pwd 
)
inlineprotected

◆ GetAllPooledSessionsReturnCount()

int PortAllocatorTest::GetAllPooledSessionsReturnCount ( )
inlineprotected

◆ GetPooledSession()

const cricket::FakePortAllocatorSession* PortAllocatorTest::GetPooledSession ( ) const
inlineprotected

◆ SetConfigurationWithPoolSize()

void PortAllocatorTest::SetConfigurationWithPoolSize ( int  candidate_pool_size)
inlineprotected

◆ SetConfigurationWithPoolSizeExpectFailure()

void PortAllocatorTest::SetConfigurationWithPoolSizeExpectFailure ( int  candidate_pool_size)
inlineprotected

◆ TakePooledSession()

std::unique_ptr<cricket::FakePortAllocatorSession> PortAllocatorTest::TakePooledSession ( )
inlineprotected

Member Data Documentation

◆ allocator_

std::unique_ptr<cricket::FakePortAllocator> PortAllocatorTest::allocator_
protected

◆ stun_server_1

rtc::SocketAddress PortAllocatorTest::stun_server_1 {"11.11.11.11", 3478}
protected

◆ stun_server_2

rtc::SocketAddress PortAllocatorTest::stun_server_2 {"22.22.22.22", 3478}
protected

◆ turn_server_1

cricket::RelayServerConfig PortAllocatorTest::turn_server_1
protected
Initial value:
{"11.11.11.11", 3478,
kTurnUsername, kTurnPassword,

◆ turn_server_2

cricket::RelayServerConfig PortAllocatorTest::turn_server_2
protected
Initial value:
{"22.22.22.22", 3478,
kTurnUsername, kTurnPassword,

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