mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@135 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
dad638f4ab
commit
3109a228f0
5 changed files with 76 additions and 80 deletions
|
|
@ -66,9 +66,6 @@ BOOST_AUTO_TEST_CASE( basic_mock_object_usage )
|
|||
BOOST_CHECK_EQUAL( 0, m.my_method( 13 ) );
|
||||
mock::verify();
|
||||
mock::reset();
|
||||
// MOCK_EXPECT( m, my_method ).once().with( &f ).returns( 7 );
|
||||
// MOCK_EXPECT( m, my_method ).once().with( mock::equal( "" ) ).returns( 7 );
|
||||
// MOCK_EXPECT( m, my_method ).once().with( "" ).returns( 7 );
|
||||
MOCK_EXPECT( m, my_method ).once().with( 42 ).returns( 7 );
|
||||
BOOST_CHECK_EQUAL( 7, m.my_method( 42 ) );
|
||||
mock::verify();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue