-
Notifications
You must be signed in to change notification settings - Fork 253
Labels
docsrefactorunit-testTickets related to the OSAL unit testing (functional and/or coverage)Tickets related to the OSAL unit testing (functional and/or coverage)
Milestone
Description
Describe the bug
UtMemSet is not found in ut-assert, but it suggested to be used in comments from utassert.h and uttools.h
To Reproduce
Lines 125 to 128 in b37da18
| /* Compares a region of memory to a static pattern and determines if they are equal. Note: Use UtMemSet to | |
| * fill a region of memory with a static pattern. */ | |
| #define UtAssert_MemCmpValue(Memory, Value, Length, ...) \ | |
| UtAssertEx((UtMemCmpValue(Memory, Value, Length)), UtAssert_GetContext(), __FILE__, __LINE__, __VA_ARGS__) |
Lines 61 to 63 in b37da18
| /* Compares a region of memory to a static pattern and determines if they are equal. Note: Use UtMemSet to | |
| * fill a region of memory with a static pattern. */ | |
| bool UtMemCmpValue(const void *Memory, uint8 Value, uint32 Length); |
Additional context
Other comments in the same files suggest to use methods that do exist, UtMemFill and UtMem2BinFile.
Reporter Info
Alan Gibson
NASA/GSFC 587
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
docsrefactorunit-testTickets related to the OSAL unit testing (functional and/or coverage)Tickets related to the OSAL unit testing (functional and/or coverage)