]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/test/include/boost/test/data/config.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / test / include / boost / test / data / config.hpp
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 common dataset macros
10 // ***************************************************************************
11
12 #ifndef BOOST_TEST_DATA_CONFIG_HPP_112611GER
13 #define BOOST_TEST_DATA_CONFIG_HPP_112611GER
14
15 // Boost.Test
16 #include <boost/test/detail/config.hpp>
17 #include <boost/test/detail/throw_exception.hpp>
18
19 // STL
20 #include <stdexcept> // for std::logic_error
21
22 // availability on features: preprocessed by doxygen
23
24 #if defined(BOOST_NO_CXX11_HDR_RANDOM) || defined(BOOST_TEST_DOXYGEN_DOC__)
25 //! Defined when the random dataset feature is not available
26 #define BOOST_TEST_NO_RANDOM_DATASET_AVAILABLE
27
28 #endif
29
30 #if defined(BOOST_NO_CXX11_HDR_TUPLE) || defined(BOOST_TEST_DOXYGEN_DOC__)
31
32 //! Defined when grid composition of datasets is not available
33 #define BOOST_TEST_NO_GRID_COMPOSITION_AVAILABLE
34
35 //! Defined when zip composition of datasets is not available
36 #define BOOST_TEST_NO_ZIP_COMPOSITION_AVAILABLE
37
38 #endif
39
40 //____________________________________________________________________________//
41
42 #define BOOST_TEST_DS_ERROR( msg ) BOOST_TEST_I_THROW( std::logic_error( msg ) )
43 #define BOOST_TEST_DS_ASSERT( cond, msg ) BOOST_TEST_I_ASSRT( cond, std::logic_error( msg ) )
44
45 #endif // BOOST_TEST_DATA_CONFIG_HPP_112611GER