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

Fix #66, Add extended context information to event hook #67

Merged

Conversation

jphickey
Copy link
Contributor

Describe the contribution
Add a string validation to the sample event hook as an example of how to use the context information supplied to the hook to perform this type of validation.

Fixes #66

Testing performed
Execute unit tests and confirm correct operation. all passing.

Expected behavior changes
Test cases now compare an expected event string with a string derived from the spec string and arguments that were output by the unit under test.

System(s) tested on
Ubuntu 20.04

Additional context
Depends on prerequisites/related tickets:

These are necessary to pass the full CFE_EVS_SendEvent context through to the hook function.

Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.

astrogeco and others added 2 commits May 13, 2020 11:11
Integration Candidate COMBINED 2020-04-29 and 2020-05-06
Add string validation to the sample event hook as an example
of how to use the context information supplied to the hook
to perform other validation.
@jphickey jphickey added the CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) label May 21, 2020
@skliper skliper added the enhancement New feature or request label May 21, 2020
@skliper skliper added this to the 1.2.0 milestone May 21, 2020
@astrogeco astrogeco added CCB-20200527 and removed CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) labels May 27, 2020
@astrogeco astrogeco changed the base branch from master to integration-candidate June 2, 2020 17:49
@astrogeco
Copy link
Contributor

CCB 2020-05-27 APPROVED

@astrogeco astrogeco added the CCB:Approved Indicates code approval by CCB label Jun 2, 2020
@astrogeco astrogeco merged commit 7865c79 into nasa:integration-candidate Jun 2, 2020
@jphickey jphickey deleted the fix-66-event-hook-context branch March 29, 2021 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CCB:Approved Indicates code approval by CCB enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide example of extended context arguments in unit test
3 participants