aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao2016-10-25 16:17:26 -0500
committerTao Bao2016-11-01 16:40:14 -0500
commit36c35119526023c9e28ec22915b26b1bf7da6bc3 (patch)
tree35f2c84f96be62b67b4b9d4cc9bb5f7afc82cf40 /install.cpp
parent3f4030e0ef53c9e308b70788dc53bf0c5cfcd06a (diff)
downloadplatform-bootable-recovery-36c35119526023c9e28ec22915b26b1bf7da6bc3.tar.gz
platform-bootable-recovery-36c35119526023c9e28ec22915b26b1bf7da6bc3.tar.xz
platform-bootable-recovery-36c35119526023c9e28ec22915b26b1bf7da6bc3.zip
applypatch: Add testcases for applypatch executable.
Refactor applypatch/main.cpp into libapplypatch_modes so that we can add testcases. Some changes to applypatch/main.cpp: - Replace char** argv with const char**; - Use android::base::Split() to split ":"; - Use android::base::ParseUInt(). Bug: 32383590 Test: Unit tests pass, install-recovery.sh works. Change-Id: I44e7bfa5ab717d439ea1d0ee9ddb7b2c40bb95a4
Diffstat (limited to 'install.cpp')
0 files changed, 0 insertions, 0 deletions