Lines Matching defs:TestClient
262 class TestClient : public ClientBase<TestClient> {
329 std::unique_ptr<TestClient> GetNewChannel() {
333 return TestClient::Create(status.take());
339 std::unique_ptr<TestClient> GetNewChannelFromOtherService() {
344 return TestClient::Create(status.take());
392 using ClientBase<TestClient>::event_fd;
399 explicit TestClient(const std::string& name)
403 explicit TestClient(LocalChannelHandle channel)
406 TestClient(const TestClient&) = delete;
407 void operator=(const TestClient&) = delete;
448 // Test basic operation of TestService/TestClient classes.
456 auto client = TestClient::Create(kTestService1);
478 auto client = TestClient::Create(kTestService1);
501 0, client->SendAsync(expected_payload.data(), TestClient::kMaxPayload));
503 TestClient::kMaxPayload + 1));
517 auto client = TestClient::Create(kTestService1);
522 auto impulse_client = TestClient::Create(kTestService1);
554 auto client1 = TestClient::Create(kTestService2);
599 auto client = TestClient::Create(kTestService1);
644 auto client = TestClient::Create(kTestService1);
665 auto client = TestClient::Create(kTestService1);
688 auto client = TestClient::Create(kTestService1);
705 auto client = TestClient::Create(kTestService1);