Searched refs:temp_file_ (Results 1 – 7 of 7) sorted by relevance
/system/update_engine/payload_generator/ |
D | mapfile_filesystem_unittest.cc | 58 test_utils::ScopedTempFile temp_file_{"mapfile_file.XXXXXX"}; member in chromeos_update_engine::MapfileFilesystemTest 64 temp_file_.path(), temp_mapfile_.path()); in TEST_F() 80 EXPECT_EQ(0, HANDLE_EINTR(truncate(temp_file_.path().c_str(), 4096 * 20))); in TEST_F() 83 temp_file_.path(), temp_mapfile_.path()); in TEST_F() 112 EXPECT_EQ(0, HANDLE_EINTR(truncate(temp_file_.path().c_str(), 4096 * 3))); in TEST_F() 115 temp_file_.path(), temp_mapfile_.path()); in TEST_F() 124 EXPECT_EQ(0, HANDLE_EINTR(truncate(temp_file_.path().c_str(), 4096 * 3))); in TEST_F() 127 temp_file_.path(), temp_mapfile_.path()); in TEST_F()
|
/system/update_engine/payload_consumer/ |
D | extent_writer_unittest.cc | 50 ASSERT_TRUE(fd_->Open(temp_file_.path().c_str(), O_RDWR, 0600)); in SetUp() 64 test_utils::ScopedTempFile temp_file_{"ExtentWriterTest-file.XXXXXX"}; member in chromeos_update_engine::ExtentWriterTest 82 utils::FileSize(temp_file_.path())); in TEST_F() 85 EXPECT_TRUE(utils::ReadFile(temp_file_.path(), &result_file)); in TEST_F() 150 utils::FileSize(temp_file_.path())); in WriteAlignedExtents() 153 EXPECT_TRUE(utils::ReadFile(temp_file_.path(), &result_file)); in WriteAlignedExtents() 200 utils::FileSize(temp_file_.path())); in TestZeroPad() 203 EXPECT_TRUE(utils::ReadFile(temp_file_.path(), &result_file)); in TestZeroPad() 250 utils::FileSize(temp_file_.path())); in TEST_F() 253 EXPECT_TRUE(utils::ReadFile(temp_file_.path(), &resultant_data)); in TEST_F()
|
D | bzip_extent_writer_unittest.cc | 45 ASSERT_TRUE(fd_->Open(temp_file_.path().c_str(), O_RDWR, 0600)); in SetUp() 54 test_utils::ScopedTempFile temp_file_{"BzipExtentWriterTest-file.XXXXXX"}; member in chromeos_update_engine::BzipExtentWriterTest 80 EXPECT_TRUE(utils::ReadFile(temp_file_.path(), &buf)); in TEST_F() 127 EXPECT_TRUE(utils::ReadFile(temp_file_.path(), &output)); in TEST_F()
|
/system/core/base/include/android-base/ |
D | test_utils.h | 62 TemporaryFile temp_file_; variable
|
/system/core/libziparchive/ |
D | zip_writer_test.cc | 31 TemporaryFile* temp_file_; member 36 temp_file_ = new TemporaryFile(); in SetUp() 37 fd_ = temp_file_->fd; in SetUp() 44 delete temp_file_; in TearDown()
|
/system/core/base/ |
D | test_utils.cpp | 121 return temp_file_.fd; in fd()
|
/system/update_engine/common/ |
D | http_fetcher_unittest.cc | 346 return "file://" + temp_file_.path(); in BigUrl() 349 test_utils::WriteFileString(temp_file_.path(), "small contents"); in SmallUrl() 350 return "file://" + temp_file_.path(); in SmallUrl() 365 test_utils::ScopedTempFile temp_file_{"ue_file_fetcher.XXXXXX"}; member in chromeos_update_engine::FileFetcherTest
|