sinojelly / mockcpp

Two C/C++ testing tools, mockcpp and testngpp.
Apache License 2.0
66 stars 39 forks source link

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

Open xdwang-walson opened 8 months ago

xdwang-walson commented 8 months ago

image image

pottik commented 5 months ago

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?