mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@675 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
fc5237fb96
commit
8c26729399
2 changed files with 13 additions and 16 deletions
|
|
@ -544,12 +544,10 @@ BOOST_FIXTURE_TEST_CASE( triggering_an_expectation_returns_the_set_auto_ptr_valu
|
|||
|
||||
BOOST_FIXTURE_TEST_CASE( triggering_an_expectation_returns_the_set_shared_ptr_value, error_fixture )
|
||||
{
|
||||
{
|
||||
mock::detail::function< boost::shared_ptr< A >() > f;
|
||||
f.expect().returns( new B );
|
||||
BOOST_CHECK_NO_THROW( f() );
|
||||
CHECK_CALLS( 1 );
|
||||
}
|
||||
mock::detail::function< boost::shared_ptr< A >() > f;
|
||||
f.expect().returns( new B );
|
||||
BOOST_CHECK_NO_THROW( f() );
|
||||
CHECK_CALLS( 1 );
|
||||
}
|
||||
|
||||
BOOST_FIXTURE_TEST_CASE( triggering_an_expectation_returns_by_reference, error_fixture )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue