Fixed constraint_functor_not_compatible

git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@386 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2011-10-10 21:16:56 +00:00
parent db36244dfc
commit b2103f6947

View file

@ -12,13 +12,13 @@ namespace
{
MOCK_CLASS( my_class )
{
MOCK_METHOD_EXT( my_method, 0, void( int ), my_method )
MOCK_METHOD_EXT( my_method, 1, void( int ), my_method )
};
bool functor( int, int );
bool constraint( int, int );
void test_case()
{
my_class c;
MOCK_EXPECT( c, my_method ).with( &functor );
MOCK_EXPECT( c, my_method ).with( &constraint );
}
}