mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Fixed mock function documentation
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@714 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
c3c07b81a2
commit
f04be9827f
1 changed files with 2 additions and 5 deletions
|
|
@ -434,17 +434,14 @@ BOOST_AUTO_TEST_CASE( demonstrates_instantiating_a_mock_function )
|
|||
namespace function_example_2
|
||||
{
|
||||
//[ function_example_2
|
||||
MOCK_FUNCTION( __stdcall f, 0, void(), f ) // all parameters must be provided when specifying a different calling convention
|
||||
MOCK_FUNCTION( __stdcall f, 0, void(), f ) // all parameters must be provided when specifying a different calling convention
|
||||
//]
|
||||
}
|
||||
#elif defined( BOOST_GCC )
|
||||
namespace function_example_3
|
||||
{
|
||||
//[ function_example_3
|
||||
MOCK_CLASS( mock_class )
|
||||
{
|
||||
MOCK_FUNCTION( __attribute((stdcall)) f, 0, void() )
|
||||
};
|
||||
MOCK_FUNCTION( __attribute((stdcall)) f, 0, void(), f ) // all parameters must be provided when specifying a different calling convention
|
||||
//]
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue