Fix proto converter and support VUR.
Fix proto converter bug while parsing supported enum values. Need
to populate supportedEnumValues with a vector first before storing
the values because by default it is an empty nullopt.
This CL also adds logic for parsing supportVUR.
Test: atest VehicleHalProtoMessageConverterTest
Bug: 306748801
Change-Id: Ice087a6f0298770d47f51a8d36c7857445df1de3
diff --git a/automotive/vehicle/TEST_MAPPING b/automotive/vehicle/TEST_MAPPING
index 02ad8bb..e1a90cb 100644
--- a/automotive/vehicle/TEST_MAPPING
+++ b/automotive/vehicle/TEST_MAPPING
@@ -51,6 +51,9 @@
"include-filter": "com.android.car.hal.fakevhal.FakeVehicleStubUnitTest"
}
]
+ },
+ {
+ "name": "VehicleHalProtoMessageConverterTest"
}
]
}