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

with约束中 spy和check不能同时使用吗 #53

Open
xdwang-walson opened this issue Jan 15, 2024 · 1 comment
Open

with约束中 spy和check不能同时使用吗 #53

xdwang-walson opened this issue Jan 15, 2024 · 1 comment

Comments

@xdwang-walson
Copy link

image
image

@pottik
Copy link

pottik commented Apr 12, 2024

you can use .with(xx) only once, .with(xx) will return StubBuilder object that has no .with member function
and there is no check constraint in mockcpp, maybe you can use checkWith to define you own check logic?

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