test_tools.hpp 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. // See http://www.boost.org/libs/test for the library home page.
  6. //
  7. /// @file
  8. /// @brief test tools compatibility header
  9. ///
  10. /// This file is used to select the test tools implementation and includes all the necessary headers
  11. // ***************************************************************************
  12. #ifndef BOOST_TEST_TOOLS_HPP_111812GER
  13. #define BOOST_TEST_TOOLS_HPP_111812GER
  14. #include <boost/config.hpp>
  15. // brings some compiler configuration like BOOST_PP_VARIADICS
  16. #include <boost/test/detail/config.hpp>
  17. #include <boost/preprocessor/config/config.hpp>
  18. #if defined(BOOST_NO_CXX11_VARIADIC_MACROS) \
  19. || defined(BOOST_NO_CXX11_AUTO_DECLARATIONS) \
  20. || defined(BOOST_NO_CXX11_DECLTYPE)
  21. # define BOOST_TEST_MACRO_LIMITED_SUPPORT
  22. #endif
  23. // Boost.Test
  24. // #define BOOST_TEST_NO_OLD_TOOLS
  25. #if defined(BOOST_TEST_MACRO_LIMITED_SUPPORT) \
  26. && ( !BOOST_PP_VARIADICS \
  27. || !(__cplusplus >= 201103L) && defined(BOOST_NO_CXX11_VARIADIC_MACROS))
  28. # define BOOST_TEST_NO_NEW_TOOLS
  29. #endif
  30. // #define BOOST_TEST_TOOLS_UNDER_DEBUGGER
  31. // #define BOOST_TEST_TOOLS_DEBUGGABLE
  32. #include <boost/test/tools/context.hpp>
  33. #ifndef BOOST_TEST_NO_OLD_TOOLS
  34. # include <boost/test/tools/old/interface.hpp>
  35. # include <boost/test/tools/old/impl.hpp>
  36. # include <boost/test/tools/detail/print_helper.hpp>
  37. #endif
  38. #ifndef BOOST_TEST_NO_NEW_TOOLS
  39. # include <boost/test/tools/interface.hpp>
  40. # include <boost/test/tools/assertion.hpp>
  41. # include <boost/test/tools/fpc_op.hpp>
  42. # include <boost/test/tools/collection_comparison_op.hpp>
  43. # include <boost/test/tools/cstring_comparison_op.hpp>
  44. # include <boost/test/tools/detail/fwd.hpp>
  45. # include <boost/test/tools/detail/print_helper.hpp>
  46. # include <boost/test/tools/detail/it_pair.hpp>
  47. # include <boost/test/tools/detail/bitwise_manip.hpp>
  48. # include <boost/test/tools/detail/tolerance_manip.hpp>
  49. # include <boost/test/tools/detail/per_element_manip.hpp>
  50. # include <boost/test/tools/detail/lexicographic_manip.hpp>
  51. #endif
  52. #endif // BOOST_TEST_TOOLS_HPP_111812GER