diff options
author | Kelvin Zhang <zhangkelvin@google.com> | 2021-01-14 16:04:34 +0100 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2021-01-14 16:04:34 +0100 |
commit | e7a060a91b32cae86a01f3fc9ff3e81b99a6d552 (patch) | |
tree | 6f81e464fc1e55009a4143d5f33da84213053ef6 /tests/unit/applypatch_test.cpp | |
parent | Merge "Disable failed imgpatch tests" (diff) | |
parent | Re-enable failed imgpatch tests (diff) | |
download | android_bootable_recovery-e7a060a91b32cae86a01f3fc9ff3e81b99a6d552.tar android_bootable_recovery-e7a060a91b32cae86a01f3fc9ff3e81b99a6d552.tar.gz android_bootable_recovery-e7a060a91b32cae86a01f3fc9ff3e81b99a6d552.tar.bz2 android_bootable_recovery-e7a060a91b32cae86a01f3fc9ff3e81b99a6d552.tar.lz android_bootable_recovery-e7a060a91b32cae86a01f3fc9ff3e81b99a6d552.tar.xz android_bootable_recovery-e7a060a91b32cae86a01f3fc9ff3e81b99a6d552.tar.zst android_bootable_recovery-e7a060a91b32cae86a01f3fc9ff3e81b99a6d552.zip |
Diffstat (limited to 'tests/unit/applypatch_test.cpp')
-rw-r--r-- | tests/unit/applypatch_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/applypatch_test.cpp b/tests/unit/applypatch_test.cpp index 4b80dcee9..218a224f8 100644 --- a/tests/unit/applypatch_test.cpp +++ b/tests/unit/applypatch_test.cpp @@ -132,7 +132,7 @@ TEST_F(ApplyPatchTest, PatchPartitionCheck_UseBackup_BothCorrupted) { PatchPartitionCheck(target_partition, Partition(target_file, source_size, source_sha1))); } -TEST_F(ApplyPatchTest, DISABLED_PatchPartition) { +TEST_F(ApplyPatchTest, PatchPartition) { FileContents patch_fc; ASSERT_TRUE(LoadFileContents(from_testdata_base("recovery-from-boot.p"), &patch_fc)); Value patch(Value::Type::BLOB, std::string(patch_fc.data.cbegin(), patch_fc.data.cend())); @@ -146,7 +146,7 @@ TEST_F(ApplyPatchTest, DISABLED_PatchPartition) { // Tests patching an eMMC target without a separate bonus file (i.e. recovery-from-boot patch has // everything). -TEST_F(ApplyPatchTest, DISABLED_PatchPartitionWithoutBonusFile) { +TEST_F(ApplyPatchTest, PatchPartitionWithoutBonusFile) { FileContents patch_fc; ASSERT_TRUE(LoadFileContents(from_testdata_base("recovery-from-boot-with-bonus.p"), &patch_fc)); Value patch(Value::Type::BLOB, std::string(patch_fc.data.cbegin(), patch_fc.data.cend())); |