Searched refs:ReceiveString (Results 1 – 1 of 1) sorted by relevance
/system/core/fastboot/ |
D | socket_test.cpp | 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() [all …]
|