Searched refs:TestClient (Results 1 - 12 of 12) sorted by relevance

/external/chromium_org/third_party/webrtc/base/
H A Dtestclient.cc21 TestClient::TestClient(AsyncPacketSocket* socket) function in class:rtc::TestClient
24 socket_->SignalReadPacket.connect(this, &TestClient::OnPacket);
25 socket_->SignalReadyToSend.connect(this, &TestClient::OnReadyToSend);
28 TestClient::~TestClient() {
35 bool TestClient::CheckConnState(AsyncPacketSocket::State state) {
43 int TestClient::Send(const char* buf, size_t size) {
48 int TestClient::SendTo(const char* buf, size_t size,
54 TestClient
[all...]
H A Dtestclient.h22 class TestClient : public sigslot::has_slots<> { class in namespace:rtc
37 explicit TestClient(AsyncPacketSocket* socket);
38 ~TestClient();
88 DISALLOW_EVIL_CONSTRUCTORS(TestClient);
H A Dtestclient_unittest.cc27 TestClient client(new AsyncUDPSocket(socket));
45 TestClient client(tcp_socket);
54 // Tests whether the TestClient can send UDP to itself.
67 // Tests whether the TestClient can connect to a server and exchange data.
H A Dnat_unittest.cc27 TestClient* client, bool should_receive, const char* buf, size_t size) {
33 TestClient* CreateTestClient(
36 return new TestClient(socket);
56 TestClient* in = CreateTestClient(natsf, internal_addr);
57 TestClient* out[4];
107 TestClient* in = CreateTestClient(natsf, internal_addr);
108 TestClient* out[4];
H A Dproxy_unittest.cc92 rtc::TestClient client(packet_socket);
109 TestClient client(new AsyncTCPSocket(proxy_socket));
H A Dvirtualsocket_unittest.cc161 TestClient* client1 = new TestClient(new AsyncUDPSocket(socket));
164 TestClient* client2 = new TestClient(new AsyncUDPSocket(socket2));
177 client2 = new TestClient(AsyncUDPSocket::Create(ss_, empty));
746 TestClient* client1 = new TestClient(new AsyncUDPSocket(socket));
750 TestClient* client2 = new TestClient(new AsyncUDPSocket(socket2));
H A Dsocket_unittest.cc876 scoped_ptr<TestClient> client1(
877 new TestClient(AsyncUDPSocket::Create(ss_, addr1)));
878 scoped_ptr<TestClient> client2(
879 new TestClient(AsyncUDPSocket::Create(ss_, empty)));
891 client2.reset(new TestClient(AsyncUDPSocket::Create(ss_, empty)));
917 scoped_ptr<TestClient> client(
918 new TestClient(AsyncUDPSocket::Create(ss_, empty)));
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
H A Dstunserver_unittest.cc53 client_.reset(new rtc::TestClient(
68 rtc::TestClient::Packet* packet = client_->NextPacket();
82 rtc::scoped_ptr<rtc::TestClient> client_;
H A Dsession_unittest.cc837 class TestClient : public sigslot::has_slots<> { class in inherits:sigslot::has_slots
840 TestClient(cricket::PortAllocator* port_allocator, function in class:TestClient
854 ~TestClient() {
899 this, &TestClient::OnSessionCreate);
901 this, &TestClient::OnSessionDestroy);
903 this, &TestClient::OnOutgoingMessage);
990 session->SignalState.connect(this, &TestClient::OnSessionState);
991 session->SignalError.connect(this, &TestClient::OnSessionError);
993 this, &TestClient::OnSessionRemoteDescriptionUpdate);
995 this, &TestClient
[all...]
H A Drelayserver_unittest.cc78 client1_.reset(new rtc::TestClient(
80 client2_.reset(new rtc::TestClient(
116 void Send(rtc::TestClient* client, const char* data,
133 StunMessage* Receive(rtc::TestClient* client) {
135 rtc::TestClient::Packet* packet = client->NextPacket();
144 std::string ReceiveRaw(rtc::TestClient* client) {
146 rtc::TestClient::Packet* packet = client->NextPacket();
190 rtc::scoped_ptr<rtc::TestClient> client1_;
191 rtc::scoped_ptr<rtc::TestClient> client2_;
/external/chromium_org/content/browser/webui/
H A Dweb_ui_data_source_unittest.cc24 class TestClient : public TestContentClient { class in namespace:content::__anon7473
26 TestClient() {} function in class:content::__anon7473::TestClient
27 virtual ~TestClient() {}
89 TestClient client_;
/external/chromium_org/mojo/application_manager/
H A Dapplication_manager_unittest.cc71 class TestClientImpl : public TestClient {

Completed in 989 milliseconds