Skip to content

Update UT stubs/support such that user registered hook/return value override/etc skips the rest of the default stub logic #832

@skliper

Description

@skliper

Is your feature request related to a problem? Please describe.
Some logic implemented in stubs after the hook call is dependent on a status of OS_SUCCESS or positive, which is overly restrictive for a stub user that wants full control stub behavior (ability to return a positive and explicitly control implementation)

Describe the solution you'd like
Provide a mechanism to skip stub logic if user has registered an "override" action.

Describe alternatives you've considered
None

Additional context
User requested

Requester Info
Jacob Hageman - NASA/GSFC

Ping @asgibson @jphickey

Metadata

Metadata

Assignees

Labels

unit-testTickets related to the OSAL unit testing (functional and/or coverage)

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions