mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
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:
parent
d5b216db8e
commit
239403acc5
1 changed files with 2 additions and 2 deletions
|
|
@ -533,7 +533,7 @@ BOOST_AUTO_TEST_CASE( demonstrates_setting_up_an_invocation_on_a_mock_functor )
|
||||||
namespace invocation_example_3
|
namespace invocation_example_3
|
||||||
{
|
{
|
||||||
//[ 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 )
|
BOOST_AUTO_TEST_CASE( demonstrates_setting_up_an_invocation_on_a_mock_function )
|
||||||
{
|
{
|
||||||
|
|
@ -547,7 +547,7 @@ namespace invocation_example_4
|
||||||
//[ invocation_example_4
|
//[ invocation_example_4
|
||||||
MOCK_CLASS( mock_class )
|
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 )
|
BOOST_AUTO_TEST_CASE( demonstrates_setting_up_an_invocation_on_a_mock_static_method )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue