-
Notifications
You must be signed in to change notification settings - Fork 253
Open
Labels
unit-testTickets related to the OSAL unit testing (functional and/or coverage)Tickets related to the OSAL unit testing (functional and/or coverage)
Description
Is your feature request related to a problem? Please describe.
Upgrade tests in time-base-api-test.c to use new macros in
https://github.com/nasa/osal/blob/master/src/unit-tests/inc/ut_os_support.h
Really in general could be used all over for consistency.
Note there's typos in the use of UTAssert_True, example:
osal/src/tests/file-sys-add-fixed-map-api-test/file-sys-add-fixed-map-api-test.c
Lines 53 to 55 in 706f0de
| expected = OS_FS_ERR_PATH_INVALID; | |
| actual = OS_TranslatePath("/test/myfile.txt", translated_path); | |
| UtAssert_True(actual == expected, "OS_TranslatePath() (%ld) == OS_SUCCESS", (long)actual); |
Additional context
See #481
Requester Info
Gerardo Cruz-Ortiz, NASA-GSFC
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)