Skip to content

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

Merged
astrogeco merged 2 commits into
nasa:integration-candidatefrom
jphickey:fix-66-event-hook-context
Jun 2, 2020
Merged

Fix #66, Add extended context information to event hook#67
astrogeco merged 2 commits into
nasa:integration-candidatefrom
jphickey:fix-66-event-hook-context

Conversation

@jphickey

Copy link
Copy Markdown
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.

astrogecoand 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.
@jphickeyjphickey added the CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) label May 21, 2020
@skliperskliper added the enhancement New feature or request label May 21, 2020
@skliperskliper added this to the 1.2.0 milestone May 21, 2020
@astrogecoastrogeco 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-candidateJune 2, 2020 17:49
@astrogeco

Copy link
Copy Markdown
Contributor

CCB 2020-05-27 APPROVED

@astrogecoastrogeco added the CCB:Approved Indicates code approval by CCB label Jun 2, 2020
@astrogeco
astrogeco merged commit 7865c79 into nasa:integration-candidateJun 2, 2020
@jphickey
jphickey deleted the fix-66-event-hook-context branch March 29, 2021 19:20
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CCB:ApprovedIndicates code approval by CCBenhancementNew 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

@jphickey@astrogeco@skliper