
12 Jun
2009
12 Jun
'09
1:51 a.m.
On Thu, Jun 11, 2009 at 12:37:18PM +0200, Peter Bindels wrote:
The mocks I currently support are much more like the mocks in C# (using Rhino.Mocks) and Java (JMock) but well-adjusted to regular C++ use (in the same way that RhinoMocks uses C# reflection, I use C++ argument matching and templates to give as much information about errors and to allow the user to type (and maintain) as little as possible.
Since you mention C#: how does your library compare with Moq? Superficially your examples resemble it in that the interface to be mocked is a template argument to the mock class. Thanks, -Steve