Open GoogleCodeExporter opened 9 years ago
I've updated the amop_test01.cpp to be more explicit on what's wrong from my
point of
view (attached).
When I run the test, I get this:
Running 1 test
In TestInternal::testAdd:
.../amop_test01.cpp:28: Error: Expected (mock.verify()) to throw
(amop::CallCountException) but it didn't throw
Failed 1 of 1 test
Unless I have understood the purpose of verify() wrong, it should have thrown
because
the mock.close() was called only once by internal.add(100), but the testAdd
expects 2
calls to be made to mock.close().
Original comment by ibo...@gmail.com
on 22 Nov 2008 at 9:28
Attachments:
Original issue reported on code.google.com by
ibo...@gmail.com
on 22 Nov 2008 at 6:19Attachments: