Lines Matching refs:temp_file

38   TemporaryFile temp_file;  in TEST()  local
39 ASSERT_TRUE(android::base::WriteStringToFile(android::base::Join(content, '\n'), temp_file.path)); in TEST()
41 auto block_map_data = BlockMapData::ParseBlockMapFile(temp_file.path); in TEST()
58 TemporaryFile temp_file; in TEST() local
59 ASSERT_TRUE(android::base::WriteStringToFile(android::base::Join(content, '\n'), temp_file.path)); in TEST()
61 auto block_map_data1 = BlockMapData::ParseBlockMapFile(temp_file.path); in TEST()
73 TemporaryFile temp_file; in TEST() local
74 ASSERT_TRUE(android::base::WriteStringToFile(android::base::Join(content, '\n'), temp_file.path)); in TEST()
76 auto block_map_data = BlockMapData::ParseBlockMapFile(temp_file.path); in TEST()
82 ASSERT_TRUE(android::base::WriteStringToFile(android::base::Join(content, '\n'), temp_file.path)); in TEST()
83 auto large_block_size = BlockMapData::ParseBlockMapFile(temp_file.path); in TEST()
87 ASSERT_TRUE(android::base::WriteStringToFile(android::base::Join(content, '\n'), temp_file.path)); in TEST()
88 auto too_many_blocks = BlockMapData::ParseBlockMapFile(temp_file.path); in TEST()
152 TemporaryFile temp_file; in TEST() local
153 std::string filename = std::string("@") + temp_file.path; in TEST()
156 ASSERT_TRUE(android::base::WriteStringToFile("/somefile\n", temp_file.path)); in TEST()
159 ASSERT_TRUE(android::base::WriteStringToFile("/somefile\n4096 4096\n0\n", temp_file.path)); in TEST()
163 ASSERT_TRUE(android::base::WriteStringToFile("/somefile\n4096 4096\n1\n", temp_file.path)); in TEST()
166 ASSERT_TRUE(android::base::WriteStringToFile("/somefile\n4096 4096\n2\n0 1\n", temp_file.path)); in TEST()
170 ASSERT_TRUE(android::base::WriteStringToFile("/somefile\nabc 4096\n1\n0 1\n", temp_file.path)); in TEST()
173 ASSERT_TRUE(android::base::WriteStringToFile("/somefile\n4096 4096\n\n0 1\n", temp_file.path)); in TEST()
177 ASSERT_TRUE(android::base::WriteStringToFile("/somefile\n0 4096\n1\n0 1\n", temp_file.path)); in TEST()
180 ASSERT_TRUE(android::base::WriteStringToFile("/somefile\n4096 0\n1\n0 1\n", temp_file.path)); in TEST()
183 ASSERT_TRUE(android::base::WriteStringToFile("/somefile\n4096 4096\n0\n0 1\n", temp_file.path)); in TEST()
187 …ASSERT_TRUE(android::base::WriteStringToFile("/doesntexist\n4096 4096\n1\n0 1\n", temp_file.path)); in TEST()