diff --git a/build/build.properties b/build/build.properties
index 3343718..c44646e 100644
--- a/build/build.properties
+++ b/build/build.properties
@@ -1,2 +1,2 @@
-extensions = svn,headers
+extensions = svn,headers,check
platform = vc80
diff --git a/build/build.xml b/build/build.xml
index 74e1815..ea113dc 100644
--- a/build/build.xml
+++ b/build/build.xml
@@ -95,6 +95,7 @@
+
diff --git a/src/libraries/turtle/action.hpp b/src/libraries/turtle/action.hpp
index c36b6d2..2d51c33 100644
--- a/src/libraries/turtle/action.hpp
+++ b/src/libraries/turtle/action.hpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2008
+// Copyright Mathieu Champlon 2008
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#ifndef MOCK_ACTION_HPP_INCLUDED
#define MOCK_ACTION_HPP_INCLUDED
@@ -162,7 +163,9 @@ namespace detail
{}
action( const action& rhs )
: r_( const_cast< action& >( rhs ).r_.release() )
- , f_( r_.get() ? lambda_type::make_val( boost::ref( r_ ) ) : rhs.f_ )
+ , f_( r_.get()
+ ? lambda_type::make_val( boost::ref( r_ ) )
+ : rhs.f_ )
{}
template< typename Value >
diff --git a/src/libraries/turtle/args.hpp b/src/libraries/turtle/args.hpp
index 9475050..cb756a0 100644
--- a/src/libraries/turtle/args.hpp
+++ b/src/libraries/turtle/args.hpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2010
+// Copyright Mathieu Champlon 2010
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#ifndef MOCK_ARGS_HPP_INCLUDED
#define MOCK_ARGS_HPP_INCLUDED
@@ -50,7 +51,8 @@ namespace detail
}
#define MOCK_ARG(N, n, S, tpn) \
- BOOST_PP_COMMA_IF(n) tpn mock::detail::arg< S, BOOST_PP_INC(n), N >::type p##n
+ BOOST_PP_COMMA_IF(n) tpn \
+ mock::detail::arg< S, BOOST_PP_INC(n), N >::type p##n
#define MOCK_ARG_PROXY(z, n, d) \
MOCK_ARG( \
BOOST_PP_ARRAY_ELEM(0, d), \
diff --git a/src/libraries/turtle/boost_test_error.hpp b/src/libraries/turtle/boost_test_error.hpp
index 51809fc..eb2e28a 100644
--- a/src/libraries/turtle/boost_test_error.hpp
+++ b/src/libraries/turtle/boost_test_error.hpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2011
+// Copyright Mathieu Champlon 2011
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#ifndef MOCK_BOOST_TEST_ERROR_POLICY_HPP_INCLUDED
#define MOCK_BOOST_TEST_ERROR_POLICY_HPP_INCLUDED
diff --git a/src/libraries/turtle/check.hpp b/src/libraries/turtle/check.hpp
index e2474cc..4caca9d 100644
--- a/src/libraries/turtle/check.hpp
+++ b/src/libraries/turtle/check.hpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2008
+// Copyright Mathieu Champlon 2008
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#ifndef MOCK_CHECK_HPP_INCLUDED
#define MOCK_CHECK_HPP_INCLUDED
diff --git a/src/libraries/turtle/child.hpp b/src/libraries/turtle/child.hpp
index c330165..51790fd 100644
--- a/src/libraries/turtle/child.hpp
+++ b/src/libraries/turtle/child.hpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2011
+// Copyright Mathieu Champlon 2011
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#ifndef MOCK_CHILD_HPP_INCLUDED
#define MOCK_CHILD_HPP_INCLUDED
diff --git a/src/libraries/turtle/cleanup.hpp b/src/libraries/turtle/cleanup.hpp
index 6c40fa5..cdf99f1 100644
--- a/src/libraries/turtle/cleanup.hpp
+++ b/src/libraries/turtle/cleanup.hpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2011
+// Copyright Mathieu Champlon 2011
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#ifndef MOCK_CLEANUP_HPP_INCLUDED
#define MOCK_CLEANUP_HPP_INCLUDED
@@ -24,7 +25,9 @@ namespace detail
{
~cleanup()
{
- //mock::verify(); // $$$$ MAT : because of a bug in Boost.Test this will crash if anything needs to be logged
+ // $$$$ MAT : because of a bug in Boost.Test
+ // this will crash if anything needs to be logged
+ //mock::verify();
mock::reset();
}
};
diff --git a/src/libraries/turtle/config.hpp b/src/libraries/turtle/config.hpp
index 8c3c6eb..56a7e08 100644
--- a/src/libraries/turtle/config.hpp
+++ b/src/libraries/turtle/config.hpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2009
+// Copyright Mathieu Champlon 2009
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#ifndef MOCK_CONFIG_HPP_INCLUDED
#define MOCK_CONFIG_HPP_INCLUDED
@@ -13,7 +14,7 @@
#include
#ifndef MOCK_MAX_ARGS
-# define MOCK_MAX_ARGS 9
+# define MOCK_MAX_ARGS 9
#elif BOOST_PP_LESS(9, MOCK_MAX_ARGS)
# define MOCK_USE_BOOST_PHOENIX
#endif
diff --git a/src/libraries/turtle/constraint.hpp b/src/libraries/turtle/constraint.hpp
index 17162c2..03fc49e 100644
--- a/src/libraries/turtle/constraint.hpp
+++ b/src/libraries/turtle/constraint.hpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2008
+// Copyright Mathieu Champlon 2008
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#ifndef MOCK_CONSTRAINT_HPP_INCLUDED
#define MOCK_CONSTRAINT_HPP_INCLUDED
diff --git a/src/libraries/turtle/constraints.hpp b/src/libraries/turtle/constraints.hpp
index 08cb375..8a42e11 100644
--- a/src/libraries/turtle/constraints.hpp
+++ b/src/libraries/turtle/constraints.hpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2008
+// Copyright Mathieu Champlon 2008
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#ifndef MOCK_CONSTRAINTS_HPP_INCLUDED
#define MOCK_CONSTRAINTS_HPP_INCLUDED
@@ -67,7 +68,8 @@ namespace mock
} \
friend std::ostream& operator<<( std::ostream& s, const N& n ) \
{ \
- return s << BOOST_STRINGIZE(N) << "( " << mock::format( n.expected_ ) << " )"; \
+ return s << BOOST_STRINGIZE(N) \
+ << "( " << mock::format( n.expected_ ) << " )"; \
} \
Expected expected_; \
}; \
@@ -186,11 +188,12 @@ namespace detail
{}
bool operator()( const std::string& actual ) const
{
- return actual.find( boost::unwrap_ref( expected_ ) ) != std::string::npos;
+ return actual.find( boost::unwrap_ref( expected_ ) )
+ != std::string::npos;
}
friend std::ostream& operator<<( std::ostream& s, const contain& n )
{
- return s << "contain ( " << mock::format( n.expected_ ) << " )";
+ return s << "contain( " << mock::format( n.expected_ ) << " )";
}
Expected expected_;
};
diff --git a/src/libraries/turtle/context.hpp b/src/libraries/turtle/context.hpp
index 2ad644a..803d896 100644
--- a/src/libraries/turtle/context.hpp
+++ b/src/libraries/turtle/context.hpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2011
+// Copyright Mathieu Champlon 2011
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#ifndef MOCK_CONTEXT_HPP_INCLUDED
#define MOCK_CONTEXT_HPP_INCLUDED
@@ -34,7 +35,8 @@ namespace detail
virtual void add( verifiable& v ) = 0;
virtual void remove( verifiable& v ) = 0;
- virtual void serialize( std::ostream& s, const verifiable& v ) const = 0;
+ virtual void serialize( std::ostream& s,
+ const verifiable& v ) const = 0;
};
}
}
diff --git a/src/libraries/turtle/default_error.hpp b/src/libraries/turtle/default_error.hpp
index 2087e10..4df07a1 100644
--- a/src/libraries/turtle/default_error.hpp
+++ b/src/libraries/turtle/default_error.hpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2011
+// Copyright Mathieu Champlon 2011
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#ifndef MOCK_DEFAULT_ERROR_POLICY_HPP_INCLUDED
#define MOCK_DEFAULT_ERROR_POLICY_HPP_INCLUDED
diff --git a/src/libraries/turtle/error.hpp b/src/libraries/turtle/error.hpp
index 543f776..97fe374 100644
--- a/src/libraries/turtle/error.hpp
+++ b/src/libraries/turtle/error.hpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2008
+// Copyright Mathieu Champlon 2008
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#ifndef MOCK_ERROR_HPP_INCLUDED
#define MOCK_ERROR_HPP_INCLUDED
diff --git a/src/libraries/turtle/expectation.hpp b/src/libraries/turtle/expectation.hpp
index 8b5a149..da824b5 100644
--- a/src/libraries/turtle/expectation.hpp
+++ b/src/libraries/turtle/expectation.hpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2008
+// Copyright Mathieu Champlon 2008
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#ifndef MOCK_EXPECTATION_HPP_INCLUDED
#define MOCK_EXPECTATION_HPP_INCLUDED
@@ -96,7 +97,9 @@ namespace detail
boost::shared_ptr< detail::invocation > i_;
private:
- typedef std::vector< boost::shared_ptr< detail::sequence_impl > > sequences_type;
+ typedef std::vector<
+ boost::shared_ptr< detail::sequence_impl >
+ > sequences_type;
typedef sequences_type::const_iterator sequences_cit;
sequences_type sequences_;
@@ -160,7 +163,8 @@ namespace detail
MOCK_EXPECTATION_METHODS
- friend std::ostream& operator<<( std::ostream& s, const expectation& m )
+ friend std::ostream& operator<<( std::ostream& s,
+ const expectation& m )
{
return s << (m.i_->exhausted() ? 'v' : '.') << ' ' << *m.i_;
}
@@ -173,23 +177,40 @@ namespace detail
boost::function_types::parameter_types< Signature >, \
n \
>::type arg##n##_type;
-#define MOCK_EXPECTATION_CONSTRUCTOR(z, n, d) BOOST_PP_COMMA_IF(n) c##n##_( new detail::check< arg##n##_type, constraint< detail::any > >( mock::any ) )
-#define MOCK_EXPECTATION_WITH(z, n, d) c##n##_.reset( new detail::check< arg##n##_type, Constraint_##n >( c##n ) );
-#define MOCK_EXPECTATION_MEMBER(z, n, d) boost::shared_ptr< detail::check_base< arg##n##_type > > c##n##_;
-#define MOCK_EXPECTATION_ARGS(z, n, d) BOOST_PP_COMMA_IF(n) arg##n##_type a##n
-#define MOCK_EXPECTATION_IS_VALID(z, n, d) && (*c##n##_)( a##n )
-#define MOCK_EXPECTATION_SERIALIZE(z, n, d) BOOST_PP_IF(n, << ", " <<,) *m.c##n##_
+#define MOCK_EXPECTATION_INITIALIZE(z, n, d) \
+ BOOST_PP_COMMA_IF(n) c##n##_( \
+ new detail::check< \
+ arg##n##_type, \
+ constraint< detail::any > \
+ >( mock::any ) )
+#define MOCK_EXPECTATION_WITH(z, n, d) \
+ c##n##_.reset( \
+ new detail::check< \
+ arg##n##_type, \
+ Constraint_##n \
+ >( c##n ) );
+#define MOCK_EXPECTATION_MEMBER(z, n, d) \
+ boost::shared_ptr< detail::check_base< arg##n##_type > > c##n##_;
+#define MOCK_EXPECTATION_ARGS(z, n, d) \
+ BOOST_PP_COMMA_IF(n) arg##n##_type a##n
+#define MOCK_EXPECTATION_IS_VALID(z, n, d) \
+ && (*c##n##_)( a##n )
+#define MOCK_EXPECTATION_SERIALIZE(z, n, d) \
+ BOOST_PP_IF(n, << ", " <<,) *m.c##n##_
#define MOCK_EXPECTATION(z, n, d) \
template< typename Signature > \
class expectation< Signature, n > \
: public expectation_base \
- , public action< BOOST_DEDUCED_TYPENAME \
- boost::function_types::result_type< Signature >::type, Signature > \
+ , public action< \
+ BOOST_DEDUCED_TYPENAME \
+ boost::function_types::result_type< Signature >::type, \
+ Signature \
+ > \
{ \
BOOST_PP_REPEAT(n, MOCK_EXPECTATION_TYPEDEF, BOOST_PP_EMPTY) \
public: \
expectation() \
- : BOOST_PP_REPEAT(n, MOCK_EXPECTATION_CONSTRUCTOR, BOOST_PP_EMPTY) \
+ : BOOST_PP_REPEAT(n, MOCK_EXPECTATION_INITIALIZE, BOOST_PP_EMPTY) \
{} \
template< BOOST_PP_ENUM_PARAMS(n, typename Constraint_) > \
expectation& with( BOOST_PP_ENUM_BINARY_PARAMS(n, Constraint_, c) ) \
@@ -197,27 +218,36 @@ namespace detail
BOOST_PP_REPEAT(n, MOCK_EXPECTATION_WITH, BOOST_PP_EMPTY) \
return *this; \
} \
- bool is_valid( BOOST_PP_REPEAT(n, MOCK_EXPECTATION_ARGS, BOOST_PP_EMPTY) ) const \
+ bool is_valid( \
+ BOOST_PP_REPEAT(n, MOCK_EXPECTATION_ARGS, BOOST_PP_EMPTY) ) const \
{ \
return ! i_->exhausted() \
- BOOST_PP_REPEAT(n, MOCK_EXPECTATION_IS_VALID, BOOST_PP_EMPTY); \
+ BOOST_PP_REPEAT(n, \
+ MOCK_EXPECTATION_IS_VALID, BOOST_PP_EMPTY); \
} \
MOCK_EXPECTATION_METHODS \
- friend std::ostream& operator<<( std::ostream& s, const expectation& m ) \
+ friend std::ostream& operator<<( \
+ std::ostream& s, const expectation& m ) \
{ \
- return s << (m.i_->exhausted() ? 'v' : '.') << ' ' << *m.i_ << ".with( " \
- << \
- BOOST_PP_REPEAT(n, MOCK_EXPECTATION_SERIALIZE, BOOST_PP_EMPTY) \
+ return s << (m.i_->exhausted() ? 'v' : '.') \
+ << ' ' << *m.i_ << ".with( " \
+ << BOOST_PP_REPEAT(n, \
+ MOCK_EXPECTATION_SERIALIZE, BOOST_PP_EMPTY) \
<< " )"; \
} \
private: \
BOOST_PP_REPEAT(n, MOCK_EXPECTATION_MEMBER, BOOST_PP_EMPTY) \
};
- BOOST_PP_REPEAT_FROM_TO(1, BOOST_PP_INC(MOCK_MAX_ARGS), MOCK_EXPECTATION, BOOST_PP_EMPTY)
+
+ BOOST_PP_REPEAT_FROM_TO(
+ 1,
+ BOOST_PP_INC(MOCK_MAX_ARGS),
+ MOCK_EXPECTATION,
+ BOOST_PP_EMPTY)
#undef MOCK_EXPECTATION_METHODS
#undef MOCK_EXPECTATION_TYPEDEF
-#undef MOCK_EXPECTATION_CONSTRUCTOR
+#undef MOCK_EXPECTATION_INITIALIZE
#undef MOCK_EXPECTATION_WITH
#undef MOCK_EXPECTATION_MEMBER
#undef MOCK_EXPECTATION_ARGS
diff --git a/src/libraries/turtle/function.hpp b/src/libraries/turtle/function.hpp
index c9770e2..df33301 100644
--- a/src/libraries/turtle/function.hpp
+++ b/src/libraries/turtle/function.hpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2008
+// Copyright Mathieu Champlon 2008
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#ifndef MOCK_FUNCTION_HPP_INCLUDED
#define MOCK_FUNCTION_HPP_INCLUDED
@@ -101,7 +102,13 @@ namespace mock
{ \
return (*impl_)( BOOST_PP_ENUM_PARAMS(n, p) ); \
}
- BOOST_PP_REPEAT_FROM_TO(1, BOOST_PP_INC(MOCK_MAX_ARGS), MOCK_FUNCTION_OPERATOR, BOOST_PP_EMPTY)
+
+ BOOST_PP_REPEAT_FROM_TO(
+ 1,
+ BOOST_PP_INC(MOCK_MAX_ARGS),
+ MOCK_FUNCTION_OPERATOR,
+ BOOST_PP_EMPTY)
+
#undef MOCK_FUNCTION_OPERATOR
friend std::ostream& operator<<( std::ostream& s, const function& e )
@@ -201,40 +208,49 @@ namespace mock
}
#define MOCK_FUNCTION_FORMAT(z, n, N) \
- << " " << mock::format( p##n ) << BOOST_PP_IF(BOOST_PP_EQUAL(N,n), " ", ",")
-#define MOCK_FUNCTION_CALL_CONTEXT(n) \
+ << " " << mock::format( p##n ) \
+ << BOOST_PP_IF(BOOST_PP_EQUAL(N,n), " ", ",")
+#define MOCK_FUNCTION_CONTEXT(n) \
boost::unit_test::lazy_ostream::instance() \
<< lazy_context( this ) \
- << "(" BOOST_PP_REPEAT(n, MOCK_FUNCTION_FORMAT, BOOST_PP_DEC(n)) << ")" \
+ << "(" BOOST_PP_REPEAT(n, MOCK_FUNCTION_FORMAT, BOOST_PP_DEC(n)) \
+ << ")" \
<< lazy_expectations( this )
#define MOCK_FUNCTION_INVOKE(z, n, A) \
{ \
valid_ = false; \
- for( expectations_cit it = expectations_.begin(); it != expectations_.end(); ++it ) \
+ for( expectations_cit it = expectations_.begin(); \
+ it != expectations_.end(); ++it ) \
if( it->is_valid( BOOST_PP_ENUM_PARAMS(n, p) ) ) \
{ \
if( ! it->invoke() ) \
{ \
- error_type::sequence_failed( MOCK_FUNCTION_CALL_CONTEXT(n), it->file(), it->line() ); \
+ error_type::sequence_failed( \
+ MOCK_FUNCTION_CONTEXT(n), it->file(), it->line() ); \
return A; \
} \
if( ! it->functor() ) \
{ \
- error_type::missing_action( MOCK_FUNCTION_CALL_CONTEXT(n), it->file(), it->line() ); \
+ error_type::missing_action( \
+ MOCK_FUNCTION_CONTEXT(n), it->file(), it->line() ); \
return A; \
} \
valid_ = true; \
- error_type::expected_call( MOCK_FUNCTION_CALL_CONTEXT(n), it->file(), it->line() ); \
+ error_type::expected_call( \
+ MOCK_FUNCTION_CONTEXT(n), it->file(), it->line() ); \
return it->functor()( BOOST_PP_ENUM_PARAMS(n, p) ); \
} \
- error_type::unexpected_call( MOCK_FUNCTION_CALL_CONTEXT(n) ); \
+ error_type::unexpected_call( MOCK_FUNCTION_CONTEXT(n) ); \
return A; \
}
#define MOCK_FUNCTION_OPERATOR(z, n, P) \
MOCK_DECL(operator(), n, Signature, const, BOOST_DEDUCED_TYPENAME) \
MOCK_FUNCTION_INVOKE(z, n, P)
- BOOST_PP_REPEAT(BOOST_PP_INC(MOCK_MAX_ARGS), MOCK_FUNCTION_OPERATOR, error_type::abort())
+ BOOST_PP_REPEAT(
+ BOOST_PP_INC(MOCK_MAX_ARGS),
+ MOCK_FUNCTION_OPERATOR,
+ error_type::abort())
void test() const
MOCK_FUNCTION_INVOKE(, 0,)
@@ -242,9 +258,10 @@ namespace mock
#undef MOCK_FUNCTION_FORMAT
#undef MOCK_FUNCTION_OPERATOR
#undef MOCK_FUNCTION_INVOKE
-#undef MOCK_FUNCTION_CALL_CONTEXT
+#undef MOCK_FUNCTION_CONTEXT
- friend std::ostream& operator<<( std::ostream& s, const function_impl& e )
+ friend std::ostream& operator<<(
+ std::ostream& s, const function_impl& e )
{
return s << lazy_context( &e ) << lazy_expectations( &e );
}
@@ -254,7 +271,8 @@ namespace mock
lazy_context( const function_impl* impl )
: impl_( impl )
{}
- friend std::ostream& operator<<( std::ostream& s, const lazy_context& e )
+ friend std::ostream& operator<<(
+ std::ostream& s, const lazy_context& e )
{
if( e.impl_->context_ )
e.impl_->context_->serialize( s, *e.impl_ );
@@ -270,7 +288,8 @@ namespace mock
lazy_expectations( const function_impl* impl )
: impl_( impl )
{}
- friend std::ostream& operator<<( std::ostream& s, const lazy_expectations& e )
+ friend std::ostream& operator<<(
+ std::ostream& s, const lazy_expectations& e )
{
for( expectations_cit it = e.impl_->expectations_.begin();
it != e.impl_->expectations_.end(); ++it )
diff --git a/src/libraries/turtle/group.hpp b/src/libraries/turtle/group.hpp
index 42f99d3..db28940 100644
--- a/src/libraries/turtle/group.hpp
+++ b/src/libraries/turtle/group.hpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2011
+// Copyright Mathieu Champlon 2011
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#ifndef MOCK_GROUP_HPP_INCLUDED
#define MOCK_GROUP_HPP_INCLUDED
diff --git a/src/libraries/turtle/invocation.hpp b/src/libraries/turtle/invocation.hpp
index 8ee8b5b..407d4b6 100644
--- a/src/libraries/turtle/invocation.hpp
+++ b/src/libraries/turtle/invocation.hpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2008
+// Copyright Mathieu Champlon 2008
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#ifndef MOCK_INVOCATION_HPP_INCLUDED
#define MOCK_INVOCATION_HPP_INCLUDED
@@ -30,7 +31,8 @@ namespace detail
virtual bool invoked() const = 0;
virtual bool exhausted() const = 0;
- friend inline std::ostream& operator<<( std::ostream& s, const invocation& i )
+ friend inline std::ostream& operator<<(
+ std::ostream& s, const invocation& i )
{
return i.serialize( s );
}
@@ -43,8 +45,8 @@ namespace detail
{
public:
between( std::size_t min, std::size_t max )
- : min_ ( min )
- , max_ ( max )
+ : min_( min )
+ , max_( max )
, count_( 0 )
{
if( min > max )
@@ -81,7 +83,8 @@ namespace detail
private:
virtual std::ostream& serialize( std::ostream& s ) const
{
- return s << "between( " << count_ << "/[" << min_ << ',' << max_ << "] )";
+ return s << "between( " << count_
+ << "/[" << min_ << ',' << max_ << "] )";
}
};
@@ -95,7 +98,7 @@ namespace detail
private:
virtual std::ostream& serialize( std::ostream& s ) const
{
- return s << "exactly( " << count_ << '/' << max_ << " )";
+ return s << "exactly( " << count_ << '/' << max_ << " )";
}
};
@@ -137,7 +140,7 @@ namespace detail
private:
virtual std::ostream& serialize( std::ostream& s ) const
{
- return s << "at_least( " << count_ << '/' << min_ << " )";
+ return s << "at_least( " << count_ << '/' << min_ << " )";
}
};
@@ -151,7 +154,7 @@ namespace detail
private:
virtual std::ostream& serialize( std::ostream& s ) const
{
- return s << "at_most( " << count_ << '/' << max_ << " )";
+ return s << "at_most( " << count_ << '/' << max_ << " )";
}
};
diff --git a/src/libraries/turtle/is_functor.hpp b/src/libraries/turtle/is_functor.hpp
index 67df053..83dac59 100644
--- a/src/libraries/turtle/is_functor.hpp
+++ b/src/libraries/turtle/is_functor.hpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2009
+// Copyright Mathieu Champlon 2009
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#ifndef MOCK_IS_FUNCTOR_HPP_INCLUDED
#define MOCK_IS_FUNCTOR_HPP_INCLUDED
@@ -21,10 +22,13 @@ namespace mock
namespace detail
{
#define MOCK_IS_FUNCTION_HELPER(N, M) \
- template< typename T > yes_type& N##_helper( BOOST_DEDUCED_TYPENAME T::M* ); \
+ template< typename T > yes_type& N##_helper( \
+ BOOST_DEDUCED_TYPENAME T::M* ); \
template< typename T > no_type& N##_helper( ... ); \
template< typename T > struct N \
- : boost::mpl::bool_< sizeof( N##_helper< T >( 0 ) ) == sizeof( yes_type ) > \
+ : boost::mpl::bool_< \
+ sizeof( N##_helper< T >( 0 ) ) == sizeof( yes_type ) \
+ > \
{};
MOCK_IS_FUNCTION_HELPER( has_result_type, result_type )
diff --git a/src/libraries/turtle/lambda.hpp b/src/libraries/turtle/lambda.hpp
index b21a180..fea61fd 100644
--- a/src/libraries/turtle/lambda.hpp
+++ b/src/libraries/turtle/lambda.hpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2011
+// Copyright Mathieu Champlon 2011
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#ifndef MOCK_LAMBDA_HPP_INCLUDED
#define MOCK_LAMBDA_HPP_INCLUDED
@@ -41,7 +42,8 @@ namespace detail
template< typename T >
static functor_type make_val( boost::reference_wrapper< T > t )
{
- return mock::detail::bind( &do_ref_identity< T >, t.get_pointer() );
+ return mock::detail::bind(
+ &do_ref_identity< T >, t.get_pointer() );
}
template< typename T >
static functor_type make_throw( T t )
diff --git a/src/libraries/turtle/log.hpp b/src/libraries/turtle/log.hpp
index faf8faf..bb4b606 100644
--- a/src/libraries/turtle/log.hpp
+++ b/src/libraries/turtle/log.hpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2011
+// Copyright Mathieu Champlon 2011
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#ifndef MOCK_LOG_HPP_INCLUDED
#define MOCK_LOG_HPP_INCLUDED
diff --git a/src/libraries/turtle/mock.hpp b/src/libraries/turtle/mock.hpp
index 0646ad5..305d949 100644
--- a/src/libraries/turtle/mock.hpp
+++ b/src/libraries/turtle/mock.hpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2008
+// Copyright Mathieu Champlon 2008
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#ifndef MOCK_MOCK_HPP_INCLUDED
#define MOCK_MOCK_HPP_INCLUDED
@@ -103,7 +104,9 @@ namespace detail
#define MOCK_SIGNATURE(M) \
mock::detail::signature< \
- BOOST_TYPEOF( mock::ambiguous_method_name_use_MOCK_METHOD_EXT_instead( &base_type::M ) ) \
+ BOOST_TYPEOF( \
+ mock::ambiguous_method_name_use_MOCK_METHOD_EXT_instead( \
+ &base_type::M ) ) \
>::type
#define MOCK_METHOD_AUX(M, n, S, t, c, tpn) \
diff --git a/src/libraries/turtle/node.hpp b/src/libraries/turtle/node.hpp
index 2bc8b96..5c812ca 100644
--- a/src/libraries/turtle/node.hpp
+++ b/src/libraries/turtle/node.hpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2008
+// Copyright Mathieu Champlon 2008
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#ifndef MOCK_NODE_HPP_INCLUDED
#define MOCK_NODE_HPP_INCLUDED
diff --git a/src/libraries/turtle/object.hpp b/src/libraries/turtle/object.hpp
index 30325ae..5b0c05f 100644
--- a/src/libraries/turtle/object.hpp
+++ b/src/libraries/turtle/object.hpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2008
+// Copyright Mathieu Champlon 2008
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#ifndef MOCK_OBJECT_HPP_INCLUDED
#define MOCK_OBJECT_HPP_INCLUDED
diff --git a/src/libraries/turtle/operators.hpp b/src/libraries/turtle/operators.hpp
index 15c19c2..019dd8e 100644
--- a/src/libraries/turtle/operators.hpp
+++ b/src/libraries/turtle/operators.hpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2010
+// Copyright Mathieu Champlon 2010
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#ifndef MOCK_OPERATORS_HPP_INCLUDED
#define MOCK_OPERATORS_HPP_INCLUDED
diff --git a/src/libraries/turtle/parent.hpp b/src/libraries/turtle/parent.hpp
index 802a745..520d28a 100644
--- a/src/libraries/turtle/parent.hpp
+++ b/src/libraries/turtle/parent.hpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2011
+// Copyright Mathieu Champlon 2011
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#ifndef MOCK_PARENT_HPP_INCLUDED
#define MOCK_PARENT_HPP_INCLUDED
diff --git a/src/libraries/turtle/root.hpp b/src/libraries/turtle/root.hpp
index 562d874..f70b8ee 100644
--- a/src/libraries/turtle/root.hpp
+++ b/src/libraries/turtle/root.hpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2008
+// Copyright Mathieu Champlon 2008
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#ifndef MOCK_ROOT_HPP_INCLUDED
#define MOCK_ROOT_HPP_INCLUDED
diff --git a/src/libraries/turtle/sequence.hpp b/src/libraries/turtle/sequence.hpp
index 8b50f02..f7c880a 100644
--- a/src/libraries/turtle/sequence.hpp
+++ b/src/libraries/turtle/sequence.hpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2008
+// Copyright Mathieu Champlon 2008
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#ifndef MOCK_SEQUENCE_HPP_INCLUDED
#define MOCK_SEQUENCE_HPP_INCLUDED
diff --git a/src/libraries/turtle/type_name.hpp b/src/libraries/turtle/type_name.hpp
index d3c4596..4ed2d70 100644
--- a/src/libraries/turtle/type_name.hpp
+++ b/src/libraries/turtle/type_name.hpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2009
+// Copyright Mathieu Champlon 2009
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#ifndef MOCK_TYPE_NAME_HPP_INCLUDED
#define MOCK_TYPE_NAME_HPP_INCLUDED
diff --git a/src/libraries/turtle/verifiable.hpp b/src/libraries/turtle/verifiable.hpp
index bf4f4f1..2fa4c6b 100644
--- a/src/libraries/turtle/verifiable.hpp
+++ b/src/libraries/turtle/verifiable.hpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2008
+// Copyright Mathieu Champlon 2008
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#ifndef MOCK_VERIFIABLE_HPP_INCLUDED
#define MOCK_VERIFIABLE_HPP_INCLUDED
diff --git a/src/libraries/turtle/yes_no_type.hpp b/src/libraries/turtle/yes_no_type.hpp
index 84014c6..4b45ee0 100644
--- a/src/libraries/turtle/yes_no_type.hpp
+++ b/src/libraries/turtle/yes_no_type.hpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2011
+// Copyright Mathieu Champlon 2011
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#ifndef MOCK_YES_NO_TYPE_HPP_INCLUDED
#define MOCK_YES_NO_TYPE_HPP_INCLUDED
diff --git a/src/tests/bench_test/turtle_bench_0_class.cpp b/src/tests/bench_test/turtle_bench_0_class.cpp
index d9a9865..074214f 100644
--- a/src/tests/bench_test/turtle_bench_0_class.cpp
+++ b/src/tests/bench_test/turtle_bench_0_class.cpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2011
+// Copyright Mathieu Champlon 2011
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#include
diff --git a/src/tests/bench_test/turtle_bench_0_class_10_max_args.cpp b/src/tests/bench_test/turtle_bench_0_class_10_max_args.cpp
index 8ecba57..3a8cdd7 100644
--- a/src/tests/bench_test/turtle_bench_0_class_10_max_args.cpp
+++ b/src/tests/bench_test/turtle_bench_0_class_10_max_args.cpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2011
+// Copyright Mathieu Champlon 2011
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#define MOCK_MAX_ARGS 10
#include
diff --git a/src/tests/bench_test/turtle_bench_0_class_20_max_args.cpp b/src/tests/bench_test/turtle_bench_0_class_20_max_args.cpp
index 48abe6f..7772e35 100644
--- a/src/tests/bench_test/turtle_bench_0_class_20_max_args.cpp
+++ b/src/tests/bench_test/turtle_bench_0_class_20_max_args.cpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2011
+// Copyright Mathieu Champlon 2011
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#define MOCK_MAX_ARGS 20
#include
diff --git a/src/tests/bench_test/turtle_bench_0_class_30_max_args.cpp b/src/tests/bench_test/turtle_bench_0_class_30_max_args.cpp
index dc48862..63733e3 100644
--- a/src/tests/bench_test/turtle_bench_0_class_30_max_args.cpp
+++ b/src/tests/bench_test/turtle_bench_0_class_30_max_args.cpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2011
+// Copyright Mathieu Champlon 2011
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#define MOCK_MAX_ARGS 30
#include
diff --git a/src/tests/bench_test/turtle_bench_30_classes_30_methods_30_args_30_max_args.cpp b/src/tests/bench_test/turtle_bench_30_classes_30_methods_30_args_30_max_args.cpp
index b3b1775..946ade7 100644
--- a/src/tests/bench_test/turtle_bench_30_classes_30_methods_30_args_30_max_args.cpp
+++ b/src/tests/bench_test/turtle_bench_30_classes_30_methods_30_args_30_max_args.cpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2011
+// Copyright Mathieu Champlon 2011
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#define MOCK_MAX_ARGS 30
#include
diff --git a/src/tests/bench_test/turtle_bench_30_classes_30_methods_9_args.cpp b/src/tests/bench_test/turtle_bench_30_classes_30_methods_9_args.cpp
index 7f94f98..79a75a1 100644
--- a/src/tests/bench_test/turtle_bench_30_classes_30_methods_9_args.cpp
+++ b/src/tests/bench_test/turtle_bench_30_classes_30_methods_9_args.cpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2011
+// Copyright Mathieu Champlon 2011
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#include
#ifdef _MSC_VER
diff --git a/src/tests/bench_test/turtle_bench_30_classes_30_methods_9_args_10_max_args.cpp b/src/tests/bench_test/turtle_bench_30_classes_30_methods_9_args_10_max_args.cpp
index 489818e..123dfce 100644
--- a/src/tests/bench_test/turtle_bench_30_classes_30_methods_9_args_10_max_args.cpp
+++ b/src/tests/bench_test/turtle_bench_30_classes_30_methods_9_args_10_max_args.cpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2011
+// Copyright Mathieu Champlon 2011
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#define MOCK_MAX_ARGS 10
#include
diff --git a/src/tests/bench_test/turtle_bench_30_classes_30_methods_9_args_20_max_args.cpp b/src/tests/bench_test/turtle_bench_30_classes_30_methods_9_args_20_max_args.cpp
index f921b03..b531201 100644
--- a/src/tests/bench_test/turtle_bench_30_classes_30_methods_9_args_20_max_args.cpp
+++ b/src/tests/bench_test/turtle_bench_30_classes_30_methods_9_args_20_max_args.cpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2011
+// Copyright Mathieu Champlon 2011
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#define MOCK_MAX_ARGS 20
#include
diff --git a/src/tests/bench_test/turtle_bench_30_classes_30_methods_9_args_30_max_args.cpp b/src/tests/bench_test/turtle_bench_30_classes_30_methods_9_args_30_max_args.cpp
index 49480ab..c6eb742 100644
--- a/src/tests/bench_test/turtle_bench_30_classes_30_methods_9_args_30_max_args.cpp
+++ b/src/tests/bench_test/turtle_bench_30_classes_30_methods_9_args_30_max_args.cpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2011
+// Copyright Mathieu Champlon 2011
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#define MOCK_MAX_ARGS 30
#include
diff --git a/src/tests/boost_test/static_test.cpp b/src/tests/boost_test/static_test.cpp
index 4d471f4..12be231 100644
--- a/src/tests/boost_test/static_test.cpp
+++ b/src/tests/boost_test/static_test.cpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2011
+// Copyright Mathieu Champlon 2011
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#define BOOST_AUTO_TEST_MAIN
#include
@@ -20,12 +21,12 @@ namespace
fixture()
{
std::cout << __FUNCTION__ << std::endl;
- //BOOST_FAIL( "oups" );
+ BOOST_FAIL( "oups" );
}
~fixture()
{
std::cout << __FUNCTION__ << std::endl;
- //BOOST_FAIL( "oups" );
+ BOOST_FAIL( "oups" );
}
};
BOOST_GLOBAL_FIXTURE( fixture );
diff --git a/src/tests/errors_test/ambiguous_mock_method.cpp b/src/tests/errors_test/ambiguous_mock_method.cpp
index 571e456..a1d81ec 100644
--- a/src/tests/errors_test/ambiguous_mock_method.cpp
+++ b/src/tests/errors_test/ambiguous_mock_method.cpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2011
+// Copyright Mathieu Champlon 2011
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#include
diff --git a/src/tests/errors_test/constraint_functor_not_compatible.cpp b/src/tests/errors_test/constraint_functor_not_compatible.cpp
index a05e29f..d7728ab 100644
--- a/src/tests/errors_test/constraint_functor_not_compatible.cpp
+++ b/src/tests/errors_test/constraint_functor_not_compatible.cpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2011
+// Copyright Mathieu Champlon 2011
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#include
diff --git a/src/tests/errors_test/constraint_value_not_comparable.cpp b/src/tests/errors_test/constraint_value_not_comparable.cpp
index 48b4f98..6b70db1 100644
--- a/src/tests/errors_test/constraint_value_not_comparable.cpp
+++ b/src/tests/errors_test/constraint_value_not_comparable.cpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2011
+// Copyright Mathieu Champlon 2011
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#include
diff --git a/src/tests/errors_test/constraint_value_of_wrong_type_in_builtin_constraint.cpp b/src/tests/errors_test/constraint_value_of_wrong_type_in_builtin_constraint.cpp
index b879b14..acf3cb6 100644
--- a/src/tests/errors_test/constraint_value_of_wrong_type_in_builtin_constraint.cpp
+++ b/src/tests/errors_test/constraint_value_of_wrong_type_in_builtin_constraint.cpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2011
+// Copyright Mathieu Champlon 2011
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#include
diff --git a/src/tests/errors_test/mismatch_type_in_returns_int_action.cpp b/src/tests/errors_test/mismatch_type_in_returns_int_action.cpp
index e6bb980..f9cf894 100644
--- a/src/tests/errors_test/mismatch_type_in_returns_int_action.cpp
+++ b/src/tests/errors_test/mismatch_type_in_returns_int_action.cpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2011
+// Copyright Mathieu Champlon 2011
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#include
diff --git a/src/tests/errors_test/mismatch_type_in_returns_string_action.cpp b/src/tests/errors_test/mismatch_type_in_returns_string_action.cpp
index 7c6f9e1..126c3ac 100644
--- a/src/tests/errors_test/mismatch_type_in_returns_string_action.cpp
+++ b/src/tests/errors_test/mismatch_type_in_returns_string_action.cpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2011
+// Copyright Mathieu Champlon 2011
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#include
diff --git a/src/tests/errors_test/mismatch_type_in_returns_void_action.cpp b/src/tests/errors_test/mismatch_type_in_returns_void_action.cpp
index cfda839..ac203ca 100644
--- a/src/tests/errors_test/mismatch_type_in_returns_void_action.cpp
+++ b/src/tests/errors_test/mismatch_type_in_returns_void_action.cpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2011
+// Copyright Mathieu Champlon 2011
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#include
diff --git a/src/tests/errors_test/non_existing_base_class_method_in_mock_method.cpp b/src/tests/errors_test/non_existing_base_class_method_in_mock_method.cpp
index 79aa3dd..6766d4c 100644
--- a/src/tests/errors_test/non_existing_base_class_method_in_mock_method.cpp
+++ b/src/tests/errors_test/non_existing_base_class_method_in_mock_method.cpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2011
+// Copyright Mathieu Champlon 2011
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#include
diff --git a/src/tests/errors_test/number_of_arguments_greater_than_max_constant.cpp b/src/tests/errors_test/number_of_arguments_greater_than_max_constant.cpp
index 248f7ea..c326c20 100644
--- a/src/tests/errors_test/number_of_arguments_greater_than_max_constant.cpp
+++ b/src/tests/errors_test/number_of_arguments_greater_than_max_constant.cpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2011
+// Copyright Mathieu Champlon 2011
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#include
diff --git a/src/tests/errors_test/template_argument_without_tpl_macro.cpp b/src/tests/errors_test/template_argument_without_tpl_macro.cpp
index 32f102a..5774423 100644
--- a/src/tests/errors_test/template_argument_without_tpl_macro.cpp
+++ b/src/tests/errors_test/template_argument_without_tpl_macro.cpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2011
+// Copyright Mathieu Champlon 2011
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#include
diff --git a/src/tests/errors_test/too_many_arguments_in_mock_method.cpp b/src/tests/errors_test/too_many_arguments_in_mock_method.cpp
index 6d9226a..3e202cb 100644
--- a/src/tests/errors_test/too_many_arguments_in_mock_method.cpp
+++ b/src/tests/errors_test/too_many_arguments_in_mock_method.cpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2011
+// Copyright Mathieu Champlon 2011
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#include
diff --git a/src/tests/errors_test/wrong_number_of_arguments_in_with.cpp b/src/tests/errors_test/wrong_number_of_arguments_in_with.cpp
index 2c9c4de..dee3883 100644
--- a/src/tests/errors_test/wrong_number_of_arguments_in_with.cpp
+++ b/src/tests/errors_test/wrong_number_of_arguments_in_with.cpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2011
+// Copyright Mathieu Champlon 2011
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#include
diff --git a/src/tests/hippomocks_test/test.cpp b/src/tests/hippomocks_test/test.cpp
index b0ce462..aa87cb6 100644
--- a/src/tests/hippomocks_test/test.cpp
+++ b/src/tests/hippomocks_test/test.cpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2012
+// Copyright Mathieu Champlon 2012
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#define BOOST_AUTO_TEST_MAIN
#include "hippomocks.h"
@@ -36,12 +37,12 @@ BOOST_AUTO_TEST_CASE( hmm )
//namespace
//{
-// void free_function() { std::cout << "ok" << std::endl; }
+// void free_function() { std::cout << "ok" << std::endl; }
//}
//
//BOOST_AUTO_TEST_CASE( hmm2 )
//{
-// MockRepository mocks;
-// mocks.ExpectCallFunc( free_function );
-// free_function();
+// MockRepository mocks;
+// mocks.ExpectCallFunc( free_function );
+// free_function();
//}
diff --git a/src/tests/pch_test/pch_test.cpp b/src/tests/pch_test/pch_test.cpp
index d51f909..ec0c377 100644
--- a/src/tests/pch_test/pch_test.cpp
+++ b/src/tests/pch_test/pch_test.cpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2008
+// Copyright Mathieu Champlon 2008
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#include "pch_test.h"
diff --git a/src/tests/pch_test/pch_test.h b/src/tests/pch_test/pch_test.h
index bb51d69..f269467 100644
--- a/src/tests/pch_test/pch_test.h
+++ b/src/tests/pch_test/pch_test.h
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2011
+// Copyright Mathieu Champlon 2011
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
//#include
//#include
@@ -28,28 +29,28 @@
#include
//#include
-// release vc80
+// release vc80
//
-// xeumeuleu/xml.h 24
+// xeumeuleu/xml.h 24
-// boost/shared_ptr.hpp 5
-// boost/bind.hpp 6
-// boost/type_traits.hpp 19
-// boost/function_types/function_type.hpp 19
-// boost/function.hpp 23
-// boost/function.hpp + boost/bind.hpp 25
-// boost/lambda/lambda.hpp 25
-// boost/lambda/bind.hpp 22
-// boost/function_types/function_type.hpp + boost/type_traits.hpp 36
-// boost/spirit/home/phoenix/core.hpp 46
+// boost/shared_ptr.hpp 5
+// boost/bind.hpp 6
+// boost/type_traits.hpp 19
+// boost/function_types/function_type.hpp 19
+// boost/function.hpp 23
+// boost/function.hpp + boost/bind.hpp 25
+// boost/lambda/lambda.hpp 25
+// boost/lambda/bind.hpp 22
+// boost/function_types/function_type.hpp + boost/type_traits.hpp 36
+// boost/spirit/home/phoenix/core.hpp 46
//
-// boost/test/auto_unit_test.hpp 27
-// turtle/mock.hpp 89
-// boost/test/auto_unit_test.hpp + turtle/mock.hpp 93
+// boost/test/auto_unit_test.hpp 27
+// turtle/mock.hpp 89
+// boost/test/auto_unit_test.hpp + turtle/mock.hpp 93
//
-// all boost includes from turtle 89
+// all boost includes from turtle 89
-// getting rid of :
-// boost/bind 3
-// function_type 13
-// boost/phoenix 31
+// getting rid of :
+// boost/bind 3
+// function_type 13
+// boost/phoenix 31
diff --git a/src/tests/turtle_test/constraints_test.cpp b/src/tests/turtle_test/constraints_test.cpp
index d15d643..67973d8 100644
--- a/src/tests/turtle_test/constraints_test.cpp
+++ b/src/tests/turtle_test/constraints_test.cpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2008
+// Copyright Mathieu Champlon 2008
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#include
#include
diff --git a/src/tests/turtle_test/error_test.cpp b/src/tests/turtle_test/error_test.cpp
index b452de9..86cd02a 100644
--- a/src/tests/turtle_test/error_test.cpp
+++ b/src/tests/turtle_test/error_test.cpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2008
+// Copyright Mathieu Champlon 2008
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#include
#include
diff --git a/src/tests/turtle_test/function_test.cpp b/src/tests/turtle_test/function_test.cpp
index 34a9e0c..8535f33 100644
--- a/src/tests/turtle_test/function_test.cpp
+++ b/src/tests/turtle_test/function_test.cpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2008
+// Copyright Mathieu Champlon 2008
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#define BOOST_AUTO_TEST_MAIN
#include "mock_error.hpp"
@@ -349,10 +350,10 @@ BOOST_FIXTURE_TEST_CASE( triggering_an_expectation_with_failing_custom_constrain
//BOOST_FIXTURE_TEST_CASE( literal_zero_can_be_used_in_place_of_null_pointers_in_constraints, error_fixture )
//{
-// mock::function< void( int* ) > f;
-// f.expect().with( 0 );
-// f.reset();
-// CHECK_CALLS( 1 );
+// mock::function< void( int* ) > f;
+// f.expect().with( 0 );
+// f.reset();
+// CHECK_CALLS( 1 );
//}
// result handling
diff --git a/src/tests/turtle_test/integration_test.cpp b/src/tests/turtle_test/integration_test.cpp
index 366d8a8..6abd303 100644
--- a/src/tests/turtle_test/integration_test.cpp
+++ b/src/tests/turtle_test/integration_test.cpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2008
+// Copyright Mathieu Champlon 2008
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#include "mock_error.hpp"
#include
diff --git a/src/tests/turtle_test/invocation_test.cpp b/src/tests/turtle_test/invocation_test.cpp
index 826f456..d5bb15b 100644
--- a/src/tests/turtle_test/invocation_test.cpp
+++ b/src/tests/turtle_test/invocation_test.cpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2008
+// Copyright Mathieu Champlon 2008
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#include
#include
diff --git a/src/tests/turtle_test/is_functor_test.cpp b/src/tests/turtle_test/is_functor_test.cpp
index 793042f..2ab24f6 100644
--- a/src/tests/turtle_test/is_functor_test.cpp
+++ b/src/tests/turtle_test/is_functor_test.cpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2009
+// Copyright Mathieu Champlon 2009
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#include
#include
diff --git a/src/tests/turtle_test/log_test.cpp b/src/tests/turtle_test/log_test.cpp
index 416a816..c85af70 100644
--- a/src/tests/turtle_test/log_test.cpp
+++ b/src/tests/turtle_test/log_test.cpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2008
+// Copyright Mathieu Champlon 2008
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#include
#include
diff --git a/src/tests/turtle_test/max_args_test.cpp b/src/tests/turtle_test/max_args_test.cpp
index be01f68..d956bab 100644
--- a/src/tests/turtle_test/max_args_test.cpp
+++ b/src/tests/turtle_test/max_args_test.cpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2008
+// Copyright Mathieu Champlon 2008
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#include "mock_error.hpp"
#include
diff --git a/src/tests/turtle_test/mock_error.hpp b/src/tests/turtle_test/mock_error.hpp
index bcb752a..850587a 100644
--- a/src/tests/turtle_test/mock_error.hpp
+++ b/src/tests/turtle_test/mock_error.hpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2008
+// Copyright Mathieu Champlon 2008
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#ifndef MOCK_TEST_MOCK_ERROR_HPP_INCLUDED
#define MOCK_TEST_MOCK_ERROR_HPP_INCLUDED
diff --git a/src/tests/turtle_test/mock_test.cpp b/src/tests/turtle_test/mock_test.cpp
index 5859c4e..c828e42 100644
--- a/src/tests/turtle_test/mock_test.cpp
+++ b/src/tests/turtle_test/mock_test.cpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2009
+// Copyright Mathieu Champlon 2009
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#include
#include
diff --git a/src/tests/turtle_test/object_test.cpp b/src/tests/turtle_test/object_test.cpp
index a13bc17..03f3cdf 100644
--- a/src/tests/turtle_test/object_test.cpp
+++ b/src/tests/turtle_test/object_test.cpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2008
+// Copyright Mathieu Champlon 2008
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#include "mock_error.hpp"
#include
diff --git a/src/tests/turtle_test/sequence_test.cpp b/src/tests/turtle_test/sequence_test.cpp
index f75fe69..6b701e7 100644
--- a/src/tests/turtle_test/sequence_test.cpp
+++ b/src/tests/turtle_test/sequence_test.cpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2008
+// Copyright Mathieu Champlon 2008
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#include "mock_error.hpp"
#include
diff --git a/src/tests/turtle_test/type_name_test.cpp b/src/tests/turtle_test/type_name_test.cpp
index 2d9f8c0..172de9e 100644
--- a/src/tests/turtle_test/type_name_test.cpp
+++ b/src/tests/turtle_test/type_name_test.cpp
@@ -1,10 +1,11 @@
//
-// Copyright Mathieu Champlon 2008
+// Copyright Mathieu Champlon 2008
//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
//
+// See http://turtle.sf.net for documentation.
#include
#include