-
Notifications
You must be signed in to change notification settings - Fork 218
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
Unit test status code discrepancies in osapi-task.h #1021
Labels
unit-test
Tickets related to the OSAL unit testing (functional and/or coverage)
Milestone
Comments
skliper
added
the
unit-test
Tickets related to the OSAL unit testing (functional and/or coverage)
label
May 12, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
May 20, 2021
Ensures correlation between the unit-tests and documented return values for the OSAL task API.
jphickey
added a commit
to jphickey/osal
that referenced
this issue
May 20, 2021
Ensures correlation between the unit-tests and documented return values for the OSAL task API.
jphickey
added a commit
to jphickey/osal
that referenced
this issue
May 21, 2021
Ensures correlation between the unit-tests and documented return values for the OSAL task API.
jphickey
added a commit
to jphickey/osal
that referenced
this issue
May 26, 2021
Call OS_TaskCreate with a NULL stack pointer Confirm OS_TaskDeleteHandler function was invoked Confirm OS_TaskDelay interval
jphickey
added a commit
to jphickey/osal
that referenced
this issue
May 26, 2021
Call OS_TaskCreate with a NULL stack pointer Confirm OS_TaskDeleteHandler function was invoked Confirm OS_TaskDelay interval
jphickey
added a commit
to jphickey/osal
that referenced
this issue
May 26, 2021
Ensures correlation between the unit-tests and documented return values for the OSAL task API. Also adds the following test cases: - Call OS_TaskCreate with a NULL stack pointer - Confirm OS_TaskDeleteHandler function was invoked - Confirm OS_TaskDelay interval
astrogeco
added a commit
that referenced
this issue
Jun 2, 2021
Fix #1021, resolve discrepancies between task API and unit tests
pepepr08
pushed a commit
to pepepr08/osal
that referenced
this issue
Jun 9, 2021
Ensures correlation between the unit-tests and documented return values for the OSAL task API. Also adds the following test cases: - Call OS_TaskCreate with a NULL stack pointer - Confirm OS_TaskDeleteHandler function was invoked - Confirm OS_TaskDelay interval
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Aug 10, 2022
Using void* instead of uint32* here makes the interface easier to use and may avoid some nuisance alignment warnings.
jphickey
pushed a commit
to jphickey/osal
that referenced
this issue
Aug 10, 2022
Fix nasa#1021, pool buffer type
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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-task.h
, functionOS_TaskCreate()
:File
src/os/inc/osapi-task.h
, functionOS_TaskDelete()
:File
src/os/inc/osapi-task.h
, functionOS_TaskInstallDeleteHandler()
:File
src/os/inc/osapi-task.h
, functionOS_TaskDelay()
:File
src/os/inc/osapi-task.h
, functionOS_TaskSetPriority()
:File
src/os/inc/osapi-task.h
, functionOS_TaskGetIdByName()
:File
src/os/inc/osapi-task.h
, functionOS_TaskGetInfo()
:File
src/os/inc/osapi-task.h
, functionOS_TaskFindIdBySystemData()
: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: