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
136 ASSERT_EQ(0, OpenArchiveWrapper(kValidZip, &handle)); in TEST()
147 ASSERT_EQ(kInvalidEntryName, OpenArchiveWrapper("bad_filename.zip", &handle)); in TEST()
153 ASSERT_EQ(kInvalidOffset, OpenArchiveWrapper("crash.apk", &handle)); in TEST()
159 ASSERT_EQ(kEmptyArchive, OpenArchiveWrapper("empty.zip", &handle)); in TEST()
165 ASSERT_EQ(kInvalidFile, OpenArchiveWrapper("zero-size-cd.zip", &handle)); in TEST()
171 ASSERT_NE(0, OpenArchiveWrapper("missing.zip", &handle)); in TEST()
225 ASSERT_EQ(0, OpenArchiveWrapper(kValidZip, &handle)); in TEST()
262 ASSERT_EQ(0, OpenArchiveWrapper(kValidZip, &handle)); in AssertIterationOrder()
273 ASSERT_EQ(0, OpenArchiveWrapper(kValidZip, &handle)); in AssertIterationOrderWithMatcher()
[all …]