Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow specification of overloaded class methods in test doubles #17

Open
msabbott opened this issue May 21, 2015 · 0 comments
Open

Allow specification of overloaded class methods in test doubles #17

msabbott opened this issue May 21, 2015 · 0 comments
Assignees

Comments

@msabbott
Copy link
Owner

When creating a test double (either a Stub or a Mock,) you are not able to specify the return value, output parameter values, or the expectations on a class method that has overloaded parameters.

Although the existing implementation of OEMock will function if the values are set on the objects, there is no way to specify which overloaded method they should be attached to. Instead, they are simply added to the first method found with that name.

A sensible naming system should be defined which allows these methods to be identified.

@msabbott msabbott self-assigned this Jun 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant