Fixed examples

git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@756 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2014-07-03 05:08:43 +00:00
parent d5b216db8e
commit 239403acc5

View file

@ -533,7 +533,7 @@ BOOST_AUTO_TEST_CASE( demonstrates_setting_up_an_invocation_on_a_mock_functor )
namespace invocation_example_3
{
//[ invocation_example_3
MOCK_FUNCTION( f, 1, float( int ) )
MOCK_FUNCTION( f, 1, void( int ) )
BOOST_AUTO_TEST_CASE( demonstrates_setting_up_an_invocation_on_a_mock_function )
{
@ -547,7 +547,7 @@ namespace invocation_example_4
//[ invocation_example_4
MOCK_CLASS( mock_class )
{
MOCK_STATIC_METHOD( method, 1, float( int ) )
MOCK_STATIC_METHOD( method, 1, void( int ) )
};
BOOST_AUTO_TEST_CASE( demonstrates_setting_up_an_invocation_on_a_mock_static_method )