diff options
author | Kelvin Zhang <zhangkelvin@google.com> | 2021-02-10 13:21:47 -0500 |
---|---|---|
committer | Kelvin Zhang <zhangkelvin@google.com> | 2021-02-17 02:15:01 +0000 |
commit | 0618835556f95af038b7f19777b5aa2f96c79b52 (patch) | |
tree | 5f4caa2e60812c76e85feccd9704845f5ebfc2c2 /payload_consumer/filesystem_verifier_action_unittest.cc | |
parent | 3a55fc2e5f2635a1aea5695359445d8117545d57 (diff) |
Use UpdateUsesSnapshotCompression to determine if VABC is used
Test: th
Change-Id: Ia04f92d46da34fcd28d7e97c24b6e02fd676e1c7
Diffstat (limited to 'payload_consumer/filesystem_verifier_action_unittest.cc')
-rw-r--r-- | payload_consumer/filesystem_verifier_action_unittest.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/payload_consumer/filesystem_verifier_action_unittest.cc b/payload_consumer/filesystem_verifier_action_unittest.cc index 658ebe16..d163ec20 100644 --- a/payload_consumer/filesystem_verifier_action_unittest.cc +++ b/payload_consumer/filesystem_verifier_action_unittest.cc @@ -415,14 +415,14 @@ 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); |