mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@524 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
04a4c4496d
commit
ef3aea5715
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ BOOST_AUTO_TEST_CASE( call_mock_method_with_max_number_of_args )
|
||||||
m.method( BOOST_PP_ENUM(MOCK_MAX_ARGS, IDENTITY, 0) );
|
m.method( BOOST_PP_ENUM(MOCK_MAX_ARGS, IDENTITY, 0) );
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOST_AUTO_TEST_CASE( call_mock_method_with_max_number_of_args_and_returning_something )
|
BOOST_AUTO_TEST_CASE( call_mock_method_with_max_number_of_args_and_a_return_value )
|
||||||
{
|
{
|
||||||
my_custom_mock m;
|
my_custom_mock m;
|
||||||
MOCK_EXPECT( m.method2 ).once().with( BOOST_PP_ENUM(MOCK_MAX_ARGS, IDENTITY, 0) ).returns( 42 );
|
MOCK_EXPECT( m.method2 ).once().with( BOOST_PP_ENUM(MOCK_MAX_ARGS, IDENTITY, 0) ).returns( 42 );
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue