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

Scrub all OSAL UT stub functions #526

Closed
jphickey opened this issue Jun 26, 2020 · 1 comment · Fixed by #527 or #529
Closed

Scrub all OSAL UT stub functions #526

jphickey opened this issue Jun 26, 2020 · 1 comment · Fixed by #527 or #529
Assignees
Milestone

Comments

@jphickey
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Need to scrub all OSAL unit test stub routines, similar to nasa/cFE#762 but for OSAL.

Describe the solution you'd like

  • All functions prototyped in the OSAL public API headers (the src/os/inc dir) should also have a stub defined.
  • All arguments should be registered in the context so the complete context is available within UT hook functions.
  • The argument names should always match the prototype.

Requester Info
Joseph Hickey, Vantage Systems, Inc.

@jphickey jphickey self-assigned this Jun 26, 2020
@jphickey
Copy link
Contributor Author

OSAL stubs look fairly complete (the only functions missing from stubs are deprecated) but they do need to have their parameters added.

jphickey added a commit to jphickey/osal that referenced this issue Jun 26, 2020
Ensure that:

1. All stub routines register their arguments in the context, so that
   the values will be available to hook functions.
2. Ensure that the argument names used in stubs match the name in the
   prototype/documentation so the value can be retrieved by name.
astrogeco added a commit that referenced this issue Jul 2, 2020
@astrogeco astrogeco added this to the v5.1.0 milestone Sep 21, 2020
jphickey pushed a commit to jphickey/osal that referenced this issue Aug 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants