Lines Matching refs:OpenArchiveWrapper
57 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()
323 ASSERT_EQ(0, OpenArchiveWrapper(kValidZip, &handle)); in TEST()
339 ASSERT_EQ(0, OpenArchiveWrapper(kValidZip, &handle)); in TEST()
360 ASSERT_EQ(0, OpenArchiveWrapper(kValidZip, &handle)); in TEST()
370 ASSERT_EQ(0, OpenArchiveWrapper(kValidZip, &handle)); in TEST()
381 ASSERT_EQ(0, OpenArchiveWrapper("declaredlength.zip", &handle)); in TEST()
439 ASSERT_EQ(0, OpenArchiveWrapper(kValidZip, &handle)); in TEST()
587 ASSERT_EQ(0, OpenArchiveWrapper(kValidZip, &handle)); in TEST()
666 ASSERT_EQ(0, OpenArchiveWrapper(zip_file, &handle)); in ZipArchiveStreamTestUsingContents()
681 ASSERT_EQ(0, OpenArchiveWrapper(zip_file, &handle)); in ZipArchiveStreamTestUsingMemory()
722 ASSERT_EQ(0, OpenArchiveWrapper(kBadCrcZip, &handle)); in TEST()
733 ASSERT_EQ(0, OpenArchiveWrapper(kBadCrcZip, &handle)); in TEST()