Fix #704, Added stub for CFE_SB_DeletePipe in ut_sb_stubs.c#714
Fix #704, Added stub for CFE_SB_DeletePipe in ut_sb_stubs.c#714astrogeco merged 2 commits intonasa:integration-candidatefrom
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.
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.
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