Lines Matching refs:kData
398 const char kData[] = "test"; local
399 const int kDataSize = sizeof(kData) - 1;
400 EXPECT_EQ(kDataSize, file.Write(0, kData, kDataSize));
410 EXPECT_EQ(std::string(buffer, buffer + kDataSize), std::string(kData));
423 const char kData[] = "test"; local
424 const int kDataSize = sizeof(kData) - 1;
427 EXPECT_EQ(first_chunk_size, file.WriteAtCurrentPos(kData, first_chunk_size));
429 file.WriteAtCurrentPos(kData + first_chunk_size,
434 EXPECT_EQ(std::string(buffer, buffer + kDataSize), std::string(kData));
467 static const char kData[] = "now is a good time."; local
468 static const int kDataLen = sizeof(kData) - 1;
472 ASSERT_EQ(kDataLen, file.WriteAtCurrentPos(kData, kDataLen));
478 ASSERT_EQ(std::string(kData, kDataLen), std::string(&buf[0], kDataLen));