Searched refs:kHello (Results 1 – 2 of 2) sorted by relevance
/external/libchrome/base/posix/ |
D | unix_domain_socket_linux_unittest.cc | 91 static const char kHello[] = "hello"; in TEST() local 93 send_sock.get(), kHello, sizeof(kHello), std::vector<int>())); in TEST() 97 char buf[sizeof(kHello) + 1]; in TEST() 102 ASSERT_EQ(sizeof(kHello), static_cast<size_t>(nread)); in TEST() 103 ASSERT_EQ(0, memcmp(buf, kHello, sizeof(kHello))); in TEST() 118 static const char kHello[] = "hello"; in TEST() local 122 send_sock.get(), kHello, sizeof(kHello), send_fds)); in TEST() 126 char buf[sizeof(kHello) + 1]; in TEST() 131 ASSERT_EQ(sizeof(kHello), static_cast<size_t>(nread)); in TEST() 132 ASSERT_EQ(0, memcmp(buf, kHello, sizeof(kHello))); in TEST()
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_unittest.cc | 285 const string kHello("hello"); in TEST() local 286 message.set_optional_string(kHello); in TEST() 293 message.set_allocated_optional_string(new string(kHello)); in TEST() 295 EXPECT_EQ(kHello, message.optional_string()); in TEST() 1533 const string kHello("hello"); in TEST_F() local 1534 message.set_foo_string(kHello); in TEST_F() 1541 message.set_allocated_foo_string(new string(kHello)); in TEST_F() 1543 EXPECT_EQ(kHello, message.foo_string()); in TEST_F()
|