Home
last modified time | relevance | path

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

/bootable/recovery/tests/unit/
Dverifier_test.cpp77 ZipWriter zip_writer(zip_file_ptr); in BuildCertificateArchive() local
88 ASSERT_EQ(0, zip_writer.StartEntry(entry_name.c_str(), ZipWriter::kCompress)); in BuildCertificateArchive()
89 ASSERT_EQ(0, zip_writer.WriteBytes(content.data(), content.size())); in BuildCertificateArchive()
90 ASSERT_EQ(0, zip_writer.FinishEntry()); in BuildCertificateArchive()
93 ASSERT_EQ(0, zip_writer.Finish()); in BuildCertificateArchive()
Dupdater_test.cpp94 ZipWriter zip_writer(zip_file_ptr); in BuildUpdatePackage() local
98 ASSERT_EQ(0, zip_writer.StartEntry(entry.first.c_str(), 0)); in BuildUpdatePackage()
100 ASSERT_EQ(0, zip_writer.WriteBytes(entry.second.data(), entry.second.size())); in BuildUpdatePackage()
102 ASSERT_EQ(0, zip_writer.FinishEntry()); in BuildUpdatePackage()
105 ASSERT_EQ(0, zip_writer.Finish()); in BuildUpdatePackage()