-
Notifications
You must be signed in to change notification settings - Fork 206
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 #704, Added stub for CFE_SB_DeletePipe in ut_sb_stubs.c #714
Conversation
My apologies, I forgot to test that CFE_SUCCESS was returned by the stub so I checked that too. |
fsw/cfe-core/ut-stubs/ut_sb_stubs.c
Outdated
** None | ||
** | ||
** \returns | ||
** Returns CFE_SUCCESS. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unless configured not to?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with that.
Is that what this means?
** \returns
** Returns either a user-defined status flag or CFE_SUCCESS.
Which is the only example I could see that would be comparable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that's a better description.
…flag as a possible return type.
Changed comment for return type on CFE_SB_DeletePipe. |
CCB 2020-05-27 APPROVED |
Describe the contribution
Fixes #704. Added stub for CFE_SB_DeletePipe.
Stub takes PipeId argument and using UT_Stub_CopyFromLocal, saves it into the data buffer.
Testing performed
Steps taken to test the contribution:
Execution steps:
Please note: this test was not saved to any repo.
Output:
[BEGIN] 04 Test_check_sb_stubs
[ FAIL] 04.001 cf_app_tests.c:77 - PipeId = 0x00000005, exp = 0x00000006
[ PASS] 04.002 cf_app_tests.c:83 - PipeId = 0x00000006, exp = 0x00000006
[ END] 04 Test_check_sb_stubs TOTAL::2 PASS::1 FAIL::1 MIR::0 TSF::0 N/A::0
Expected behavior changes
A clear and concise description of how this contribution will change behavior and level of impact.
System(s) tested on
Additional context
None.
Third party code
None.
Contributor Info - All information REQUIRED for consideration of pull request
Alan Gibson, NASA, GSFC-0587