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 #1023, resolve discrepancies between timer API and unit tests #1053

Merged

Conversation

jphickey
Copy link
Contributor

Describe the contribution
Ensures correlation between the test cases and documented return values for the OSAL timer API.

Fixes #1023

Testing performed
Build and run unit tests, re-run cross reference script to confirm

Expected behavior changes
All documented return values are tested or noted that they cannot be tested in functional test

System(s) tested on
Ubuntu

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

src/os/inc/osapi-timer.h Outdated Show resolved Hide resolved
@jphickey jphickey added the CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) label May 26, 2021
@astrogeco astrogeco added the CCB:Approved Indicates code review and approval by community CCB label May 26, 2021
@jphickey jphickey force-pushed the fix-1023-timer-api-retcodes branch from e3220b0 to 613c801 Compare May 26, 2021 17:52
Ensures correlation between the test cases and documented return
values for the OSAL timer API.
@jphickey jphickey force-pushed the fix-1023-timer-api-retcodes branch from 613c801 to 1e0025b Compare May 26, 2021 18:29
@jphickey
Copy link
Contributor Author

Re-Pushed to correct commit message typo and squash commits where necessary.

This also includes the change requested to reference the function pointer doc, rather than repeating the prototype.

@jphickey jphickey changed the title Fix #1023, resolve descrepancies between timer API and unit tests Fix #1023, resolve discrepancies between timer API and unit tests May 27, 2021
@astrogeco astrogeco added IC:2021-06-01 and removed CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) labels May 27, 2021
@astrogeco astrogeco changed the base branch from main to integration-candidate June 1, 2021 14:17
@astrogeco astrogeco merged commit b041927 into nasa:integration-candidate Jun 1, 2021
@jphickey jphickey deleted the fix-1023-timer-api-retcodes branch June 8, 2021 18:22
@skliper skliper added this to the 6.0.0 milestone Sep 24, 2021
jphickey pushed a commit to jphickey/osal that referenced this pull request Aug 10, 2022
…ceFail

Fix nasa#1052, Refactor UT_ClearForceFail to UT_ClearDefaultReturnValue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CCB:Approved Indicates code review and approval by community CCB
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unit test status code discrepancies in osapi-timer.h
3 participants