Added variadic macro support for MOCK_BASE_CLASS and MOCK_FUNCTOR

git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@599 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2013-03-07 07:16:52 +00:00
parent a1436f26e6
commit 68ae1ada45
2 changed files with 19 additions and 2 deletions

View file

@ -315,6 +315,9 @@ namespace
MOCK_STATIC_METHOD( m9, 0, void(), m9 )
};
MOCK_BASE_CLASS( comma_base, std::map< int, int > )
{};
template< typename T >
MOCK_CLASS( variadic_tpl )
{
@ -330,6 +333,8 @@ namespace
MOCK_FUNCTION( fun1, 0, void() )
MOCK_FUNCTION( fun2, 0, void(), fun2 )
MOCK_FUNCTOR( f_variadic, std::map< int, int >() );
}
#endif //BOOST_NO_VARIADIC_MACROS