mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Added MOCK_FUNCTOR_TPL
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@608 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
3f9e9a78a7
commit
200e293b7f
4 changed files with 42 additions and 5 deletions
|
|
@ -280,6 +280,15 @@ BOOST_AUTO_TEST_CASE( mock_functor )
|
|||
MOCK_FUNCTOR( f2, int( const std::string& ) );
|
||||
}
|
||||
|
||||
namespace
|
||||
{
|
||||
template< typename T >
|
||||
struct tpl_functor_class
|
||||
{
|
||||
MOCK_FUNCTOR_TPL( f, void( T ) );
|
||||
};
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE( mock_functor_reset )
|
||||
{
|
||||
MOCK_FUNCTOR( f, void() );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue