mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Fixed parameter forwarding bug in mock functions
This commit is contained in:
parent
d162eeb8fb
commit
cd5f911f6d
3 changed files with 25 additions and 12 deletions
|
|
@ -769,4 +769,11 @@ BOOST_FIXTURE_TEST_CASE( std_unique_ptr_argument_is_supported_in_retrieve_constr
|
|||
}
|
||||
}
|
||||
|
||||
struct my_unique_ptr_class
|
||||
{
|
||||
MOCK_CONSTRUCTOR( my_unique_ptr_class, 1, ( std::unique_ptr< int > ), constructor )
|
||||
MOCK_METHOD_EXT( m, 1, void( std::unique_ptr< int > ), m )
|
||||
MOCK_STATIC_METHOD( ms, 1, void( std::unique_ptr< int > ), ms )
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue