Lines Matching refs:kTestData
1046 const char kTestData[] = "hello world"; in TEST_F() local
1047 const uint32_t kTestDataSize = static_cast<uint32_t>(sizeof(kTestData)); in TEST_F()
1059 ASSERT_EQ(MOJO_RESULT_OK, WriteData(kTestData, &num_bytes, false)); in TEST_F()
1064 ASSERT_EQ(MOJO_RESULT_OK, WriteData(kTestData, &num_bytes, false)); in TEST_F()
1098 ASSERT_EQ(0, memcmp(read_buffer_ptr, kTestData, kTestDataSize)); in TEST_F()
1114 const char kTestData[] = "hello world"; in TEST_F() local
1115 const uint32_t kTestDataSize = static_cast<uint32_t>(sizeof(kTestData)); in TEST_F()
1128 ASSERT_EQ(MOJO_RESULT_OK, WriteData(kTestData, &num_bytes)); in TEST_F()
1168 memcpy(write_buffer_ptr, kTestData, kTestDataSize); in TEST_F()
1175 ASSERT_EQ(MOJO_RESULT_FAILED_PRECONDITION, WriteData(kTestData, &num_bytes)); in TEST_F()
1208 const char kTestData[] = "hello world"; in TEST_F() local
1209 const uint32_t kTestDataSize = static_cast<uint32_t>(sizeof(kTestData)); in TEST_F()
1222 ASSERT_EQ(MOJO_RESULT_OK, WriteData(kTestData, &num_bytes)); in TEST_F()
1244 ASSERT_EQ(0, memcmp(buffer, kTestData, kTestDataSize)); in TEST_F()
1251 ASSERT_EQ(0, memcmp(buffer, kTestData, kTestDataSize)); in TEST_F()
1271 const char kTestData[] = "hello world"; in TEST_F() local
1272 const uint32_t kTestDataSize = static_cast<uint32_t>(sizeof(kTestData)); in TEST_F()
1285 ASSERT_EQ(MOJO_RESULT_OK, WriteData(kTestData, &num_bytes)); in TEST_F()
1323 ASSERT_EQ(0, memcmp(read_buffer_ptr, kTestData, kTestDataSize)); in TEST_F()
1451 const char kTestData[] = "hello world"; in TEST_F() local
1452 const uint32_t kTestDataSize = static_cast<uint32_t>(sizeof(kTestData)); in TEST_F()
1465 ASSERT_EQ(MOJO_RESULT_OK, WriteData(kTestData, &num_bytes)); in TEST_F()
1482 ASSERT_EQ(0, memcmp(read_buffer, kTestData, kTestDataSize)); in TEST_F()