Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Input parameter forwarding in CppUMock #781

Copy link
Copy link
Open
@KisImre

Description

@KisImre
Issue body actions

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.