Improve Zipalign test
Problem: Zipalign test invokes process but not verify. Solution: Invoke both during test. Test: Unit Test Bug: NA Change-Id: If603df301048f4b508e3429c4a8c77339ab351ae
This commit is contained in:
@@ -19,6 +19,9 @@ TEST(Align, Unaligned) {
|
||||
const std::string src = GetTestPath("unaligned.zip");
|
||||
const std::string dst = GetTestPath("unaligned_out.zip");
|
||||
|
||||
int result = process(src.c_str(), dst.c_str(), 4, true, false, 4096);
|
||||
ASSERT_EQ(0, result);
|
||||
int processed = process(src.c_str(), dst.c_str(), 4, true, false, 4096);
|
||||
ASSERT_EQ(0, processed);
|
||||
|
||||
int verified = verify(dst.c_str(), 4, true, false);
|
||||
ASSERT_EQ(0, verified);
|
||||
}
|
||||
|
Reference in New Issue
Block a user