mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Moved some components into a detail sub-directory
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@489 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
435dadf89d
commit
bd30f8c492
6 changed files with 97 additions and 94 deletions
|
|
@ -34,7 +34,7 @@ namespace
|
|||
mock::detail::configure( o, e, "instance", mock::detail::type_name( typeid( "type" ) ), "name" );
|
||||
}
|
||||
object o;
|
||||
mock::function< void() > e;
|
||||
mock::detail::function< void() > e;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
@ -64,7 +64,7 @@ BOOST_FIXTURE_TEST_CASE( resetting_an_object_containing_a_failing_expectation_an
|
|||
BOOST_AUTO_TEST_CASE( an_object_is_assignable_by_sharing_its_state )
|
||||
{
|
||||
object o1;
|
||||
mock::function< void() > e;
|
||||
mock::detail::function< void() > e;
|
||||
{
|
||||
object o2;
|
||||
mock::detail::configure( o2, e, "instance", mock::detail::type_name( typeid( "type" ) ), "name" );
|
||||
|
|
@ -80,7 +80,7 @@ BOOST_AUTO_TEST_CASE( an_object_is_copiable_by_sharing_its_state )
|
|||
{
|
||||
std::auto_ptr< object > o2( new object );
|
||||
const object o1( *o2 );
|
||||
mock::function< void() > e;
|
||||
mock::detail::function< void() > e;
|
||||
mock::detail::configure( *o2, e, "instance", mock::detail::type_name( typeid( "type" ) ), "name" );
|
||||
e.expect().once();
|
||||
BOOST_CHECK( ! mock::verify( *o2 ) );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue