Home
last modified time | relevance | path

Searched refs:kTestMessage (Results 1 – 6 of 6) sorted by relevance

/external/libchrome/mojo/core/
Dquota_unittest.cc93 const std::string kTestMessage = "doot"; in TEST_F() local
94 WriteMessage(b, kTestMessage); in TEST_F()
127 const std::string kTestMessage = "doot"; in TEST_F() local
128 WriteMessage(b, kTestMessage); in TEST_F()
135 EXPECT_EQ(usage, kTestMessage.size()); in TEST_F()
154 const std::string kTestMessage = "this message is lit, fam"; in TEST_F() local
155 WriteMessage(a, kTestMessage); in TEST_F()
170 WriteMessage(a, kTestMessage); in TEST_F()
183 EXPECT_EQ(kTestMessage, ReadMessage(b)); in TEST_F()
213 const std::string kTestMessage = "four"; in TEST_F() local
[all …]
Dmessage_unittest.cc395 const std::string kTestMessage = "hello"; in TEST_F() local
400 message_handle, static_cast<uint32_t>(kTestMessage.size()), h, in TEST_F()
402 memcpy(buffer, kTestMessage.data(), kTestMessage.size()); in TEST_F()
539 const char kTestMessage[] = "hey you"; in TEST_F() local
540 MojoTestBase::WriteMessage(pipe2.handle1.get().value(), kTestMessage); in TEST_F()
543 EXPECT_EQ(kTestMessage, MojoTestBase::ReadMessage(extracted_handle)); in TEST_F()
914 const std::string kTestMessage("hey pipe"); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() local
917 MojoTestBase::WriteMessage(handles[0], kTestMessage); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
919 EXPECT_EQ(kTestMessage, MojoTestBase::ReadMessage(handles[4])); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
Dmessage_pipe_unittest.cc528 const std::string kTestMessage = "ayyy lmao"; in TEST_F() local
529 WriteMessage(a, kTestMessage); in TEST_F()
538 EXPECT_EQ(kTestMessage, ReadMessage(d)); in TEST_F()
/external/boringssl/src/crypto/bio/
Dbio_test.cc68 static const char kTestMessage[] = "test"; in TEST() local
114 ASSERT_EQ(static_cast<int>(sizeof(kTestMessage)), in TEST()
115 BIO_write(bio.get(), kTestMessage, sizeof(kTestMessage))); in TEST()
123 char buf[sizeof(kTestMessage)]; in TEST()
124 ASSERT_EQ(static_cast<int>(sizeof(kTestMessage)), in TEST()
127 EXPECT_EQ(Bytes(kTestMessage, sizeof(kTestMessage)), Bytes(buf, sizeof(buf))); in TEST()
/external/libchrome/mojo/public/cpp/bindings/tests/
Dnative_struct_unittest.cc68 const std::string kTestMessage = "hey hi"; in TEST_P() local
69 test::TestNativeStructWithAttachments s(kTestMessage, in TEST_P()
92 kTestMessage, base::Passed(&pipe.handle1), &loop)); in TEST_P()
/external/libchrome/mojo/public/cpp/system/tests/
Dwait_set_unittest.cc274 const char kTestMessage[] = "hello hello"; in TEST_F() local
277 WriteMessage(p.handle0, kTestMessage); in TEST_F()
296 EXPECT_EQ(kTestMessage, ReadMessage(p.handle1)); in TEST_F()
313 const char kTestMessage[] = "wait for it"; in TEST_F() local
324 WriteMessage(pipes[i].handle0, kTestMessage); in TEST_F()
327 WriteMessage(pipes[i].handle1, kTestMessage); in TEST_F()