[Mockpp-devel] Few questions
Brought to you by:
ewald-arnold
From: Philippe F. <ph...@fr...> - 2003-03-17 13:49:42
|
Hi, Something along the lines of mockpp has been long expected. I was thinking about writing something simpler. I have a few questions: From reading the documentation, I understand that you can check on one method if it is called the right number of times with the right arguments. Is it possible to combine this for multiple methods ? For example: class A { virtual void method1( int i ); virtual void method2( int j ); }; I want to check that my code calls a.method1( 1 ); a.method2( 3 ); and I want an error if it does: a.method2( 3 ); a.method1( 1 ); The arguments are correct, the number of call is correct but the methods have been called in reverse order. Is a more integration with CppUnit planned ? It would be quite convenient to have more integration. regards, Philippe |