commit | 700d7c1194a0606454f53cef6ad4e457960402ea | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Tue Jul 23 20:49:16 2019 -0700 |
committer | Yifan Hong <elsk@google.com> | Wed Jul 31 17:43:14 2019 +0000 |
tree | e2bf4923e79473517f84b247d346478d900fe1eb | |
parent | c049f93549c6dedef00ac73c5b19f2b875e796e1 [diff] |
[REFACTOR] DynamicPartitionControl: Add GetSuperPartitionName fs_mgr_get_super_partition_name() should be mocked because it is an external dependency to libfs_mgr. In tests, deliberately make GetSuperDevice() to return "fake_super" instead of "super" to make sure it is mocked properly. Test: run unittests Test: manually apply OTA Change-Id: I0f05d99bf168b6e658052b4bd67dc1e82ab36471