-
Notifications
You must be signed in to change notification settings - Fork 25
Closed
Description
Is your feature request related to a problem? Please describe.
In the process of providing useful examples for unit testing, the sample lib should contain
at least one "if" statement to demonstrate how the alternate paths can be exercised in UT.
Describe the solution you'd like
Add a call to a simple C library function during SAMPLE_LibInit, and have an alternate return code (not CFE_SUCCESS) as based off the result. Unit test can then force the alternate path to execute.
Describe alternatives you've considered
N/A
Additional context
This will add considerable value to the UT examples
Requester Info
Joseph Hickey, Vantage Systems, Inc.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request