Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions unit-test/cs_cmds_tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,6 @@ uint8 call_count_CFE_EVS_SendEvent;
* Function Definitions
*/

CFE_Status_t CS_CMDS_TEST_CFE_ES_CreateChildTaskHook(uint32 *TaskIdPtr,
const char *TaskName,
CFE_ES_ChildTaskMainFuncPtr_t FunctionPtr,
uint32 *StackPtr,
uint32 StackSize,
uint32 Priority,
uint32 Flags)
{
*TaskIdPtr = 5;

return CFE_SUCCESS;
}

void CS_SendHkCmd_Test_Nominal(void)
{
CS_SendHkCmd_t CmdPacket;
Expand Down
12 changes: 0 additions & 12 deletions unit-test/cs_compute_tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,6 @@ CFE_Status_t CS_COMPUTE_TEST_CFE_TBL_GetAddressHook(void *User
return CFE_TBL_ERR_UNREGISTERED;
}

CFE_Status_t CS_COMPUTE_TEST_CFE_TBL_GetInfoHook1(void *UserObj,
int32 StubRetcode,
uint32 CallCount,
const UT_StubContext_t *Context)
{
CFE_TBL_Info_t *TblInfoPtr = (CFE_TBL_Info_t *)Context->ArgPtr[0];

TblInfoPtr->Size = 5;

return CFE_TBL_INFO_UPDATED;
}

void CS_COMPUTE_TEST_CFE_TBL_ShareHandler(void *UserObj, UT_EntryKey_t FuncKey, const UT_StubContext_t *Context)
{
CFE_TBL_Handle_t *TblHandlePtr =
Expand Down
25 changes: 0 additions & 25 deletions unit-test/cs_table_processing_tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,31 +43,6 @@ uint8 call_count_CFE_EVS_SendEvent;
* Function Definitions
*/

void CS_TABLE_PROCESSING_TEST_CFE_ES_GetAppNameHandler1(void *UserObj,
UT_EntryKey_t FuncKey,
const UT_StubContext_t *Context)
{
char *AppName = (char *)UT_Hook_GetArgValueByName(Context, "AppName", char *);

strncpy((char *)AppName, "CS", 3);
}

CFE_Status_t CS_TABLE_PROCESSING_TEST_CFE_TBL_GetAddressHook(void *UserObj,
int32 StubRetcode,
uint32 CallCount,
const UT_StubContext_t *Context)
{
return CFE_SUCCESS;
}

CFE_Status_t CS_TABLE_PROCESSING_TEST_CFE_TBL_LoadHook(void *UserObj,
int32 StubRetcode,
uint32 CallCount,
const UT_StubContext_t *Context)
{
return CFE_SUCCESS;
}

void Test_CS_ValidateEepromChecksumDefinitionTable(void)
{
/* Test case for:
Expand Down
Loading