Skip to content

Commit

Permalink
Fix nasa#115, Refactor UT_ClearForceFail to UT_ClearDefaultReturnValue
Browse files Browse the repository at this point in the history
  • Loading branch information
zanzaben committed Jan 13, 2021
1 parent b798efc commit 3883052
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 3883052

Please sign in to comment.