Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 012a6fbc authored by Yu Shan's avatar Yu Shan
Browse files

Use parameterized test to auto generate config test.

Auto generate config test based on VehicleProperty annotations.
This CL introduces a new parameterized test suite:
VtsHalAutomotivePropertyConfigTest. This test suite combines both
VHAL interface descriptors and property IDs as params. It loads
the allowed change mode and access modes based on annotations and
verifies each.

Flag: EXEMPT VTS test
Test: atest VtsHalAutomotiveVehicle_TargetTest
Bug: 393209222
Change-Id: I87f5a651e650822726062e77b17103ec79bb0db6
parent 95ebcf9a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -45,7 +45,7 @@ cc_test {
        "vhalclient_defaults",
    ],
    header_libs: [
        "IVehicleGeneratedHeaders-V4",
        "IVehicleGeneratedHeaders",
    ],
    test_suites: [
        "general-tests",
+217 −791

File changed.

Preview size limit exceeded, changes collapsed.