Lines Matching refs:ReceiveString
70 static bool ReceiveString(Socket* sock, const std::string& message) { in ReceiveString() function
84 EXPECT_TRUE(ReceiveString(server.get(), "foo")); in TEST()
87 EXPECT_TRUE(ReceiveString(client.get(), "bar baz")); in TEST()
151 EXPECT_TRUE(ReceiveString(server.get(), message)); in TEST()
309 EXPECT_TRUE(ReceiveString(mock, "foo")); in TEST()
319 EXPECT_TRUE(ReceiveString(&mock, "foo")); in TEST()
323 EXPECT_TRUE(ReceiveString(&mock, "abc")); in TEST()
324 EXPECT_TRUE(ReceiveString(&mock, "123")); in TEST()
330 EXPECT_TRUE(ReceiveString(&mock, "foobar123")); in TEST()
337 EXPECT_FALSE(ReceiveString(mock, "foo")); in TEST()
341 EXPECT_FALSE(ReceiveString(mock, "foo")); in TEST()
346 EXPECT_FALSE(ReceiveString(mock, "foobar")); in TEST()
348 EXPECT_NONFATAL_FAILURE(ReceiveString(mock, "foo"), "no message was ready"); in TEST()
351 EXPECT_NONFATAL_FAILURE(ReceiveString(mock, "foo"), "called out-of-order"); in TEST()
357 EXPECT_TRUE(ReceiveString(mock, "foo")); in TEST()