Home
last modified time | relevance | path

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

/system/libziparchive/
Dzip_archive_test.cc57 static int32_t OpenArchiveWrapper(const std::string& name, ZipArchiveHandle* handle) { in OpenArchiveWrapper() function
134 ASSERT_EQ(0, OpenArchiveWrapper(kValidZip, &handle)); in TEST()
137 ASSERT_EQ(kInvalidEntryName, OpenArchiveWrapper("bad_filename.zip", &handle)); in TEST()
143 ASSERT_EQ(kInvalidOffset, OpenArchiveWrapper("crash.apk", &handle)); in TEST()
149 ASSERT_EQ(kEmptyArchive, OpenArchiveWrapper("empty.zip", &handle)); in TEST()
155 ASSERT_EQ(kInvalidFile, OpenArchiveWrapper("zero-size-cd.zip", &handle)); in TEST()
161 ASSERT_NE(0, OpenArchiveWrapper("missing.zip", &handle)); in TEST()
215 ASSERT_EQ(0, OpenArchiveWrapper(kValidZip, &handle)); in TEST()
252 ASSERT_EQ(0, OpenArchiveWrapper(kValidZip, &handle)); in AssertIterationOrder()
263 ASSERT_EQ(0, OpenArchiveWrapper(kValidZip, &handle)); in AssertIterationOrderWithMatcher()
[all …]