Added include to config.hpp everywhere to prevent configuration variable mismatch

git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@624 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2013-04-14 07:04:12 +00:00
parent c553877466
commit 92842e9087
27 changed files with 28 additions and 1 deletions

View file

@ -9,8 +9,9 @@
#ifndef MOCK_CONSTRAINT_HPP_INCLUDED #ifndef MOCK_CONSTRAINT_HPP_INCLUDED
#define MOCK_CONSTRAINT_HPP_INCLUDED #define MOCK_CONSTRAINT_HPP_INCLUDED
#include <boost/preprocessor/stringize.hpp> #include "config.hpp"
#include "log.hpp" #include "log.hpp"
#include <boost/preprocessor/stringize.hpp>
namespace mock namespace mock
{ {

View file

@ -9,6 +9,7 @@
#ifndef MOCK_CONSTRAINTS_HPP_INCLUDED #ifndef MOCK_CONSTRAINTS_HPP_INCLUDED
#define MOCK_CONSTRAINTS_HPP_INCLUDED #define MOCK_CONSTRAINTS_HPP_INCLUDED
#include "config.hpp"
#include "constraint.hpp" #include "constraint.hpp"
#include <boost/ref.hpp> #include <boost/ref.hpp>
#include <boost/utility/enable_if.hpp> #include <boost/utility/enable_if.hpp>

View file

@ -9,6 +9,7 @@
#ifndef MOCK_ACTION_HPP_INCLUDED #ifndef MOCK_ACTION_HPP_INCLUDED
#define MOCK_ACTION_HPP_INCLUDED #define MOCK_ACTION_HPP_INCLUDED
#include "../config.hpp"
#include "lambda.hpp" #include "lambda.hpp"
#include <boost/type_traits/remove_reference.hpp> #include <boost/type_traits/remove_reference.hpp>
#include <boost/type_traits/remove_const.hpp> #include <boost/type_traits/remove_const.hpp>

View file

@ -9,6 +9,7 @@
#ifndef MOCK_CHILD_HPP_INCLUDED #ifndef MOCK_CHILD_HPP_INCLUDED
#define MOCK_CHILD_HPP_INCLUDED #define MOCK_CHILD_HPP_INCLUDED
#include "../config.hpp"
#include "type_name.hpp" #include "type_name.hpp"
#include "parent.hpp" #include "parent.hpp"
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> #include <boost/test/utils/basic_cstring/basic_cstring.hpp>

View file

@ -9,6 +9,7 @@
#ifndef MOCK_CONTEXT_HPP_INCLUDED #ifndef MOCK_CONTEXT_HPP_INCLUDED
#define MOCK_CONTEXT_HPP_INCLUDED #define MOCK_CONTEXT_HPP_INCLUDED
#include "../config.hpp"
#include "type_name.hpp" #include "type_name.hpp"
#include <boost/noncopyable.hpp> #include <boost/noncopyable.hpp>
#include <boost/optional.hpp> #include <boost/optional.hpp>

View file

@ -9,6 +9,7 @@
#ifndef MOCK_EXPECTATION_BASE_HPP_INCLUDED #ifndef MOCK_EXPECTATION_BASE_HPP_INCLUDED
#define MOCK_EXPECTATION_BASE_HPP_INCLUDED #define MOCK_EXPECTATION_BASE_HPP_INCLUDED
#include "../config.hpp"
#include "invocation.hpp" #include "invocation.hpp"
#include "../sequence.hpp" #include "../sequence.hpp"
#include <boost/shared_ptr.hpp> #include <boost/shared_ptr.hpp>

View file

@ -9,6 +9,7 @@
#ifndef MOCK_FORMATTER_HPP_INCLUDED #ifndef MOCK_FORMATTER_HPP_INCLUDED
#define MOCK_FORMATTER_HPP_INCLUDED #define MOCK_FORMATTER_HPP_INCLUDED
#include "../config.hpp"
#include "../stream.hpp" #include "../stream.hpp"
#include <boost/utility/addressof.hpp> #include <boost/utility/addressof.hpp>

View file

@ -9,6 +9,7 @@
#ifndef MOCK_FUNCTOR_HPP_INCLUDED #ifndef MOCK_FUNCTOR_HPP_INCLUDED
#define MOCK_FUNCTOR_HPP_INCLUDED #define MOCK_FUNCTOR_HPP_INCLUDED
#include "../config.hpp"
#include "function.hpp" #include "function.hpp"
namespace mock namespace mock

View file

@ -9,6 +9,7 @@
#ifndef MOCK_GROUP_HPP_INCLUDED #ifndef MOCK_GROUP_HPP_INCLUDED
#define MOCK_GROUP_HPP_INCLUDED #define MOCK_GROUP_HPP_INCLUDED
#include "../config.hpp"
#include "verifiable.hpp" #include "verifiable.hpp"
#include <functional> #include <functional>
#include <algorithm> #include <algorithm>

View file

@ -9,6 +9,7 @@
#ifndef MOCK_INVOCATION_HPP_INCLUDED #ifndef MOCK_INVOCATION_HPP_INCLUDED
#define MOCK_INVOCATION_HPP_INCLUDED #define MOCK_INVOCATION_HPP_INCLUDED
#include "../config.hpp"
#include <boost/noncopyable.hpp> #include <boost/noncopyable.hpp>
#include <stdexcept> #include <stdexcept>
#include <ostream> #include <ostream>

View file

@ -9,6 +9,7 @@
#ifndef MOCK_MATCHER_BASE_HPP_INCLUDED #ifndef MOCK_MATCHER_BASE_HPP_INCLUDED
#define MOCK_MATCHER_BASE_HPP_INCLUDED #define MOCK_MATCHER_BASE_HPP_INCLUDED
#include "../config.hpp"
#include <boost/noncopyable.hpp> #include <boost/noncopyable.hpp>
#include <iosfwd> #include <iosfwd>

View file

@ -9,6 +9,7 @@
#ifndef MOCK_OBJECT_IMPL_HPP_INCLUDED #ifndef MOCK_OBJECT_IMPL_HPP_INCLUDED
#define MOCK_OBJECT_IMPL_HPP_INCLUDED #define MOCK_OBJECT_IMPL_HPP_INCLUDED
#include "../config.hpp"
#include "root.hpp" #include "root.hpp"
#include "parent.hpp" #include "parent.hpp"
#include "type_name.hpp" #include "type_name.hpp"

View file

@ -9,6 +9,7 @@
#ifndef MOCK_PARAMETER_HPP_INCLUDED #ifndef MOCK_PARAMETER_HPP_INCLUDED
#define MOCK_PARAMETER_HPP_INCLUDED #define MOCK_PARAMETER_HPP_INCLUDED
#include "../config.hpp"
#include <boost/function_types/parameter_types.hpp> #include <boost/function_types/parameter_types.hpp>
#include <boost/function_types/function_arity.hpp> #include <boost/function_types/function_arity.hpp>
#include <boost/mpl/at.hpp> #include <boost/mpl/at.hpp>

View file

@ -9,6 +9,7 @@
#ifndef MOCK_PARENT_HPP_INCLUDED #ifndef MOCK_PARENT_HPP_INCLUDED
#define MOCK_PARENT_HPP_INCLUDED #define MOCK_PARENT_HPP_INCLUDED
#include "../config.hpp"
#include "type_name.hpp" #include "type_name.hpp"
#include <boost/test/utils/basic_cstring/io.hpp> #include <boost/test/utils/basic_cstring/io.hpp>
#include <boost/optional.hpp> #include <boost/optional.hpp>

View file

@ -9,6 +9,7 @@
#ifndef MOCK_ROOT_HPP_INCLUDED #ifndef MOCK_ROOT_HPP_INCLUDED
#define MOCK_ROOT_HPP_INCLUDED #define MOCK_ROOT_HPP_INCLUDED
#include "../config.hpp"
#include "parent.hpp" #include "parent.hpp"
#include "group.hpp" #include "group.hpp"
#include "context.hpp" #include "context.hpp"

View file

@ -9,6 +9,7 @@
#ifndef MOCK_SEQUENCE_IMPL_HPP_INCLUDED #ifndef MOCK_SEQUENCE_IMPL_HPP_INCLUDED
#define MOCK_SEQUENCE_IMPL_HPP_INCLUDED #define MOCK_SEQUENCE_IMPL_HPP_INCLUDED
#include "../config.hpp"
#include <boost/noncopyable.hpp> #include <boost/noncopyable.hpp>
#include <boost/shared_ptr.hpp> #include <boost/shared_ptr.hpp>
#include <algorithm> #include <algorithm>

View file

@ -9,6 +9,7 @@
#ifndef MOCK_SIGNATURE_HPP_INCLUDED #ifndef MOCK_SIGNATURE_HPP_INCLUDED
#define MOCK_SIGNATURE_HPP_INCLUDED #define MOCK_SIGNATURE_HPP_INCLUDED
#include "../config.hpp"
#include <boost/function_types/parameter_types.hpp> #include <boost/function_types/parameter_types.hpp>
#include <boost/function_types/function_type.hpp> #include <boost/function_types/function_type.hpp>
#include <boost/function_types/result_type.hpp> #include <boost/function_types/result_type.hpp>

View file

@ -9,6 +9,7 @@
#ifndef MOCK_TYPE_NAME_HPP_INCLUDED #ifndef MOCK_TYPE_NAME_HPP_INCLUDED
#define MOCK_TYPE_NAME_HPP_INCLUDED #define MOCK_TYPE_NAME_HPP_INCLUDED
#include "../config.hpp"
#include <boost/test/utils/basic_cstring/io.hpp> #include <boost/test/utils/basic_cstring/io.hpp>
#include <boost/algorithm/string/replace.hpp> #include <boost/algorithm/string/replace.hpp>
#include <boost/algorithm/string/erase.hpp> #include <boost/algorithm/string/erase.hpp>

View file

@ -9,6 +9,7 @@
#ifndef MOCK_VERIFIABLE_HPP_INCLUDED #ifndef MOCK_VERIFIABLE_HPP_INCLUDED
#define MOCK_VERIFIABLE_HPP_INCLUDED #define MOCK_VERIFIABLE_HPP_INCLUDED
#include "../config.hpp"
#include <boost/noncopyable.hpp> #include <boost/noncopyable.hpp>
namespace mock namespace mock

View file

@ -9,6 +9,7 @@
#ifndef MOCK_FORMAT_HPP_INCLUDED #ifndef MOCK_FORMAT_HPP_INCLUDED
#define MOCK_FORMAT_HPP_INCLUDED #define MOCK_FORMAT_HPP_INCLUDED
#include "config.hpp"
#include "detail/formatter.hpp" #include "detail/formatter.hpp"
namespace mock namespace mock

View file

@ -9,6 +9,7 @@
#ifndef MOCK_LOG_HPP_INCLUDED #ifndef MOCK_LOG_HPP_INCLUDED
#define MOCK_LOG_HPP_INCLUDED #define MOCK_LOG_HPP_INCLUDED
#include "config.hpp"
#include "stream.hpp" #include "stream.hpp"
#include "format.hpp" #include "format.hpp"
#include <boost/utility/enable_if.hpp> #include <boost/utility/enable_if.hpp>

View file

@ -9,6 +9,7 @@
#ifndef MOCK_MATCHER_HPP_INCLUDED #ifndef MOCK_MATCHER_HPP_INCLUDED
#define MOCK_MATCHER_HPP_INCLUDED #define MOCK_MATCHER_HPP_INCLUDED
#include "config.hpp"
#include "log.hpp" #include "log.hpp"
#include "constraint.hpp" #include "constraint.hpp"
#include "detail/is_functor.hpp" #include "detail/is_functor.hpp"

View file

@ -9,6 +9,7 @@
#ifndef MOCK_OBJECT_HPP_INCLUDED #ifndef MOCK_OBJECT_HPP_INCLUDED
#define MOCK_OBJECT_HPP_INCLUDED #define MOCK_OBJECT_HPP_INCLUDED
#include "config.hpp"
#include "detail/root.hpp" #include "detail/root.hpp"
#include "detail/type_name.hpp" #include "detail/type_name.hpp"
#include "detail/object_impl.hpp" #include "detail/object_impl.hpp"

View file

@ -9,6 +9,7 @@
#ifndef MOCK_RESET_HPP_INCLUDED #ifndef MOCK_RESET_HPP_INCLUDED
#define MOCK_RESET_HPP_INCLUDED #define MOCK_RESET_HPP_INCLUDED
#include "config.hpp"
#include "object.hpp" #include "object.hpp"
#include "detail/root.hpp" #include "detail/root.hpp"
#include "detail/functor.hpp" #include "detail/functor.hpp"

View file

@ -9,6 +9,7 @@
#ifndef MOCK_SEQUENCE_HPP_INCLUDED #ifndef MOCK_SEQUENCE_HPP_INCLUDED
#define MOCK_SEQUENCE_HPP_INCLUDED #define MOCK_SEQUENCE_HPP_INCLUDED
#include "config.hpp"
#include "detail/sequence_impl.hpp" #include "detail/sequence_impl.hpp"
#include <boost/shared_ptr.hpp> #include <boost/shared_ptr.hpp>

View file

@ -9,6 +9,7 @@
#ifndef MOCK_STREAM_HPP_INCLUDED #ifndef MOCK_STREAM_HPP_INCLUDED
#define MOCK_STREAM_HPP_INCLUDED #define MOCK_STREAM_HPP_INCLUDED
#include "config.hpp"
#include <boost/utility/addressof.hpp> #include <boost/utility/addressof.hpp>
#include <ostream> #include <ostream>

View file

@ -9,6 +9,7 @@
#ifndef MOCK_VERIFY_HPP_INCLUDED #ifndef MOCK_VERIFY_HPP_INCLUDED
#define MOCK_VERIFY_HPP_INCLUDED #define MOCK_VERIFY_HPP_INCLUDED
#include "config.hpp"
#include "object.hpp" #include "object.hpp"
#include "detail/root.hpp" #include "detail/root.hpp"
#include "detail/functor.hpp" #include "detail/functor.hpp"