@@ -379,7 +379,7 @@ void Test_SAMPLE_APP_ProcessGroundCommand(void)
379379 * avoid dereferencing a table which does not exist. */
380380 FcnCode = SAMPLE_APP_PROCESS_CC ;
381381 Size = sizeof (TestMsg .Process );
382- UT_SetForceFail (UT_KEY (CFE_TBL_GetAddress ), CFE_TBL_ERR_UNREGISTERED );
382+ UT_SetDefaultReturnValue (UT_KEY (CFE_TBL_GetAddress ), CFE_TBL_ERR_UNREGISTERED );
383383 UT_SetDataBuffer (UT_KEY (CFE_MSG_GetFcnCode ), & FcnCode , sizeof (FcnCode ), false);
384384 UT_SetDataBuffer (UT_KEY (CFE_MSG_GetSize ), & Size , sizeof (Size ), false);
385385
@@ -513,7 +513,7 @@ void Test_SAMPLE_APP_ProcessCC(void)
513513 * Configure the CFE_TBL_GetAddress function to return an error
514514 * Exercise the error return path
515515 */
516- UT_SetForceFail (UT_KEY (CFE_TBL_GetAddress ), CFE_TBL_ERR_UNREGISTERED );
516+ UT_SetDefaultReturnValue (UT_KEY (CFE_TBL_GetAddress ), CFE_TBL_ERR_UNREGISTERED );
517517 UT_TEST_FUNCTION_RC (SAMPLE_APP_Process (& TestMsg ), CFE_TBL_ERR_UNREGISTERED );
518518}
519519
@@ -592,7 +592,7 @@ void Test_SAMPLE_APP_GetCrc(void)
592592 * the message using a hook function, if desired.
593593 */
594594
595- UT_SetForceFail (UT_KEY (CFE_TBL_GetInfo ), CFE_TBL_ERR_INVALID_NAME );
595+ UT_SetDefaultReturnValue (UT_KEY (CFE_TBL_GetInfo ), CFE_TBL_ERR_INVALID_NAME );
596596 SAMPLE_APP_GetCrc ("UT" );
597597 UtAssert_True (UT_GetStubCount (UT_KEY (CFE_ES_WriteToSysLog )) == 1 , "CFE_ES_WriteToSysLog() called" );
598598
0 commit comments