Home
last modified time | relevance | path

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

/bootable/recovery/tests/unit/host/
Dimgdiff_test.cpp152 ZipWriter src_writer(src_file_ptr); in TEST() local
153 ASSERT_EQ(0, src_writer.StartEntry("file1.txt", 0)); // Store mode. in TEST()
155 ASSERT_EQ(0, src_writer.WriteBytes(src_content.data(), src_content.size())); in TEST()
156 ASSERT_EQ(0, src_writer.FinishEntry()); in TEST()
157 ASSERT_EQ(0, src_writer.Finish()); in TEST()
206 ZipWriter src_writer(src_file_ptr); in TEST() local
207 ASSERT_EQ(0, src_writer.StartEntry("file1.txt", ZipWriter::kCompress)); in TEST()
209 ASSERT_EQ(0, src_writer.WriteBytes(src_content.data(), src_content.size())); in TEST()
210 ASSERT_EQ(0, src_writer.FinishEntry()); in TEST()
211 ASSERT_EQ(0, src_writer.Finish()); in TEST()
[all …]