summaryrefslogtreecommitdiffstats
path: root/tests/component/uncrypt_test.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tests: Use get_bootloader_message_blk_device() to find /misc.Tao Bao2017-04-051-3/+2
| | | | | | | | | | Since commit fb00d82f32446804f7149bc6846dcc580cf0db1d has added get_bootloader_message_blk_device() as an API, switch the tests-local implementation to it. Test: recovery_component_test on angler. Test: recovery_component_test on a local build that doesn't have /misc. Change-Id: I4f5f542cb9ef58292c587a677da73d8822db7262
* tests: Add a test for --wipe_ab into UncryptTest.Tao Bao2017-03-281-103/+82
| | | | | | | | Also factor out the common parts in {setup,clear}_bcb into a separate function. Test: recovery_component_test Change-Id: I7b95cced925c8135e020dcb791ca2425d4f28449
* Skip BootloaderMessageTest, UncryptTest for devices without /miscTianjie Xu2017-03-011-1/+19
| | | | | | | | Skip these two tests if /misc partition is not found in fstab. Bug: 35712836 Test: Both test skip correctly if there's no /misc in fstab.${hardware}. Change-Id: I38417a8677030229a335e43eaef85ae70c4e0845
* Add tests for setup-bcb and clear-bcb via uncrypt.Tao Bao2016-12-141-0/+174
Bug: http://b/33534933 Test: recovery_component_test passes (and fails on buggy build due to the CL in [1]). [1]: commit 7e31f421a514da09b90e46dbd642a5e9b16e0003 Change-Id: I120498048ec1db8f9fcbb3cf135c05d3a48cfcdf