Home
last modified time | relevance | path

Searched refs:client1 (Results 1 – 7 of 7) sorted by relevance

/external/libmojo/mojo/public/cpp/bindings/tests/
Dmultiplex_router_unittest.cc71 InterfaceEndpointClient client1(std::move(endpoint1_), &generator, in TEST_F() local
118 InterfaceEndpointClient client1(std::move(endpoint1_), &generator, in TEST_F() local
161 InterfaceEndpointClient client1(std::move(endpoint1_), nullptr, in TEST_F() local
174 client1.set_connection_error_handler(run_loop2.QuitClosure()); in TEST_F()
182 EXPECT_TRUE(client1.encountered_error()); in TEST_F()
194 InterfaceEndpointClient client1(std::move(endpoint1_), &generator, in TEST_F() local
270 InterfaceEndpointClient client1(std::move(endpoint1_), &generator, in TEST_F() local
274 client1.set_connection_error_handler( in TEST_F()
302 EXPECT_TRUE(client1.encountered_error()); in TEST_F()
320 InterfaceEndpointClient client1(std::move(endpoint1_), &generator, in TEST_F() local
/external/webrtc/webrtc/base/
Dphysicalsocketserver_unittest.cc131 scoped_ptr<AsyncSocket> client1(server_->CreateAsyncSocket(loopback.family(), in ConnectInternalAcceptError() local
133 sink.Monitor(client1.get()); in ConnectInternalAcceptError()
134 EXPECT_EQ(AsyncSocket::CS_CLOSED, client1->GetState()); in ConnectInternalAcceptError()
135 EXPECT_PRED1(IsUnspecOrEmptyIP, client1->GetLocalAddress().ipaddr()); in ConnectInternalAcceptError()
157 EXPECT_EQ(0, client1->Connect(server->GetLocalAddress())); in ConnectInternalAcceptError()
158 EXPECT_FALSE(client1->GetLocalAddress().IsNil()); in ConnectInternalAcceptError()
159 EXPECT_NE(server->GetLocalAddress(), client1->GetLocalAddress()); in ConnectInternalAcceptError()
162 EXPECT_EQ(AsyncSocket::CS_CONNECTING, client1->GetState()); in ConnectInternalAcceptError()
163 EXPECT_FALSE(sink.Check(client1.get(), testing::SSE_OPEN)); in ConnectInternalAcceptError()
164 EXPECT_FALSE(sink.Check(client1.get(), testing::SSE_CLOSE)); in ConnectInternalAcceptError()
Dvirtualsocket_unittest.cc174 TestClient* client1 = new TestClient(new AsyncUDPSocket(socket)); in TestDefaultRoute() local
187 EXPECT_EQ(6, client1->SendTo("bizbaz", 6, client2_addr)); in TestDefaultRoute()
194 EXPECT_TRUE(client1->CheckNextPacket("foo", 3, &client2_addr)); in TestDefaultRoute()
205 TestClient* client1 = new TestClient(new AsyncUDPSocket(socket)); in BasicTest() local
212 EXPECT_TRUE(client1->CheckNextPacket("foo", 3, &client2_addr)); in BasicTest()
215 EXPECT_EQ(6, client1->SendTo("bizbaz", 6, client2_addr)); in BasicTest()
225 EXPECT_TRUE(client1->CheckNextPacket("foo", 3, &next_client2_addr)); in BasicTest()
230 EXPECT_EQ(6, client1->SendTo("bizbaz", 6, next_client2_addr)); in BasicTest()
796 TestClient* client1 = new TestClient(new AsyncUDPSocket(socket)); in CrossFamilyDatagramTest() local
805 EXPECT_TRUE(client1->CheckNextPacket("foo", 3, &client2_addr)); in CrossFamilyDatagramTest()
[all …]
Dsocket_unittest.cc877 scoped_ptr<TestClient> client1( in UdpInternal() local
884 EXPECT_TRUE(client1->CheckNextPacket("foo", 3, &addr2)); in UdpInternal()
887 EXPECT_EQ(6, client1->SendTo("bizbaz", 6, addr2)); in UdpInternal()
896 EXPECT_TRUE(client1->CheckNextPacket("foo", 3, &addr4)); in UdpInternal()
900 EXPECT_EQ(6, client1->SendTo("bizbaz", 6, addr4)); in UdpInternal()
/external/ltp/testcases/network/nfsv4/locks/
Ddeploy_info16 ./locktests.py --setup -c client1 client2 client3 -s NFS_Server:/exported/directory
/external/conscrypt/openjdk-integ-tests/src/test/java/libcore/javax/net/ssl/
DSSLSocketTest.java471 final SSLSocket client1 = (SSLSocket) c.clientContext.getSocketFactory().createSocket( in test_SSLSocket_confirmSessionReuse() local
475 client1.startHandshake(); in test_SSLSocket_confirmSessionReuse()
476 assertNotNull(client1.getSession()); in test_SSLSocket_confirmSessionReuse()
477 assertNotNull(client1.getSession().getId()); in test_SSLSocket_confirmSessionReuse()
478 final byte[] clientSessionId1 = client1.getSession().getId(); in test_SSLSocket_confirmSessionReuse()
481 client1.close(); in test_SSLSocket_confirmSessionReuse()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DNativeCryptoTest.java1149 Future<TestSSLHandshakeCallbacks> client1 = in test_SSL_do_handshake_reusedSession() local
1163 TestSSLHandshakeCallbacks clientCallback1 = client1.get(TIMEOUT_SECONDS, TimeUnit.SECONDS); in test_SSL_do_handshake_reusedSession()