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@492 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
4148ae7bc4
commit
1c7320e2a9
1 changed files with 3 additions and 3 deletions
|
|
@ -14,9 +14,9 @@
|
||||||
#define MOCK_CONTEXT \
|
#define MOCK_CONTEXT \
|
||||||
boost::unit_test::lazy_ostream::instance() \
|
boost::unit_test::lazy_ostream::instance() \
|
||||||
<< lazy_context( this ) \
|
<< lazy_context( this ) \
|
||||||
<< "(" BOOST_PP_REPEAT(MOCK_NUM_ARGS, MOCK_FORMAT, \
|
<< '(' BOOST_PP_REPEAT(MOCK_NUM_ARGS, MOCK_FORMAT, \
|
||||||
BOOST_PP_DEC(MOCK_NUM_ARGS)) \
|
BOOST_PP_DEC(MOCK_NUM_ARGS)) \
|
||||||
<< ")" \
|
<< ')' \
|
||||||
<< lazy_expectations( this )
|
<< lazy_expectations( this )
|
||||||
|
|
||||||
namespace mock
|
namespace mock
|
||||||
|
|
@ -146,7 +146,7 @@ namespace detail
|
||||||
if( c.impl_->context_ )
|
if( c.impl_->context_ )
|
||||||
c.impl_->context_->serialize( s, *c.impl_ );
|
c.impl_->context_->serialize( s, *c.impl_ );
|
||||||
else
|
else
|
||||||
s << "?";
|
s << '?';
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
const function_impl* impl_;
|
const function_impl* impl_;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue