Lines Matching refs:client1
203 auto client1 = std::make_unique<TestClient>( in TestDefaultRoute() local
218 EXPECT_EQ(6, client1->SendTo("bizbaz", 6, client2_addr)); in TestDefaultRoute()
225 EXPECT_TRUE(client1->CheckNextPacket("foo", 3, &client2_addr)); in TestDefaultRoute()
236 auto client1 = std::make_unique<TestClient>( in BasicTest() local
245 EXPECT_TRUE(client1->CheckNextPacket("foo", 3, &client2_addr)); in BasicTest()
248 EXPECT_EQ(6, client1->SendTo("bizbaz", 6, client2_addr)); in BasicTest()
259 EXPECT_TRUE(client1->CheckNextPacket("foo", 3, &next_client2_addr)); in BasicTest()
264 EXPECT_EQ(6, client1->SendTo("bizbaz", 6, next_client2_addr)); in BasicTest()
840 auto client1 = std::make_unique<TestClient>( in CrossFamilyDatagramTest() local
851 EXPECT_TRUE(client1->CheckNextPacket("foo", 3, &client2_addr)); in CrossFamilyDatagramTest()
853 EXPECT_EQ(6, client1->SendTo("bizbaz", 6, client2_addr)); in CrossFamilyDatagramTest()
858 EXPECT_TRUE(client1->CheckNoPacket()); in CrossFamilyDatagramTest()
1051 auto client1 = std::make_unique<TestClient>( in TEST_F() local
1055 EXPECT_EQ(-1, client1->SendTo("foo", 3, socket2->GetLocalAddress())); in TEST_F()
1057 EXPECT_EQ(0, client1->ready_to_send_count()); in TEST_F()
1060 EXPECT_EQ(1, client1->ready_to_send_count()); in TEST_F()
1061 EXPECT_EQ(3, client1->SendTo("foo", 3, socket2->GetLocalAddress())); in TEST_F()