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

Capturing arguments not working for overloaded methods. #1746

Open
masteryo0da opened this issue Jul 26, 2019 · 1 comment
Open

Capturing arguments not working for overloaded methods. #1746

masteryo0da opened this issue Jul 26, 2019 · 1 comment

Comments

@masteryo0da
Copy link

I have a use case where I have two methods with same name but different arguments type:
example:
void foo(SomeClass a)
void foo(SomeOtherClass b)

I want to capture the arguments passed to these methods while testing but it is unable to resolve it.

I went through stackoverflow and other sites but did not find any option. If this functionality is not present I can work towards it(After analysis whether it's possible or not)

@kartlaks
Copy link

I am not a contributor but I can take a look at your test and see if I can help, could you paste the the code block in question?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants