platform_bootable_recovery/tests/unit
Tao Bao 2274e57f67 updater: Fix the wrong return value for package_extract_file().
'bool success = ExtractEntryToFile()' gives opposite result. Fix the
issue and add testcases.

Change the one-argument version of package_extract_file() to explicitly
abort for non-existent zip entry. Note that this is NOT changing the
behavior. Prior to this CL, it aborts from Evaluate() function, by
giving a general cause code. Now it returns kPackageExtractFileFailure.

BUg: 32903624
Test: recovery_component_test works.

Change-Id: I7a273e9c0d9aaaf8c472b2c778f7b8d90362c24f
(cherry picked from commit ef0eb3b01b)
2016-11-15 16:55:37 -08:00
..
asn1_decoder_test.cpp Refactor existing tests to use gtest 2016-02-04 10:11:30 -08:00
locale_test.cpp Fix matches_locale function 2016-04-20 14:50:35 -07:00
sysutil_test.cpp otautil: Clean up SysUtil.cpp. 2016-11-07 13:00:38 -08:00
zip_test.cpp updater: Fix the wrong return value for package_extract_file(). 2016-11-15 16:55:37 -08:00