From 38830527672fda45f0c7a944932b105342d1ba6f Mon Sep 17 00:00:00 2001 From: Alex Campbell Date: Mon, 4 Jan 2021 10:44:42 -0500 Subject: [PATCH] Fix #115, Refactor UT_ClearForceFail to UT_ClearDefaultReturnValue --- unit-test/coveragetest/coveragetest_sample_app.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unit-test/coveragetest/coveragetest_sample_app.c b/unit-test/coveragetest/coveragetest_sample_app.c index 3398a85..d367202 100644 --- a/unit-test/coveragetest/coveragetest_sample_app.c +++ b/unit-test/coveragetest/coveragetest_sample_app.c @@ -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"); }