mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Renamed mock::detail::check to mock::matcher
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@567 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
3e3746dce5
commit
a84c66c714
9 changed files with 88 additions and 65 deletions
|
|
@ -11,13 +11,13 @@
|
|||
|
||||
#define MOCK_EXPECTATION_INITIALIZE(z, n, d) \
|
||||
BOOST_PP_COMMA_IF(n) c##n##_( \
|
||||
new check< arg##n##_type, constraint< any > >( mock::any ) )
|
||||
new matcher< arg##n##_type, constraint< any > >( mock::any ) )
|
||||
|
||||
#define MOCK_EXPECTATION_WITH(z, n, d) \
|
||||
c##n##_.reset( new check< arg##n##_type, Constraint_##n >( c##n ) );
|
||||
c##n##_.reset( new matcher< arg##n##_type, Constraint_##n >( c##n ) );
|
||||
|
||||
#define MOCK_EXPECTATION_MEMBER(z, n, d) \
|
||||
boost::shared_ptr< check_base< arg##n##_type > > c##n##_;
|
||||
boost::shared_ptr< matcher_base< arg##n##_type > > c##n##_;
|
||||
|
||||
#define MOCK_EXPECTATION_ARGS(z, n, d) \
|
||||
BOOST_PP_COMMA_IF(n) arg##n##_type a##n
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue