commit | 60a76f0e0474999ac9976243537a9560e269c871 | [log] [tgz] |
---|---|---|
author | Yu Shan <shanyu@google.com> | Thu Nov 30 11:09:49 2023 -0800 |
committer | Yu Shan <shanyu@google.com> | Thu Nov 30 11:14:11 2023 -0800 |
tree | a9098b357e54610325783a3404b437952bacfd50 | |
parent | 4eae8de5196d11559cd40c8b189b51d4da77a2ad [diff] |
Fix testListProperties test. We should update the config count in the unit test for ag/25331307. Test: atest android.hardware.automotive.vehicle@2.0-default-impl-unit-tests Bug: 310035422 Change-Id: I821e43ec7fda31007457821186cce7fd0bc4f9b6
diff --git a/automotive/vehicle/2.0/default/impl/vhal_v2_0/tests/DefaultVhalImpl_test.cpp b/automotive/vehicle/2.0/default/impl/vhal_v2_0/tests/DefaultVhalImpl_test.cpp index edd4484..ad3f4ac 100644 --- a/automotive/vehicle/2.0/default/impl/vhal_v2_0/tests/DefaultVhalImpl_test.cpp +++ b/automotive/vehicle/2.0/default/impl/vhal_v2_0/tests/DefaultVhalImpl_test.cpp
@@ -152,7 +152,7 @@ TEST_F(DefaultVhalImplTest, testListProperties) { std::vector<VehiclePropConfig> configs = mHal->listProperties(); - EXPECT_EQ((size_t)124, configs.size()); + EXPECT_EQ((size_t)125, configs.size()); } TEST_F(DefaultVhalImplTest, testGetDefaultPropertyFloat) {