mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@57 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
30480d031a
commit
a1ea17ff9f
5 changed files with 79 additions and 60 deletions
|
|
@ -199,3 +199,10 @@ BOOST_AUTO_TEST_CASE( mock_functor_is_named )
|
|||
MOCK_FUNCTOR( void() ) f;
|
||||
BOOST_CHECK_EQUAL( "f", to_string( MOCK_MOCKER( f, _ ) ) );
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE( mock_functor_with_tag_has_no_effect )
|
||||
{
|
||||
MOCK_FUNCTOR( int( float, const std::string& ) ) f;
|
||||
f.tag( "my functor" );
|
||||
BOOST_CHECK_EQUAL( "f", to_string( MOCK_MOCKER( f, _ ) ) );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue