You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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-binsem.h, function OS_BinSemCreate():
ONLY IN TEST: OS_ERROR
OK: OS_ERR_NAME_TAKEN
OK: OS_ERR_NAME_TOO_LONG
OK: OS_ERR_NO_FREE_IDS
OK: OS_INVALID_POINTER
ONLY IN DOXY: OS_SEM_FAILURE
OK: OS_SUCCESS
File src/os/inc/osapi-binsem.h, function OS_BinSemFlush():
OK: OS_ERR_INVALID_ID
ONLY IN DOXY: OS_SEM_FAILURE
OK: OS_SUCCESS
File src/os/inc/osapi-binsem.h, function OS_BinSemGive():
OK: OS_ERR_INVALID_ID
ONLY IN DOXY: OS_SEM_FAILURE
OK: OS_SUCCESS
File src/os/inc/osapi-binsem.h, function OS_BinSemTake():
OK: OS_ERR_INVALID_ID
ONLY IN DOXY: OS_SEM_FAILURE
OK: OS_SUCCESS
File src/os/inc/osapi-binsem.h, function OS_BinSemTimedWait():
OK: OS_ERR_INVALID_ID
ONLY IN DOXY: OS_SEM_FAILURE
OK: OS_SEM_TIMEOUT
OK: OS_SUCCESS
File src/os/inc/osapi-binsem.h, function OS_BinSemDelete():
OK: OS_ERR_INVALID_ID
ONLY IN DOXY: OS_SEM_FAILURE
OK: OS_SUCCESS
File src/os/inc/osapi-binsem.h, function OS_BinSemGetIdByName():
OK: OS_ERR_NAME_NOT_FOUND
OK: OS_ERR_NAME_TOO_LONG
OK: OS_INVALID_POINTER
OK: OS_SUCCESS
File src/os/inc/osapi-binsem.h, function OS_BinSemGetInfo():
OK: OS_ERR_INVALID_ID
OK: OS_INVALID_POINTER
OK: OS_SUCCESS
Additional context
Originally noted in #331, split into separate work items.
Requester Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered:
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-binsem.h
, functionOS_BinSemCreate()
:File
src/os/inc/osapi-binsem.h
, functionOS_BinSemFlush()
:File
src/os/inc/osapi-binsem.h
, functionOS_BinSemGive()
:File
src/os/inc/osapi-binsem.h
, functionOS_BinSemTake()
:File
src/os/inc/osapi-binsem.h
, functionOS_BinSemTimedWait()
:File
src/os/inc/osapi-binsem.h
, functionOS_BinSemDelete()
:File
src/os/inc/osapi-binsem.h
, functionOS_BinSemGetIdByName()
:File
src/os/inc/osapi-binsem.h
, functionOS_BinSemGetInfo()
:Additional context
Originally noted in #331, split into separate work items.
Requester Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered: