Home
last modified time | relevance | path

Searched refs:kLargeFileSize (Results 1 – 1 of 1) sorted by relevance

/external/libchrome/base/files/
Dfile_util_unittest.cc80 const size_t kLargeFileSize = (1 << 16) + 3; variable
2851 EXPECT_FALSE(ReadFileToStringWithMaxSize(file_path, &data, kLargeFileSize)); in TEST_F()
2852 EXPECT_EQ(kLargeFileSize, data.length()); in TEST_F()
2853 EXPECT_EQ(std::string(kLargeFileSize, '\0'), data); in TEST_F()
2855 EXPECT_FALSE(ReadFileToStringWithMaxSize(file_path, nullptr, kLargeFileSize)); in TEST_F()
2888 std::string data(kLargeFileSize, 'c'); in MULTIPROCESS_TEST_MAIN()
2969 ReadFileToStringWithMaxSize(pipe_path, &data, kLargeFileSize - 1)); in TEST_F()
2970 EXPECT_EQ(std::string(kLargeFileSize - 1, 'c'), data); in TEST_F()
2984 EXPECT_TRUE(ReadFileToStringWithMaxSize(pipe_path, &data, kLargeFileSize)); in TEST_F()
2985 EXPECT_EQ(std::string(kLargeFileSize, 'c'), data); in TEST_F()
[all …]