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

Commit d945d204 authored by Steven Moreland's avatar Steven Moreland
Browse files

init_kill_services_test: formatting for merges

Adding formatting here, as we will start a push for people
using this, if they run into any linkToDeath issue, or if
they want to test this.

Bugs: me
Test: N/A
Change-Id: I72510d61926ce694671d897519463f37892a8d12
parent 13cb7060
Loading
Loading
Loading
Loading
+21 −3
Original line number Diff line number Diff line
@@ -87,6 +87,24 @@ static inline std::string PrintName(const testing::TestParamInfo<std::string>& i
    return info.param;
}

INSTANTIATE_TEST_CASE_P(DeathTest, InitKillServicesTest,
                        ::testing::Values("lmkd", "ueventd", "hwservicemanager", "servicemanager"),
INSTANTIATE_TEST_CASE_P(
        DeathTest, InitKillServicesTest,
        ::testing::Values(
                // clang-format off

// TODO: we may want a more automatic way of testing this for services based on some
// criteria (e.g. not disabled), but for now adding core services one at a time

// BEGIN INTERNAL ONLY MERGE GUARD (add things here if internal only, move down later)
// END INTERNAL ONLY MERGE GUARD

// BEGIN AOSP ONLY (add things here if adding to AOSP)
    "lmkd",
    "ueventd",
    "hwservicemanager",
    "servicemanager"
// END AOSP ONLY

                // clang-format on
                ),
        PrintName);