Home
last modified time | relevance | path

Searched refs:getRule (Results 1 – 6 of 6) sorted by relevance

/openbmc/phosphor-power/phosphor-regulators/test/
H A Did_map_tests.cpp138 EXPECT_THROW(idMap.getRule(id), std::invalid_argument); in TEST()
146 Rule& ruleFound = idMap.getRule(id); in TEST()
156 EXPECT_THROW(idMap.getRule("set_voltage_rule_page0"), in TEST()
267 Rule& ruleFound = idMap.getRule(id); in TEST()
279 idMap.getRule("read_sensors_rule"); in TEST()
H A Dsystem_tests.cpp78 EXPECT_NO_THROW(system.getIDMap().getRule("set_voltage_rule")); in TEST()
408 EXPECT_NO_THROW(idMap.getRule("set_voltage_rule")); in TEST()
409 EXPECT_NO_THROW(idMap.getRule("read_sensors_rule")); in TEST()
410 EXPECT_THROW(idMap.getRule("set_voltage_rule2"), std::invalid_argument); in TEST()
/openbmc/phosphor-power/phosphor-regulators/src/actions/
H A Daction_environment.hpp169 Rule& getRule(const std::string& id) const in getRule() function in phosphor::power::regulators::ActionEnvironment
171 return idMap.getRule(id); in getRule()
H A Drun_rule_action.hpp72 bool returnValue = environment.getRule(ruleID).execute(environment); in execute()
/openbmc/phosphor-power/phosphor-regulators/src/
H A Did_map.hpp120 Rule& getRule(const std::string& id) const in getRule() function in phosphor::power::regulators::IDMap
/openbmc/phosphor-power/phosphor-regulators/test/actions/
H A Daction_environment_tests.cpp231 Rule& rule = env.getRule("set_voltage_rule"); in TEST()
243 env.getRule("set_voltage_rule2"); in TEST()