Skip to content

Use UT_Assert Macros in tests/unit-test-coverage/unit-tests #484

@astrogeco

Description

@astrogeco

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:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    unit-testTickets related to the OSAL unit testing (functional and/or coverage)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions