commit | c049f93549c6dedef00ac73c5b19f2b875e796e1 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Tue Jul 23 15:06:05 2019 -0700 |
committer | Yifan Hong <elsk@google.com> | Wed Jul 31 17:43:14 2019 +0000 |
tree | 935ec81a6d499e63e227aecea06904782a464646 | |
parent | 186bb68d4eb9a5767245b764522b26b466aa0cb6 [diff] |
[REFACTOR] Move and refactor tests. Some tests from boot_control_android_unittest only test logic of UpdatePartitionMetadata. Move them to dynamic_partition_control_android_unittest. After moving the test, boot_control_android_unittest can depend on the MockDynamicPartitionControl (which is a mocked DynamicPartitionControlInterface) directly again. It no longer depends on internal implementation of DynamicPartitionControlAndroid. Test: unittest Fixes: 138333673 Change-Id: Idc5f11be98754b8f6d38fcb8604af497e5d86376