Skip to content

Input parameter forwarding in CppUMock #781

@KisImre

Description

@KisImre

It's a nice thing to have the memoryBufferParameter in this form but I think it would have been way better to only implement the input parameter forwarding then use the MEMCMP from the test case. I still need the input parameter forwarding for the "write type" functions but now it would be a complete mess to add this feature next to the memoryBufferParameter.
There are cases when you need to get out some information from the code under test into the test case and use it. It's not enough to have the currently implemented memoryBufferParameter because sometimes you don't know the expected value of the parameter. For example if it's a pointer to a class' member variable.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions