Lines Matching refs:SendString
64 static bool SendString(Socket* sock, const std::string& message) { in SendString() function
83 EXPECT_TRUE(SendString(client.get(), "foo")); in TEST()
86 EXPECT_TRUE(SendString(server.get(), "bar baz")); in TEST()
150 EXPECT_TRUE(SendString(client.get(), message)); in TEST()
161 EXPECT_TRUE(SendString(client.get(), "1234567890")); in TEST()
287 EXPECT_TRUE(SendString(&mock, "foo")); in TEST()
291 EXPECT_TRUE(SendString(&mock, "abc")); in TEST()
292 EXPECT_TRUE(SendString(&mock, "123")); in TEST()
299 EXPECT_FALSE(SendString(mock, "foo")); in TEST()
301 EXPECT_NONFATAL_FAILURE(SendString(mock, "foo"), "no message was expected"); in TEST()
304 EXPECT_NONFATAL_FAILURE(SendString(mock, "bar"), "expected foo, but got bar"); in TEST()
305 EXPECT_TRUE(SendString(mock, "foo")); in TEST()
308 EXPECT_NONFATAL_FAILURE(SendString(mock, "foo"), "called out-of-order"); in TEST()
352 EXPECT_TRUE(SendString(mock, "foo")); in TEST()
381 EXPECT_TRUE(SendString(mock, "foo")); in TEST()