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:
parent
6f83343e7e
commit
4b4b495d88
1 changed files with 5 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue