mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
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:
parent
db36244dfc
commit
b2103f6947
1 changed files with 3 additions and 3 deletions
|
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue