-
Hi,
I've tried several different things to try to catch the mockpp::AssertionFailedError thrown by verify() in a rather simple test case I wrote. Really what I want to do is to be able to use verify() in a loop, in conjunction with CPPUNIT_ASSERT_NO_THROW_MESSAGE() to show which iteration failed (if any) during the call to verify().
Right now, I just see this:
1) test...
2009-11-03 00:31:35 UTC by bbartok
-
I have a patch for an msvc9 folder that builds mockpp under Visual Studio 2008. How can I contribute this?.
2009-07-19 20:45:01 UTC by legalize
-
By the way of course a valid workaround is :
mocker.mockpp::MockObject::reset();
It just would be more convenient not to have to fully qualify the method name. :)
MAT.
2008-11-27 10:30:01 UTC by mat007
-
Hello,
The following code :
mockpp::ChainableMockMethod< void > mocker( "", 0 );
mocker.reset();
Yiels the error :
error C2385: ambiguous access of 'reset'
could be the 'reset' in base 'mockpp::MockObject'
or could be the 'reset' in base 'mockpp::ChainingMockBuilder'
At least with vc80.
The attached patch...
2008-11-27 10:21:07 UTC by mat007
-
Hello,
The "Reporting bugs" link from the sidebar on the left of http://mockpp.sourceforge.net seems invalid :
Error
ArtifactType: Invalid ArtifactTypeID
Cheers !
MAT.
2008-11-27 10:14:47 UTC by mat007
-
Hello,
Here is a patch implementing the feature described in https://sourceforge.net/forum/message.php?msg_id=5583300
Note that I tried and follow the ReturnAndTriggerStub design and implementation. By the way shouldn't it be "trigger and return" instead of "return and trigger" ?
I intended to update the documentation as well namely http://mockpp.sourceforge.net/handbook/jmock-object.html...
2008-11-25 16:24:21 UTC by mat007
-
ewald-arnold committed revision 1469 to the Mock Objects for C++ SVN repository, changing 2 files.
2008-11-14 17:10:10 UTC by ewald-arnold
-
Hello,
"long long" and "unsigned long long" are already part of the formatters, maybe you missed them due to the conditional. "long double" has indeed been missing and I have added it.
greets.
2008-11-12 22:13:43 UTC by ewald-arnold
-
ewald-arnold committed revision 1468 to the Mock Objects for C++ SVN repository, changing 1 files.
2008-11-12 22:01:18 UTC by ewald-arnold
-
ewald-arnold committed revision 1467 to the Mock Objects for C++ SVN repository, changing 4 files.
2008-11-12 21:54:54 UTC by ewald-arnold