webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
rtc::PhysicalSocketTest Class Reference
Inheritance diagram for rtc::PhysicalSocketTest:
rtc::SocketTest testing::Test testing::Test

Public Member Functions

void SetFailAccept (bool fail)
 
bool FailAccept () const
 
void SetMaxSendSize (int max_size)
 
int MaxSendSize () const
 

Protected Member Functions

 PhysicalSocketTest ()
 
void ConnectInternalAcceptError (const IPAddress &loopback)
 
void WritableAfterPartialWrite (const IPAddress &loopback)
 
- Protected Member Functions inherited from rtc::SocketTest
 SocketTest ()
 
virtual void SetUp ()
 
void TestConnectIPv4 ()
 
void TestConnectIPv6 ()
 
void TestConnectWithDnsLookupIPv4 ()
 
void TestConnectWithDnsLookupIPv6 ()
 
void TestConnectFailIPv4 ()
 
void TestConnectFailIPv6 ()
 
void TestConnectWithDnsLookupFailIPv4 ()
 
void TestConnectWithDnsLookupFailIPv6 ()
 
void TestConnectWithClosedSocketIPv4 ()
 
void TestConnectWithClosedSocketIPv6 ()
 
void TestConnectWhileNotClosedIPv4 ()
 
void TestConnectWhileNotClosedIPv6 ()
 
void TestServerCloseDuringConnectIPv4 ()
 
void TestServerCloseDuringConnectIPv6 ()
 
void TestClientCloseDuringConnectIPv4 ()
 
void TestClientCloseDuringConnectIPv6 ()
 
void TestServerCloseIPv4 ()
 
void TestServerCloseIPv6 ()
 
void TestCloseInClosedCallbackIPv4 ()
 
void TestCloseInClosedCallbackIPv6 ()
 
void TestSocketServerWaitIPv4 ()
 
void TestSocketServerWaitIPv6 ()
 
void TestTcpIPv4 ()
 
void TestTcpIPv6 ()
 
void TestSingleFlowControlCallbackIPv4 ()
 
void TestSingleFlowControlCallbackIPv6 ()
 
void TestUdpIPv4 ()
 
void TestUdpIPv6 ()
 
void TestUdpReadyToSendIPv4 ()
 
void TestUdpReadyToSendIPv6 ()
 
void TestGetSetOptionsIPv4 ()
 
void TestGetSetOptionsIPv6 ()
 
void TestSocketRecvTimestampIPv4 ()
 
void TestSocketRecvTimestampIPv6 ()
 
void TcpInternal (const IPAddress &loopback, size_t data_size, ptrdiff_t max_send_size)
 
 SocketTest ()
 
virtual void SetUp ()
 
void TestConnectIPv4 ()
 
void TestConnectIPv6 ()
 
void TestConnectWithDnsLookupIPv4 ()
 
void TestConnectWithDnsLookupIPv6 ()
 
void TestConnectFailIPv4 ()
 
void TestConnectFailIPv6 ()
 
void TestConnectWithDnsLookupFailIPv4 ()
 
void TestConnectWithDnsLookupFailIPv6 ()
 
void TestConnectWithClosedSocketIPv4 ()
 
void TestConnectWithClosedSocketIPv6 ()
 
void TestConnectWhileNotClosedIPv4 ()
 
void TestConnectWhileNotClosedIPv6 ()
 
void TestServerCloseDuringConnectIPv4 ()
 
void TestServerCloseDuringConnectIPv6 ()
 
void TestClientCloseDuringConnectIPv4 ()
 
void TestClientCloseDuringConnectIPv6 ()
 
void TestServerCloseIPv4 ()
 
void TestServerCloseIPv6 ()
 
void TestCloseInClosedCallbackIPv4 ()
 
void TestCloseInClosedCallbackIPv6 ()
 
void TestSocketServerWaitIPv4 ()
 
void TestSocketServerWaitIPv6 ()
 
void TestTcpIPv4 ()
 
void TestTcpIPv6 ()
 
void TestSingleFlowControlCallbackIPv4 ()
 
void TestSingleFlowControlCallbackIPv6 ()
 
void TestUdpIPv4 ()
 
void TestUdpIPv6 ()
 
void TestUdpReadyToSendIPv4 ()
 
void TestUdpReadyToSendIPv6 ()
 
void TestGetSetOptionsIPv4 ()
 
void TestGetSetOptionsIPv6 ()
 
void TestSocketRecvTimestampIPv4 ()
 
void TestSocketRecvTimestampIPv6 ()
 
void TcpInternal (const IPAddress &loopback, size_t data_size, ptrdiff_t max_send_size)
 
- Protected Member Functions inherited from testing::Test
 Test ()
 
virtual void TearDown ()
 

Protected Attributes

std::unique_ptr< FakePhysicalSocketServerserver_
 
SocketServerScope scope_
 
bool fail_accept_
 
int max_send_size_
 
- Protected Attributes inherited from rtc::SocketTest
const IPAddress kIPv4Loopback
 
const IPAddress kIPv6Loopback
 

Additional Inherited Members

- Static Protected Attributes inherited from rtc::SocketTest
static const int kTimeout = 5000
 

Constructor & Destructor Documentation

◆ PhysicalSocketTest()

rtc::PhysicalSocketTest::PhysicalSocketTest ( )
inlineprotected

Member Function Documentation

◆ ConnectInternalAcceptError()

void rtc::PhysicalSocketTest::ConnectInternalAcceptError ( const IPAddress loopback)
protected

◆ FailAccept()

bool rtc::PhysicalSocketTest::FailAccept ( ) const
inline

◆ MaxSendSize()

int rtc::PhysicalSocketTest::MaxSendSize ( ) const
inline

◆ SetFailAccept()

void rtc::PhysicalSocketTest::SetFailAccept ( bool  fail)
inline

◆ SetMaxSendSize()

void rtc::PhysicalSocketTest::SetMaxSendSize ( int  max_size)
inline

◆ WritableAfterPartialWrite()

void rtc::PhysicalSocketTest::WritableAfterPartialWrite ( const IPAddress loopback)
protected

Member Data Documentation

◆ fail_accept_

bool rtc::PhysicalSocketTest::fail_accept_
protected

◆ max_send_size_

int rtc::PhysicalSocketTest::max_send_size_
protected

◆ scope_

SocketServerScope rtc::PhysicalSocketTest::scope_
protected

◆ server_

std::unique_ptr<FakePhysicalSocketServer> rtc::PhysicalSocketTest::server_
protected

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