Lines Matching refs:kTestData
26 const char kTestData[] = "0123456789";
27 const int kTestDataSize = arraysize(kTestData) - 1;
32 memcpy(buf->data(), kTestData, kTestDataSize);
44 file_util::WriteFile(temp_file_path_, kTestData, kTestDataSize);
79 file_util::WriteFile(temp_file_path(), kTestData, kTestDataSize));
102 file_util::WriteFile(temp_file_path(), kTestData, kTestDataSize));
115 ASSERT_EQ(0, memcmp(kTestData, buffer, kTestDataSize));
126 write_stream->WriteSync(kTestData, kTestDataSize));
132 ASSERT_EQ(0, memcmp(kTestData, buffer, kTestDataSize));
181 EXPECT_EQ(kTestData, data_read);
216 EXPECT_EQ(kTestData, data_read);
245 EXPECT_EQ(std::string(kTestData, rv), std::string(buf->data(), rv));
280 EXPECT_TRUE(data_read == kTestData + kOffset);
281 EXPECT_EQ(kTestData + kOffset, data_read);
323 EXPECT_EQ(kTestData + kOffset, data_read);
343 const int kTestDataLen = arraysize(kTestData) - 1;
377 const int kTestDataLen = arraysize(kTestData) - 1;
397 rv = stream->WriteSync(kTestData, kTestDataSize);
488 rv = stream->WriteSync(kTestData, kTestDataSize);
567 EXPECT_TRUE(data_read == kTestData);
569 rv = stream->WriteSync(kTestData, kTestDataSize);
596 rv = stream->WriteSync(kTestData, kTestDataSize);
622 std::string(kTestData) + std::string(kTestData);
659 EXPECT_TRUE(data_read == kTestData);
755 std::string(kTestData) + std::string(kTestData);
893 std::string(kTestData) + std::string(kTestData);