mockcpp icon indicating copy to clipboard operation
mockcpp copied to clipboard

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

Open xdwang-walson opened this issue 1 year ago • 1 comments

image image

xdwang-walson avatar Jan 15 '24 09:01 xdwang-walson

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?

celeste3z avatar Apr 12 '24 09:04 celeste3z