Skip to content

Commit

Permalink
Fix nasa#45, resolves parameter type mismatches in unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ejtimmon committed May 12, 2020
1 parent 0c92a1f commit 15f797c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions unit-test/coveragetest/coveragetest_sample_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ void Test_SAMPLE_NoopCmd_LengthFailure(void)
sizeof(SAMPLE_Noop_t) + 2);
UT_CheckEvent_Setup(&EventTest, SAMPLE_COMMANDNOP_INF_EID);

SAMPLE_ProcessGroundCommand(&TestMsg);
SAMPLE_ProcessGroundCommand((CFE_SB_MsgPtr_t)&TestMsg);

/*
* Confirm that the event was not generated
Expand Down Expand Up @@ -518,7 +518,7 @@ void Test_SAMPLE_ResetCounters_LengthFailure(void)
UT_SetDeferredRetcode(UT_KEY(CFE_SB_GetTotalMsgLength), 1,
sizeof(SAMPLE_ResetCounters_t) + 2);

SAMPLE_ProcessGroundCommand(&TestMsg);
SAMPLE_ProcessGroundCommand((CFE_SB_MsgPtr_t)&TestMsg);

UtAssert_True(EventTest.MatchCount == 0,
"SAMPLE_COMMANDRST_INF_EID not generated (%u)",
Expand Down Expand Up @@ -600,7 +600,7 @@ void Test_SAMPLE_ProcessCC_LengthFailure(void)
UT_CheckEvent_Setup(&EventTest, SAMPLE_APP_TBL_INF_EID);


SAMPLE_ProcessGroundCommand(&TestMsg);
SAMPLE_ProcessGroundCommand((CFE_SB_MsgPtr_t)&TestMsg);

/*
* Confirm that the Info event was not sent.
Expand Down

0 comments on commit 15f797c

Please sign in to comment.