mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Refactored tests
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@307 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
8e3420f735
commit
ea501c3e00
3 changed files with 6 additions and 3 deletions
|
|
@ -25,8 +25,6 @@ namespace
|
|||
struct my_custom_mock
|
||||
{
|
||||
MOCK_METHOD_EXT( my_method, 0, void(), my_method )
|
||||
BOOST_STATIC_ASSERT( MOCK_MAX_ARGS == 9 );
|
||||
MOCK_METHOD_EXT( my_method_with_max_number_of_args, MOCK_MAX_ARGS, void( int, int, int, int, int, int, int, int, int ), my_method_with_max_number_of_args )
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
#include "silent_error.hpp"
|
||||
|
||||
#define MOCK_MAX_ARGS 20
|
||||
#define MOCK_ERROR_POLICY silent_error
|
||||
#include <turtle/mock.hpp>
|
||||
#include <boost/preprocessor/repetition/enum.hpp>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue