Skip to content

Commit

Permalink
Merge pull request #116 from zanzaben/fix115_Rename_UT_ClearForceFail
Browse files Browse the repository at this point in the history
Fix #115, Refactor UT_ClearForceFail to UT_ClearDefaultReturnValue
  • Loading branch information
astrogeco authored Jan 22, 2021
2 parents 865723a + 3883052 commit d13bdb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unit-test/coveragetest/coveragetest_sample_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ void Test_SAMPLE_APP_GetCrc(void)
SAMPLE_APP_GetCrc("UT");
UtAssert_True(UT_GetStubCount(UT_KEY(CFE_ES_WriteToSysLog)) == 1, "CFE_ES_WriteToSysLog() called");

UT_ClearForceFail(UT_KEY(CFE_TBL_GetInfo));
UT_ClearDefaultReturnValue(UT_KEY(CFE_TBL_GetInfo));
SAMPLE_APP_GetCrc("UT");
UtAssert_True(UT_GetStubCount(UT_KEY(CFE_ES_WriteToSysLog)) == 2, "CFE_ES_WriteToSysLog() called");
}
Expand Down

0 comments on commit d13bdb9

Please sign in to comment.