-
Notifications
You must be signed in to change notification settings - Fork 215
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
Ensure all unit test cases for invalid ID use UNDEFINED plus another value #1052
Comments
This was referenced May 25, 2021
I have created a script which examines the test logs and identifies both overloaded and missing validations in this regard. Rather than submit individual tickets for each subsystem, I will just update this issue with a list of findings for each. |
For BinSem:
|
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 3, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 3, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 3, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 3, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 3, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 3, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 4, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 4, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 4, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 4, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 4, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 4, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 4, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 4, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 4, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 4, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 4, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 8, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 8, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 8, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 8, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 8, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 8, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 8, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 8, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 8, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 17, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 17, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 17, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 17, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 17, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 17, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 17, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 17, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 17, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 17, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 17, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 17, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 17, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 17, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 17, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 17, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 17, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 17, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 17, 2021
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 17, 2021
astrogeco
added a commit
that referenced
this issue
Jun 20, 2021
Fix #1052, implement missing parameter/retcode test permutations
jphickey
pushed a commit
to jphickey/osal
that referenced
this issue
Aug 10, 2022
jphickey
pushed a commit
to jphickey/osal
that referenced
this issue
Aug 10, 2022
…ceFail Fix nasa#1052, Refactor UT_ClearForceFail to UT_ClearDefaultReturnValue
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.
When checking for proper ID validation, the specific value
OS_OBJECT_ID_UNDEFINED
must be rejected as it is always invalid. However, the set of values that should be rejected is much larger than this - proper ID validation should only permit a small subset of values to be accepted.Describe the solution you'd like
In order to confirm that ID values are being validated properly, test cases checking for
OS_ERR_INVALID_ID
should pass inOS_OBJECT_ID_UNDEFINED
as well as some other value, which should be nonzero, but also not in the valid range - to confirm that the implementation is doing the proper validation and not simply checking for equality withOS_OBJECT_ID_UNDEFINED
.Additional context
This came up as part of return/status code validation efforts - test cases are currently inconsistent, some tests are only using
OS_OBJECT_ID_UNDEFINED
, while some only useUT_OBJID_INCORRECT
.Requester Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered: