mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Fix
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@380 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
a7c62e523a
commit
f2fe1ad574
3 changed files with 21 additions and 4 deletions
|
|
@ -421,3 +421,20 @@ BOOST_AUTO_TEST_CASE( boost_reference_wrapper_is_supported_in_value_constraint )
|
|||
s = "string";
|
||||
f( "string" );
|
||||
}
|
||||
|
||||
namespace
|
||||
{
|
||||
template< typename T >
|
||||
void nothing( T )
|
||||
{}
|
||||
|
||||
struct member_pointer_mock_class
|
||||
{
|
||||
MOCK_CONST_METHOD_EXT( my_method, 0, void(), my_method )
|
||||
};
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE( member_pointer_on_mock_method_is_valid )
|
||||
{
|
||||
nothing( &member_pointer_mock_class::my_method );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue