Searched refs:getRule (Results 1 – 6 of 6) sorted by relevance
138 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()
78 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()
169 Rule& getRule(const std::string& id) const in getRule() function in phosphor::power::regulators::ActionEnvironment171 return idMap.getRule(id); in getRule()
72 bool returnValue = environment.getRule(ruleID).execute(environment); in execute()
120 Rule& getRule(const std::string& id) const in getRule() function in phosphor::power::regulators::IDMap
231 Rule& rule = env.getRule("set_voltage_rule"); in TEST()243 env.getRule("set_voltage_rule2"); in TEST()