Home
last modified time | relevance | path

Searched refs:ifAction (Results 1 – 2 of 2) sorted by relevance

/openbmc/phosphor-power/phosphor-regulators/test/actions/
H A Dif_action_tests.cpp48 IfAction ifAction{std::move(conditionAction), std::move(thenActions)}; in TEST() local
49 EXPECT_NE(ifAction.getConditionAction().get(), nullptr); in TEST()
50 EXPECT_EQ(ifAction.getThenActions().size(), 2); in TEST()
51 EXPECT_EQ(ifAction.getElseActions().size(), 0); in TEST()
66 IfAction ifAction{std::move(conditionAction), std::move(thenActions), in TEST() local
68 EXPECT_NE(ifAction.getConditionAction().get(), nullptr); in TEST()
69 EXPECT_EQ(ifAction.getThenActions().size(), 2); in TEST()
70 EXPECT_EQ(ifAction.getElseActions().size(), 1); in TEST()
105 IfAction ifAction{std::move(conditionAction), std::move(thenActions)}; in TEST() local
106 ifAction.execute(env); in TEST()
[all …]
/openbmc/phosphor-power/phosphor-regulators/test/
H A Dphase_fault_detection_tests.cpp385 auto ifAction = std::make_unique<IfAction>(std::move(conditionAction), in TEST_F() local
390 actions.push_back(std::move(ifAction)); in TEST_F()
440 auto ifAction = std::make_unique<IfAction>(std::move(conditionAction), in TEST_F() local
445 actions.push_back(std::move(ifAction)); in TEST_F()