• Home
  • Raw
  • Download

Lines Matching refs:kTestData

19 const char kTestData[] = "0123456789";  variable
20 const int kTestDataSize = arraysize(kTestData) - 1;
28 file_util::WriteFile(temp_file_path_, kTestData, kTestDataSize); in SetUp()
53 file_util::WriteFile(temp_file_path(), kTestData, kTestDataSize)); in TEST_F()
65 ASSERT_EQ(0, memcmp(kTestData, buffer, kTestDataSize)); in TEST_F()
75 ASSERT_EQ(kTestDataSize, write_stream.Write(kTestData, kTestDataSize, NULL)); in TEST_F()
81 ASSERT_EQ(0, memcmp(kTestData, buffer, kTestDataSize)); in TEST_F()
130 EXPECT_EQ(kTestData, data_read); in TEST_F()
165 EXPECT_EQ(kTestData, data_read); in TEST_F()
194 EXPECT_EQ(std::string(kTestData, rv), std::string(buf, rv)); in TEST_F()
229 EXPECT_TRUE(data_read == kTestData + kOffset); in TEST_F()
230 EXPECT_EQ(kTestData + kOffset, data_read); in TEST_F()
269 EXPECT_EQ(kTestData + kOffset, data_read); in TEST_F()
289 const int kTestDataLen = arraysize(kTestData) - 1; in TEST_F()
307 rv = stream.Write(kTestData, kTestDataSize, NULL); in TEST_F()
333 rv = stream.Write(kTestData + total_bytes_written, in TEST_F()
364 rv = stream.Write(kTestData + total_bytes_written, in TEST_F()
396 rv = stream.Write(kTestData, kTestDataSize, NULL); in TEST_F()
425 rv = stream.Write(kTestData + total_bytes_written, in TEST_F()
468 EXPECT_TRUE(data_read == kTestData); in TEST_F()
470 rv = stream.Write(kTestData, kTestDataSize, NULL); in TEST_F()
497 rv = stream.Write(kTestData, kTestDataSize, NULL); in TEST_F()
523 std::string(kTestData) + std::string(kTestData); in TEST_F()
559 EXPECT_TRUE(data_read == kTestData); in TEST_F()
564 rv = stream.Write(kTestData + total_bytes_written, in TEST_F()
605 rv = stream.Write(kTestData + total_bytes_written, in TEST_F()
643 std::string(kTestData) + std::string(kTestData); in TEST_F()
686 rv = stream_->Write(kTestData + *total_bytes_written_, in RunWithParams()
757 rv = stream.Write(kTestData + total_bytes_written, in TEST_F()
773 std::string(kTestData) + std::string(kTestData); in TEST_F()
809 rv = stream_->Write(kTestData + *total_bytes_written_, in RunWithParams()
856 rv = stream.Write(kTestData, kTestDataSize, &callback); in TEST_F()