-
Notifications
You must be signed in to change notification settings - Fork 253
Labels
unit-testTickets related to the OSAL unit testing (functional and/or coverage)Tickets related to the OSAL unit testing (functional and/or coverage)
Milestone
Description
Is your feature request related to a problem? Please describe.
The unit tests and API documentation should match, where all status codes in the API documentation are tested in a unit test, and likewise all codes being tested for are documented in the API.
Describe the solution you'd like
Resolve the following mismatches:
File src/os/inc/osapi-idmap.h, function OS_GetResourceName():
NO CURRENT TESTS - Test cases and retvals likely need to be added
File src/os/inc/osapi-idmap.h, function OS_ConvertToArrayIndex():
- ONLY IN DOXY: OS_ERR_INCORRECT_OBJ_TYPE
- ONLY IN DOXY: OS_SUCCESS
File src/os/inc/osapi-idmap.h, function OS_ObjectIdToArrayIndex():
- ONLY IN DOXY: OS_ERR_INCORRECT_OBJ_TYPE
- ONLY IN DOXY: OS_ERR_INVALID_ID
- ONLY IN DOXY: OS_INVALID_POINTER
- ONLY IN DOXY: OS_SUCCESS
Additional context
Originally noted in #331, split into separate work items.
Requester Info
Joseph Hickey, Vantage Systems, Inc.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
unit-testTickets related to the OSAL unit testing (functional and/or coverage)Tickets related to the OSAL unit testing (functional and/or coverage)