Searched refs:TestClient (Results 1 – 11 of 11) sorted by relevance
/external/webrtc/webrtc/base/ |
D | testclient.cc | 21 TestClient::TestClient(AsyncPacketSocket* socket) in TestClient() function in rtc::TestClient 24 socket_->SignalReadPacket.connect(this, &TestClient::OnPacket); in TestClient() 25 socket_->SignalReadyToSend.connect(this, &TestClient::OnReadyToSend); in TestClient() 28 TestClient::~TestClient() { in ~TestClient() 35 bool TestClient::CheckConnState(AsyncPacketSocket::State state) { in CheckConnState() 43 int TestClient::Send(const char* buf, size_t size) { in Send() 48 int TestClient::SendTo(const char* buf, size_t size, in SendTo() 54 TestClient::Packet* TestClient::NextPacket(int timeout_ms) { in NextPacket() 88 bool TestClient::CheckNextPacket(const char* buf, size_t size, in CheckNextPacket() 101 bool TestClient::CheckNoPacket() { in CheckNoPacket() [all …]
|
D | testclient.h | 22 class TestClient : public sigslot::has_slots<> { 40 explicit TestClient(AsyncPacketSocket* socket); 41 ~TestClient() override; 92 RTC_DISALLOW_COPY_AND_ASSIGN(TestClient);
|
D | nat_unittest.cc | 28 TestClient* client, bool should_receive, const char* buf, size_t size) { in CheckReceive() 34 TestClient* CreateTestClient( in CreateTestClient() 37 return new TestClient(socket); in CreateTestClient() 40 TestClient* CreateTCPTestClient(AsyncSocket* socket) { in CreateTCPTestClient() 42 return new TestClient(packet_socket); in CreateTCPTestClient() 63 TestClient* in = CreateTestClient(natsf, internal_addr); in TestSend() 64 TestClient* out[4]; in TestSend() 115 TestClient* in = CreateTestClient(natsf, internal_addr); in TestRecv() 116 TestClient* out[4]; in TestRecv() 380 rtc::scoped_ptr<rtc::TestClient> in(CreateTCPTestClient(client_.release())); in TEST_F() [all …]
|
D | virtualsocket_unittest.cc | 174 TestClient* client1 = new TestClient(new AsyncUDPSocket(socket)); in TestDefaultRoute() 182 TestClient* client2 = new TestClient(new AsyncUDPSocket(socket2)); in TestDefaultRoute() 205 TestClient* client1 = new TestClient(new AsyncUDPSocket(socket)); in BasicTest() 208 TestClient* client2 = new TestClient(new AsyncUDPSocket(socket2)); in BasicTest() 221 client2 = new TestClient(AsyncUDPSocket::Create(ss_, empty)); in BasicTest() 796 TestClient* client1 = new TestClient(new AsyncUDPSocket(socket)); in CrossFamilyDatagramTest() 800 TestClient* client2 = new TestClient(new AsyncUDPSocket(socket2)); in CrossFamilyDatagramTest()
|
D | testclient_unittest.cc | 26 TestClient client(new AsyncUDPSocket(socket)); in TestUdpInternal() 44 TestClient client(tcp_socket); in TestTcpInternal()
|
D | socket_unittest.cc | 877 scoped_ptr<TestClient> client1( in UdpInternal() 878 new TestClient(AsyncUDPSocket::Create(ss_, addr1))); in UdpInternal() 879 scoped_ptr<TestClient> client2( in UdpInternal() 880 new TestClient(AsyncUDPSocket::Create(ss_, empty))); in UdpInternal() 892 client2.reset(new TestClient(AsyncUDPSocket::Create(ss_, empty))); in UdpInternal() 918 scoped_ptr<TestClient> client( in UdpReadyToSend() 919 new TestClient(AsyncUDPSocket::Create(ss_, empty))); in UdpReadyToSend()
|
D | proxy_unittest.cc | 91 rtc::TestClient client(packet_socket); in TEST_F()
|
/external/webrtc/webrtc/p2p/base/ |
D | stunserver_unittest.cc | 36 client_.reset(new rtc::TestClient( in SetUp() 54 rtc::TestClient::Packet* packet = in Receive() 55 client_->NextPacket(rtc::TestClient::kTimeoutMs); in Receive() 69 rtc::scoped_ptr<rtc::TestClient> client_;
|
D | relayserver_unittest.cc | 56 client1_.reset(new rtc::TestClient( in SetUp() 58 client2_.reset(new rtc::TestClient( in SetUp() 94 void Send(rtc::TestClient* client, const char* data, in Send() 118 StunMessage* Receive(rtc::TestClient* client) { in Receive() 120 rtc::TestClient::Packet* packet = in Receive() 121 client->NextPacket(rtc::TestClient::kTimeoutMs); in Receive() 130 std::string ReceiveRaw(rtc::TestClient* client) { in ReceiveRaw() 132 rtc::TestClient::Packet* packet = in ReceiveRaw() 133 client->NextPacket(rtc::TestClient::kTimeoutMs); in ReceiveRaw() 178 rtc::scoped_ptr<rtc::TestClient> client1_; [all …]
|
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/ |
D | sslproxy_test.py | 134 class TestClient(unittest.TestCase): class
|
/external/jetty/ |
D | VERSION.txt | 993 + 352188 TestClient correctly processes --host option in jetty-websocket
|