• Home
  • Raw
  • Download

Lines Matching refs:srv

102   auto srv =  in TEST_F()  local
105 ASSERT_TRUE(srv->is_listening()); in TEST_F()
110 EXPECT_CALL(event_listener_, OnNewIncomingConnection(srv.get(), _)) in TEST_F()
140 auto srv = in TEST_F() local
143 ASSERT_TRUE(srv->is_listening()); in TEST_F()
153 EXPECT_CALL(event_listener_, OnNewIncomingConnection(srv.get(), _)) in TEST_F()
197 srv->Shutdown(true); in TEST_F()
207 auto srv = UnixSocket::Listen(std::move(fd), &event_listener_, &task_runner_, in TEST_F() local
209 ASSERT_TRUE(srv->is_listening()); in TEST_F()
219 EXPECT_CALL(event_listener_, OnNewIncomingConnection(srv.get(), _)) in TEST_F()
240 auto srv = in TEST_F() local
243 ASSERT_TRUE(srv->is_listening()); in TEST_F()
247 EXPECT_CALL(event_listener_, OnNewIncomingConnection(srv.get(), _)) in TEST_F()
282 auto srv = in TEST_F() local
285 ASSERT_TRUE(srv->is_listening()); in TEST_F()
290 EXPECT_CALL(event_listener_, OnNewIncomingConnection(srv.get(), _)) in TEST_F()
338 auto srv = in TEST_F() local
341 ASSERT_TRUE(srv->is_listening()); in TEST_F()
345 EXPECT_CALL(event_listener_, OnNewIncomingConnection(srv.get(), _)) in TEST_F()
385 auto srv = in TEST_F() local
388 ASSERT_TRUE(srv->is_listening()); in TEST_F()
391 EXPECT_CALL(event_listener_, OnNewIncomingConnection(srv.get(), _)) in TEST_F()
406 srv->Shutdown(true); in TEST_F()
426 std::unique_ptr<UnixSocket> srv; in TEST_F() local
432 srv = UnixSocket::Listen(host_and_port, &event_listener_, &task_runner_, in TEST_F()
434 } while ((!srv || !srv->is_listening()) && attempt++ < 10); in TEST_F()
435 ASSERT_TRUE(srv->is_listening()); in TEST_F()
439 EXPECT_CALL(event_listener_, OnNewIncomingConnection(srv.get(), _)) in TEST_F()
481 auto srv = in TEST_F() local
484 ASSERT_TRUE(srv->is_listening()); in TEST_F()
515 auto srv = in TEST_F() local
518 ASSERT_TRUE(srv->is_listening()); in TEST_F()
521 EXPECT_CALL(event_listener_, OnNewIncomingConnection(srv.get(), _)) in TEST_F()
568 auto srv = in TEST_F() local
571 ASSERT_TRUE(srv->is_listening()); in TEST_F()
579 EXPECT_CALL(event_listener_, OnNewIncomingConnection(srv.get(), _)) in TEST_F()
648 srv->Shutdown(true); in TEST_F()
672 auto srv = in TEST_F() local
675 ASSERT_TRUE(srv->is_listening()); in TEST_F()
679 EXPECT_CALL(event_listener_, OnNewIncomingConnection(srv.get(), _)) in TEST_F()