Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add functional tests for cFE Message header APIs #1677

Closed
zanzaben opened this issue Jul 20, 2021 · 1 comment · Fixed by #1745 or #1808
Closed

Add functional tests for cFE Message header APIs #1677

zanzaben opened this issue Jul 20, 2021 · 1 comment · Fixed by #1745 or #1808
Labels
Milestone

Comments

@zanzaben
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Need open source functional tests for certifiability

Describe the solution you'd like
Add functional tests for cFE Message header APIs
CFE_MSG_Init - Initialize a message.
CFE_MSG_GetSize - Gets the total size of a message.
CFE_MSG_SetSize - Sets the total size of a message.
CFE_MSG_GetType - Gets the message type.
CFE_MSG_SetType - Sets the message type.
CFE_MSG_GetHeaderVersion - Gets the message header version.
CFE_MSG_SetHeaderVersion - Sets the message header version.
CFE_MSG_GetHasSecondaryHeader - Gets the message secondary header boolean.
CFE_MSG_SetHasSecondaryHeader - Sets the message secondary header boolean.
CFE_MSG_GetApId - Gets the message application ID.
CFE_MSG_SetApId - Sets the message application ID.
CFE_MSG_GetSegmentationFlag - Gets the message segmentation flag.
CFE_MSG_SetSegmentationFlag - Sets the message segmentation flag.
CFE_MSG_GetSequenceCount - Gets the message sequence count.
CFE_MSG_SetSequenceCount - Sets the message sequence count.
CFE_MSG_GetNextSequenceCount - Gets the next sequence count value (rolls over if appropriate)
CFE_MSG_GetEDSVersion - Gets the message EDS version.
CFE_MSG_SetEDSVersion - Sets the message EDS version.
CFE_MSG_GetEndian - Gets the message endian.
CFE_MSG_SetEndian - Sets the message endian.
CFE_MSG_GetPlaybackFlag - Gets the message playback flag.
CFE_MSG_SetPlaybackFlag - Sets the message playback flag.
CFE_MSG_GetSubsystem - Gets the message subsystem.
CFE_MSG_SetSubsystem - Sets the message subsystem.
CFE_MSG_GetSystem - Gets the message system.
CFE_MSG_SetSystem - Sets the message system.
CFE_MSG_GenerateChecksum - Calculates and sets the checksum of a message.
CFE_MSG_ValidateChecksum - Validates the checksum of a message.
CFE_MSG_SetFcnCode - Sets the function code field in a message.
CFE_MSG_GetFcnCode - Gets the function code field from a message.
CFE_MSG_GetMsgTime - Gets the time field from a message.
CFE_MSG_SetMsgTime - Sets the time field in a message.

Describe alternatives you've considered
N/A

Additional context
N/A

Requester Info
Alex Campbell GSFC

@zanzaben zanzaben added unit-test good first issue Good for newcomers labels Jul 20, 2021
@skliper skliper modified the milestone: 7.0.0 Jul 22, 2021
@skliper
Copy link
Contributor

skliper commented Jul 26, 2021

Note these APIs are fully exercised via the coverage tests (there's no lower level calls that require stubs), so this is not a priority for Caelum.

paulober pushed a commit to paulober/cFE that referenced this issue Jul 29, 2021
until CFE_MSG_GetHasSecondaryHeader's test
paulober pushed a commit to paulober/cFE that referenced this issue Jul 30, 2021
paulober pushed a commit to paulober/cFE that referenced this issue Jul 30, 2021
paulober pushed a commit to paulober/cFE that referenced this issue Aug 1, 2021
paulober pushed a commit to paulober/cFE that referenced this issue Aug 1, 2021
paulober pushed a commit to paulober/cFE that referenced this issue Aug 1, 2021
paulober pushed a commit to paulober/cFE that referenced this issue Aug 6, 2021
paulober pushed a commit to paulober/cFE that referenced this issue Aug 6, 2021
paulober pushed a commit to paulober/cFE that referenced this issue Aug 6, 2021
paulober pushed a commit to paulober/cFE that referenced this issue Aug 6, 2021
paulober pushed a commit to paulober/cFE that referenced this issue Aug 6, 2021
paulober pushed a commit to paulober/cFE that referenced this issue Aug 6, 2021
paulober pushed a commit to paulober/cFE that referenced this issue Aug 6, 2021
paulober pushed a commit to paulober/cFE that referenced this issue Aug 6, 2021
paulober pushed a commit to paulober/cFE that referenced this issue Aug 9, 2021
paulober pushed a commit to paulober/cFE that referenced this issue Aug 14, 2021
paulober pushed a commit to paulober/cFE that referenced this issue Aug 14, 2021
paulober pushed a commit to paulober/cFE that referenced this issue Aug 14, 2021
paulober pushed a commit to paulober/cFE that referenced this issue Aug 14, 2021
paulober pushed a commit to paulober/cFE that referenced this issue Aug 14, 2021
paulober pushed a commit to paulober/cFE that referenced this issue Aug 14, 2021
paulober pushed a commit to paulober/cFE that referenced this issue Aug 14, 2021
paulober pushed a commit to paulober/cFE that referenced this issue Aug 14, 2021
paulober pushed a commit to paulober/cFE that referenced this issue Aug 14, 2021
paulober pushed a commit to paulober/cFE that referenced this issue Aug 14, 2021
paulober pushed a commit to paulober/cFE that referenced this issue Aug 14, 2021
paulober pushed a commit to paulober/cFE that referenced this issue Aug 14, 2021
@skliper skliper added this to the 7.0.0 milestone Sep 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants