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

Stray UT_Stub_SetReturnValue prototype #1109

Open
skliper opened this issue Jul 16, 2021 · 0 comments · May be fixed by #1364
Open

Stray UT_Stub_SetReturnValue prototype #1109

skliper opened this issue Jul 16, 2021 · 0 comments · May be fixed by #1364
Labels
unit-test Tickets related to the OSAL unit testing (functional and/or coverage)

Comments

@skliper
Copy link
Contributor

skliper commented Jul 16, 2021

Is your feature request related to a problem? Please describe.
Prototype with no implementation here:

void UT_Stub_SetReturnValue(UT_EntryKey_t FuncKey, const void *BufferPtr, size_t BufferSize);

Macro here:

/**
* Macro to simplify use of the UT_Stub_CopyToReturnValue() in a hook/handler context.
* This returns the value stored in the specified variable
*
* \param FuncKey The stub function identifier
* \param ReturnValue The value to return
*/
#define UT_Stub_SetReturnValue(FuncKey, ReturnValue) \
UT_Stub_CopyToReturnValue(FuncKey, &ReturnValue, sizeof(ReturnValue))

Describe the solution you'd like
Remove stray.

Describe alternatives you've considered
None

Additional context
None

Requester Info
Jacob Hageman - NASA/GSFC

@skliper skliper added the unit-test Tickets related to the OSAL unit testing (functional and/or coverage) label Jul 16, 2021
jphickey pushed a commit to jphickey/osal that referenced this issue Aug 10, 2022
cFE Integration candidate: 2021-01-19
thnkslprpt added a commit to thnkslprpt/osal that referenced this issue Feb 4, 2023
@thnkslprpt thnkslprpt linked a pull request Feb 4, 2023 that will close this issue
2 tasks
thnkslprpt added a commit to thnkslprpt/osal that referenced this issue Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
unit-test Tickets related to the OSAL unit testing (functional and/or coverage)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant