git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@421 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2012-03-07 22:24:41 +00:00
parent 076ca8e084
commit 395bdecc2d

View file

@ -311,11 +311,11 @@ namespace
{ {
MOCK_CLASS( static_function_class ) MOCK_CLASS( static_function_class )
{ {
MOCK_STATIC_FUNCTION( mock_static_function, 1, float( int ), mock_static_function ) MOCK_STATIC_FUNCTION( f, 1, float( int ), f )
}; };
} }
BOOST_AUTO_TEST_CASE( mock_static_function_is_named ) BOOST_AUTO_TEST_CASE( mock_static_function_is_named )
{ {
BOOST_CHECK_EQUAL( "static_function_class::mock_static_function", to_string( MOCK_MOCKER( static_function_class::mock_static_function ) ) ); BOOST_CHECK_EQUAL( "static_function_class::f", to_string( MOCK_MOCKER( static_function_class::f ) ) );
} }