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

Missing test for one branch in SAMPLE_APP_Process() #199

Closed
thnkslprpt opened this issue Mar 7, 2023 · 0 comments · Fixed by #200
Closed

Missing test for one branch in SAMPLE_APP_Process() #199

thnkslprpt opened this issue Mar 7, 2023 · 0 comments · Fixed by #200

Comments

@thnkslprpt
Copy link
Contributor

Describe the bug
The tests for SAMPLE_APP_Process() are missing one of the branches - specifically, the branch where the call to CFE_TBL_ReleaseAddress() fails.

Code snips
Screenshot 2023-03-07 18 01 33

Expected behavior
Tests should cover this branch - easy fix to add failing path.

Reporter Info
Avi Weiss @thnkslprpt

thnkslprpt added a commit to thnkslprpt/sample_app that referenced this issue Mar 7, 2023
dzbaker added a commit that referenced this issue Oct 30, 2023
…branch-in-SAMPLE_APP_Process

Fix #199, Add test for missing branch in SAMPLE_APP_Process()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant