CFE_SB_IsValidMsgId
handler default behavior fails if return not set
#2040
Labels
Milestone
CFE_SB_IsValidMsgId
handler default behavior fails if return not set
#2040
Is your feature request related to a problem? Please describe.
Any UT not setting the return for
CFE_SB_IsValidMsgId
will see the call fail in the unit under test:cFE/modules/core_api/ut-stubs/src/cfe_sb_handlers.c
Lines 399 to 409 in 07fb348
Describe the solution you'd like
<ore helpful to test against CFE_SB_INVALID_MSG_ID if the return isn't set.
Describe alternatives you've considered
None
Additional context
Just test against invalid, since max is configurable and UT's shouldn't rely on it.
Requester Info
Jacob Hageman - NASA/GSFC
The text was updated successfully, but these errors were encountered: