Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
exception_safety.hpp File Reference
#include <boost/test/detail/config.hpp>
#include <boost/test/utils/callback.hpp>
#include <boost/test/utils/basic_cstring/basic_cstring.hpp>
#include <memory>
#include <boost/test/detail/suppress_warnings.hpp>
#include <boost/test/interaction_based.hpp>
#include <boost/test/detail/enable_warnings.hpp>
Include dependency graph for exception_safety.hpp:

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::itest
 

Macros

#define BOOST_TEST_EXCEPTION_SAFETY(test_name)
 

Functions

void BOOST_TEST_DECL boost::itest::exception_safety (unit_test::callback0<> const &F, unit_test::const_string test_name="")
 
void * operator new (std::size_t s) throw (std::bad_alloc)
 
void * operator new (std::size_t s, std::nothrow_t const &) throw ()
 
void * operator new[] (std::size_t s) throw (std::bad_alloc)
 
void * operator new[] (std::size_t s, std::nothrow_t const &) throw ()
 
void operator delete (void *p) throw ()
 
void operator delete (void *p, std::nothrow_t const &) throw ()
 
void operator delete[] (void *p) throw ()
 
void operator delete[] (void *p, std::nothrow_t const &) throw ()
 

Macro Definition Documentation

#define BOOST_TEST_EXCEPTION_SAFETY (   test_name)
Value:
struct test_name : public BOOST_AUTO_TEST_CASE_FIXTURE \
{ void test_method(); }; \
\
static void BOOST_AUTO_TC_INVOKER( test_name )() \
{ \
test_name t; \
boost::bind( &test_name::test_method, t ), \
BOOST_STRINGIZE(test_name) ); \
} \
\
struct BOOST_AUTO_TC_UNIQUE_ID( test_name ) {}; \
&BOOST_AUTO_TC_INVOKER( test_name ), #test_name ), \
boost::unit_test::ut_detail::auto_tc_exp_fail< \
BOOST_AUTO_TC_UNIQUE_ID( test_name )>::instance()->value() ); \
\
void test_name::test_method() \
void
Definition: is_convertible.hpp:460
ut_detail::param_test_case_generator< ParamType, ParamIter > make_test_case(callback1< ParamType > const &test_func, const_string tc_name, ParamIter par_begin, ParamIter par_end)
Definition: parameterized_test.hpp:129
void BOOST_TEST_DECL exception_safety(unit_test::callback0<> const &F, unit_test::const_string test_name="")
#define BOOST_AUTO_TC_INVOKER(test_name)
Definition: unit_test_suite.hpp:210
in t
Definition: flyweight.hpp:430
_bi::bind_t< R, F, _bi::list0 > bind(F f)
Definition: bind.hpp:1298
Definition: unit_test_suite.hpp:195
#define BOOST_AUTO_TC_UNIQUE_ID(test_name)
Definition: unit_test_suite.hpp:211
#define BOOST_STRINGIZE(X)
Definition: suffix.hpp:533
#define BOOST_AUTO_TU_REGISTRAR(test_name)
Definition: unit_test_suite.hpp:208

Function Documentation

void operator delete ( void *  p)
throw (
)
inline
void operator delete ( void *  p,
std::nothrow_t const &   
)
throw (
)
inline
void operator delete[] ( void *  p)
throw (
)
inline
void operator delete[] ( void *  p,
std::nothrow_t const &   
)
throw (
)
inline
void* operator new ( std::size_t  s)
throw (std::bad_alloc
)
inline
void* operator new ( std::size_t  s,
std::nothrow_t const &   
)
throw (
)
inline
void* operator new[] ( std::size_t  s)
throw (std::bad_alloc
)
inline
void* operator new[] ( std::size_t  s,
std::nothrow_t const &   
)
throw (
)
inline