diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2021-04-06 20:18:46 -0700 |
---|---|---|
committer | Linux Build Service Account <lnxbuild@localhost> | 2021-04-06 20:18:46 -0700 |
commit | a1531c020edb7ad659164d6be96378fad956b61b (patch) | |
tree | 693ff7c1d724992a2adee4d85de4790ecef1f97e /payload_consumer/filesystem_verifier_action_unittest.cc | |
parent | c9a4a18fa045995e38ff920916f3be1bcf13239b (diff) | |
parent | 9c7061227a48006b715abc21030bf7cd3038e656 (diff) |
Merge 9c7061227a48006b715abc21030bf7cd3038e656 on remote branch
Change-Id: I715fc97656b8cd7eeee81645a298e785ae38e72f
Diffstat (limited to 'payload_consumer/filesystem_verifier_action_unittest.cc')
-rw-r--r-- | payload_consumer/filesystem_verifier_action_unittest.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/payload_consumer/filesystem_verifier_action_unittest.cc b/payload_consumer/filesystem_verifier_action_unittest.cc index e9560f0b..d163ec20 100644 --- a/payload_consumer/filesystem_verifier_action_unittest.cc +++ b/payload_consumer/filesystem_verifier_action_unittest.cc @@ -415,20 +415,20 @@ TEST_F(FilesystemVerifierActionTest, RunWithVABC) { ON_CALL(dynamic_control, GetDynamicPartitionsFeatureFlag()) .WillByDefault(Return(FeatureFlag(FeatureFlag::Value::LAUNCH))); - ON_CALL(dynamic_control, GetVirtualAbCompressionFeatureFlag()) - .WillByDefault(Return(FeatureFlag(FeatureFlag::Value::LAUNCH))); + ON_CALL(dynamic_control, UpdateUsesSnapshotCompression()) + .WillByDefault(Return(true)); ON_CALL(dynamic_control, OpenCowReader(_, _, _)) .WillByDefault(Return(nullptr)); ON_CALL(dynamic_control, IsDynamicPartition(part.name)) .WillByDefault(Return(true)); - EXPECT_CALL(dynamic_control, GetVirtualAbCompressionFeatureFlag()) + EXPECT_CALL(dynamic_control, UpdateUsesSnapshotCompression()) .Times(AtLeast(1)); EXPECT_CALL(dynamic_control, OpenCowReader(part.name, {part.source_path}, _)) .Times(1); - EXPECT_CALL(dynamic_control, ListDynamicPartitionsForSlot(_, _)) + EXPECT_CALL(dynamic_control, ListDynamicPartitionsForSlot(_, _, _)) .WillRepeatedly( - DoAll(SetArgPointee<1, std::vector<std::string>>({part.name}), + DoAll(SetArgPointee<2, std::vector<std::string>>({part.name}), Return(true))); BuildActions(install_plan, &dynamic_control); |