1// (C) Copyright Gennadiy Rozental 2001.
2// Distributed under the Boost Software License, Version 1.0.
3// (See accompanying file LICENSE_1_0.txt or copy at
4// http://www.boost.org/LICENSE_1_0.txt)
5
6// See http://www.boost.org/libs/test for the library home page.
7//
8/// @file
9/// @brief test tools compatibility header
10///
11/// This file is used to select the test tools implementation and includes all the necessary headers
12// ***************************************************************************
13
14#ifndef BOOST_TEST_TOOLS_HPP_111812GER
15#define BOOST_TEST_TOOLS_HPP_111812GER
16
17#include <boost/config.hpp>
18
19// brings some compiler configuration like BOOST_PP_VARIADICS
20#include <boost/test/detail/config.hpp>
21
22#include <boost/preprocessor/config/config.hpp>
23
24#if defined(BOOST_NO_CXX11_VARIADIC_MACROS) \
25 || defined(BOOST_NO_CXX11_AUTO_DECLARATIONS) \
26 || defined(BOOST_NO_CXX11_DECLTYPE)
27# define BOOST_TEST_MACRO_LIMITED_SUPPORT
28#endif
29
30// Boost.Test
31// #define BOOST_TEST_NO_OLD_TOOLS
32
33#if defined(BOOST_TEST_MACRO_LIMITED_SUPPORT) \
34 && ( !BOOST_PP_VARIADICS \
35 || !(__cplusplus >= 201103L) && defined(BOOST_NO_CXX11_VARIADIC_MACROS))
36# define BOOST_TEST_NO_NEW_TOOLS
37#endif
38
39// #define BOOST_TEST_TOOLS_UNDER_DEBUGGER
40// #define BOOST_TEST_TOOLS_DEBUGGABLE
41
42#include <boost/test/tools/context.hpp>
43
44#ifndef BOOST_TEST_NO_OLD_TOOLS
45# include <boost/test/tools/old/interface.hpp>
46# include <boost/test/tools/old/impl.hpp>
47
48# include <boost/test/tools/detail/print_helper.hpp>
49#endif
50
51#ifndef BOOST_TEST_NO_NEW_TOOLS
52# include <boost/test/tools/interface.hpp>
53# include <boost/test/tools/assertion.hpp>
54# include <boost/test/tools/fpc_op.hpp>
55# include <boost/test/tools/collection_comparison_op.hpp>
56# include <boost/test/tools/cstring_comparison_op.hpp>
57
58# include <boost/test/tools/detail/fwd.hpp>
59# include <boost/test/tools/detail/print_helper.hpp>
60# include <boost/test/tools/detail/it_pair.hpp>
61
62# include <boost/test/tools/detail/bitwise_manip.hpp>
63# include <boost/test/tools/detail/tolerance_manip.hpp>
64# include <boost/test/tools/detail/per_element_manip.hpp>
65# include <boost/test/tools/detail/lexicographic_manip.hpp>
66#endif
67
68#endif // BOOST_TEST_TOOLS_HPP_111812GER
69