webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Public Member Functions | |
RelayServerTest () | |
Protected Member Functions | |
virtual void | SetUp () |
void | Allocate () |
void | Bind () |
void | Send1 (const StunMessage *msg) |
void | Send2 (const StunMessage *msg) |
void | SendRaw1 (const char *data, int len) |
void | SendRaw2 (const char *data, int len) |
void | Send (rtc::TestClient *client, const char *data, int len, const SocketAddress &addr) |
bool | Receive1Fails () |
bool | Receive2Fails () |
StunMessage * | Receive1 () |
StunMessage * | Receive2 () |
std::string | ReceiveRaw1 () |
std::string | ReceiveRaw2 () |
StunMessage * | Receive (rtc::TestClient *client) |
std::string | ReceiveRaw (rtc::TestClient *client) |
Protected Member Functions inherited from testing::Test | |
Test () | |
virtual void | TearDown () |
Static Protected Member Functions | |
static StunMessage * | CreateStunMessage (int type) |
static void | AddMagicCookieAttr (StunMessage *msg) |
static void | AddUsernameAttr (StunMessage *msg, const std::string &val) |
static void | AddLifetimeAttr (StunMessage *msg, int val) |
static void | AddDestinationAttr (StunMessage *msg, const SocketAddress &addr) |
Protected Attributes | |
std::unique_ptr< rtc::PhysicalSocketServer > | pss_ |
std::unique_ptr< rtc::VirtualSocketServer > | ss_ |
rtc::SocketServerScope | ss_scope_ |
std::unique_ptr< RelayServer > | server_ |
std::unique_ptr< rtc::TestClient > | client1_ |
std::unique_ptr< rtc::TestClient > | client2_ |
std::string | username_ |
std::string | password_ |
|
inline |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlineprotected |
|
inlineprotected |
|
inlinestaticprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotectedvirtual |
Reimplemented from testing::Test.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |