Skip to content

Commit

Permalink
RmDom: inc cov of recycleEv()
Browse files Browse the repository at this point in the history
  • Loading branch information
fchn289 committed Nov 20, 2023
1 parent 5775759 commit 6cbc3da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ut/domino/RmEvDomTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ TYPED_TEST_P(RmDomTest, GOLD_rm_dom_resrc)
{
EXPECT_FALSE(PARA_DOM->rmEvOK(Domino::D_EVENT_FAILED_RET)) << "REQ: NOK to rm invalid Ev.";

PARA_DOM->setPrev("e2", {{"e1", true}, {"e1b", true}}); // create e2 before e1 to inc cov of recycleEv()
const auto e1 = PARA_DOM->setPrev("e1", {{"e0", false}});
PARA_DOM->setPrev("e2", {{"e1", true}, {"e1b", true}});
EXPECT_TRUE (PARA_DOM->state("e1"));
EXPECT_FALSE(PARA_DOM->isRemoved(e1)) << "REQ: new ev is not removed state.";

Expand Down

0 comments on commit 6cbc3da

Please sign in to comment.