Home
last modified time | relevance | path

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

/bootable/recovery/tests/unit/host/
Dupdate_simulator_test.cpp54 FILE* zip_file = fdopen(fd, "w"); in AddZipEntries() local
55 ZipWriter writer(zip_file); in AddZipEntries()
62 ASSERT_EQ(0, fclose(zip_file)); in AddZipEntries()
151 TemporaryFile zip_file; in TEST_F() local
152 AddZipEntries(zip_file.release(), { { "META/misc_info.txt", "extfs_sparse_flag=-s" }, in TEST_F()
154 TargetFile target_file(zip_file.path, false); in TEST_F()
170 TemporaryFile zip_file; in TEST_F() local
171 AddZipEntries(zip_file.release(), in TEST_F()
174 TargetFile target_file(zip_file.path, false); in TEST_F()
210 TemporaryFile zip_file; in TEST_F() local
[all …]
/bootable/recovery/tests/unit/
Dinstall_test.cpp42 FILE* zip_file = fdopen(fd, "w"); in BuildZipArchive() local
43 ZipWriter writer(zip_file); in BuildZipArchive()
50 ASSERT_EQ(0, fclose(zip_file)); in BuildZipArchive()
Dupdater_test.cpp174 TemporaryFile zip_file; in RunBlockImageUpdate() local
175 BuildUpdatePackage(entries, zip_file.release()); in RunBlockImageUpdate()
179 ASSERT_TRUE(updater_.Init(temp_pipe.release(), zip_file.path, false)); in RunBlockImageUpdate()