Lines Matching refs:kTestData
2734 const std::string kTestData("The quick brown fox jumps over the lazy dog."); in TEST_F() local
2738 ASSERT_EQ(static_cast<int>(kTestData.size()), in TEST_F()
2739 WriteFile(file_path, kTestData.data(), kTestData.size())); in TEST_F()
2742 std::vector<char> small_buffer(kTestData.size() / 2); in TEST_F()
2743 std::vector<char> exact_buffer(kTestData.size()); in TEST_F()
2744 std::vector<char> large_buffer(kTestData.size() * 2); in TEST_F()
2751 std::string(kTestData.begin(), kTestData.begin() + small_buffer.size()), in TEST_F()
2757 EXPECT_EQ(static_cast<int>(kTestData.size()), bytes_read_exact); in TEST_F()
2758 EXPECT_EQ(kTestData, std::string(exact_buffer.begin(), exact_buffer.end())); in TEST_F()
2763 EXPECT_EQ(static_cast<int>(kTestData.size()), bytes_read_large); in TEST_F()
2764 EXPECT_EQ(kTestData, std::string(large_buffer.begin(), in TEST_F()
2765 large_buffer.begin() + kTestData.size())); in TEST_F()
2777 const char kTestData[] = "0123"; in TEST_F() local
2789 ASSERT_EQ(static_cast<int>(strlen(kTestData)), in TEST_F()
2790 WriteFile(file_path, kTestData, strlen(kTestData))); in TEST_F()
2793 EXPECT_EQ(kTestData, data); in TEST_F()
2865 const char kTestData[] = "0123"; in MULTIPROCESS_TEST_MAIN() local
2872 while (written < strlen(kTestData)) { in MULTIPROCESS_TEST_MAIN()
2873 ssize_t res = write(fd, kTestData + written, strlen(kTestData) - written); in MULTIPROCESS_TEST_MAIN()
2878 CHECK_EQ(strlen(kTestData), written); in MULTIPROCESS_TEST_MAIN()
3019 const char kTestData[] = "0123"; in MULTIPROCESS_TEST_MAIN() local
3035 EXPECT_TRUE(::WriteFile(ph, kTestData, strlen(kTestData), &written, NULL)); in MULTIPROCESS_TEST_MAIN()
3036 EXPECT_EQ(strlen(kTestData), written); in MULTIPROCESS_TEST_MAIN()